From 3faab92f3e509258b61c1ac36dead8b2116b3784 Mon Sep 17 00:00:00 2001 From: clsr Date: Mon, 4 Sep 2017 10:26:50 +0200 Subject: Update to CNM 0.4 (CNMfmt semantic formatting) --- static/style.css | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 62c4f30..08d6f63 100644 --- a/static/style.css +++ b/static/style.css @@ -28,6 +28,7 @@ section h4, section h5, section h6 { :hover>*>.sec-link { display: inline; + text-decoration: none; } a.cnp-external { @@ -58,7 +59,11 @@ a.cnp-external:hover:after { bottom: 0; } -a.cnp-external-http:hover:after { +a.cnp-external:hover:after { + content: attr(data-scheme); +} + +/*a.cnp-external-http:hover:after { content: 'http'; } @@ -68,7 +73,7 @@ a.cnp-external-https:hover:after { a.cnp-external-cnp:hover:after { content: 'cnp'; -} +}*/ main { border: 1px dashed #aaa; @@ -101,6 +106,7 @@ code { pre.cnm-raw { display: block; + white-space: pre; } pre>code { @@ -111,6 +117,7 @@ pre>code { padding: 0.5em; margin-top: 0.5em; margin-bottom: 0.5em; + overflow-x: auto; } pre>code:hover { @@ -172,6 +179,18 @@ img { max-width: 100%; } +em { + font-style: normal; + font-weight: bold; +} + +i { + font-style: italic; +} + +q { +} + #browser { width: 100%; border: 1px solid black; -- cgit