]> oss.titaniummirror.com Git - oss-web.git/blobdiff - in/style/default.css
Change background for code blocks
[oss-web.git] / in / style / default.css
index 204210ad1cce1c73e82f569da19832cc4e983895..109cb40614467324045237f298534171eeee21a7 100644 (file)
@@ -355,7 +355,7 @@ h4 {
 }\r
 \r
 #content .articleBody code {\r
-       background-color: #FFF2C0;\r
+       background-color: #EEEEEE;\r
        font-family: monospace;\r
        font-size: 12px;\r
        font-style: normal;\r
@@ -364,7 +364,7 @@ h4 {
 }\r
 \r
 #content .articleBody pre {\r
-       background-color: #FFF2C0;\r
+       background-color: #EEEEEE;\r
        padding: 3px 0 3px 3px;\r
        border: 1px solid #d4d4d4;\r
        margin-bottom: 16px;\r
@@ -691,3 +691,22 @@ hr {
        font-size: 1.5em;\r
        font-weight: bold;\r
 }\r
+\r
+/* =============================================\r
+  Floating right image with caption\r
+================================================ */\r
+\r
+div.rightimg {\r
+  float: right;\r
+  display: table;\r
+  margin: 0 0 0.5em 0.5em;\r
+  padding: 0.5em;\r
+}\r
+div.rightimg p {\r
+  display: table-caption;\r
+  caption-side: bottom;\r
+  text-align: center;\r
+  font-style: italic;\r
+  font-size: smaller;\r
+  text-indent: 0;\r
+}\r