From fdaa044314d6bd05ac3ff3a6cdad88c852702b2e Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 20 Nov 2016 20:40:35 +0100 Subject: Material: update style of pre in article Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/main.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app') diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index b4d2765c..ff3a9891 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -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; -- cgit v1.2.3