]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Material: update style of pre in article
authorKevin Decherf <kevin@kdecherf.com>
Sun, 20 Nov 2016 19:40:35 +0000 (20:40 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Fri, 25 Nov 2016 12:39:53 +0000 (13:39 +0100)
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
app/Resources/static/themes/material/css/main.css

index b4d2765c036cd275d227b1d6be8fb2c68165ea4f..ff3a9891ff301237cf613b0303d2f178da2341b8 100755 (executable)
@@ -673,6 +673,20 @@ a.original {
   list-style-type: disc;
 }
 
+#article article pre {
+  box-sizing: border-box;
+  margin: 0 0 1.75em;
+  border: #e3f2fd 1px solid;
+  width: 100%;
+  padding: 10px;
+  font-family: monospace;
+  font-size: 0.8em;
+  white-space: pre;
+  overflow: auto;
+  background: #f5f5f5;
+  border-radius: 3px;
+}
+
 #article > header > h1 {
   font-size: 2em;
   margin: 2.1rem 0 0.68rem;