tupgraded CSS code definition to highligh it - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit d5d9e16dec289c57b8e7b615e625bb2addcbcc56
(DIR) parent 4e05b184b3c357b2eec0c9b589a0ee06a69b0fd0
(HTM) Author: z3bra <willy@mailoo.org>
Date: Tue, 31 Mar 2015 23:22:34 +0200
upgraded CSS code definition to highligh it
Diffstat:
M css/monochrome.css | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
---
(DIR) diff --git a/css/monochrome.css b/css/monochrome.css
t@@ -17,7 +17,7 @@ body {
}
#wrapper {
- width:70%;
+ width:90%;
max-width:720px;
margin:auto;
}
t@@ -85,21 +85,34 @@ header h1 a:hover {
/* }}} */
/* Coding style (<code>) {{{ */
-code {
+code, pre {
color: inherit;
- padding: 2px;
+ font-size: 90%;
+ padding: 4px;
+ background-color: #eee;
+ border: 1px solid #bbb;
+ border-radius: 4px;
}
-code:before, code:after {
- content: "`";
-}
+/*
+ * code:before, code:after {
+ * content: "`";
+ * }
+ */
pre code:before, pre code:after {
content: none;
}
pre {
- padding-left: 20px;
+ padding: 10px;
+ overflow-x: auto;
+ overflow-y: hidden;
+}
+
+pre code {
+ padding: 0;
+ border: none;
}
/* }}} */