Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2017-06-26 23:50:00 +0300
committerOlivier DOSSMANN <git@dossmann.net>2017-06-26 23:50:00 +0300
commit135befd065e6feb17bee14508cf712ba304c8703 (patch)
tree529b04a89810ed3e65abd507da59d266b5df24cd
parent39647662b85ea944dc6f4f7bc161c1f91c26eb0b (diff)
CSS: Code and bloquote tags improved
-rw-r--r--static/css/main.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 7ad79f5..4f68d8f 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -11,6 +11,21 @@ main a:active, main a:link, main a:visited, main a:hover {
blockquote {
padding: 0.5rem 1rem;
border-left: 0.3rem solid #e5e5e5;
+ background-color: #f9f9f9;
+}
+
+pre {
+ display: block;
+ margin-top: 0;
+ margin-bottom: 1rem;
+ padding: 1rem;
+ line-height: 1.4;
+ white-space: pre;
+ white-space: pre-wrap;
+ word-break: break-all;
+ word-wrap: break-word;
+ background-color: #f9f9f9;
+ border: thin solid #ccc;
}