summaryrefslogtreecommitdiff
path: root/docs/docs.css
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2017-04-17 19:09:20 -0400
committerJordan Wiens <jordan@psifertex.com>2017-04-17 19:09:20 -0400
commit303a1501096ef09cace965f7bf7a95f8e32454cc (patch)
treeb632bc56a3dc52c1fde2b751bc64d299ace9162e /docs/docs.css
parent10ac7c6fc5963dddda9b463a53f2757f1a3f9b18 (diff)
update css to support different image alignment
Diffstat (limited to 'docs/docs.css')
-rw-r--r--docs/docs.css25
1 files changed, 20 insertions, 5 deletions
diff --git a/docs/docs.css b/docs/docs.css
index 95a04efe..5006119f 100644
--- a/docs/docs.css
+++ b/docs/docs.css
@@ -2,12 +2,27 @@ code {
color: #000;
}
-img {
- display: inline-block;
- float: right;
-}
-
.admonition {
background: rgb(128, 198, 223);
color: #333;
}
+
+img[alt$=">"] {
+ float:right;
+ display: inline-block;
+ padding-left: 10px;
+}
+
+img[alt$="<"] {
+ float:left;
+ display: inline-block;
+ padding-right: 10px;
+}
+
+img[alt$="><"] {
+ display: block;
+ max-width: 100%;
+ height: auto;
+ margin: auto;
+ float: none!important;
+}