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

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2018-12-28 08:25:31 +0300
committerZachary Betz <zwbetz@gmail.com>2018-12-28 08:25:31 +0300
commit8645afaa915a4737822b41853a5e2aa277f89ca3 (patch)
tree797297b4d0c5b4709308747d37f92f2f1f157a2c /layouts
parentd67bd5b58810530b21d2f5f67f47251ab47732b7 (diff)
Update pre and code styles
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/style.html17
1 files changed, 12 insertions, 5 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index 1ad7808..2762c15 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -1,7 +1,4 @@
<style>
-body {
- background-color: #fcfcfc;
-}
.container {
max-width: {{ .Site.Params.containerMaxWidth | default "700px" | safeCSS }};
}
@@ -30,11 +27,21 @@ body {
margin-bottom: 0.3em;
}
pre {
- background-color: #e6ebf1;
- border: 1px solid #212529;
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
border-radius: 4px;
padding: 16px;
}
+pre code {
+ background-color: inherit;
+}
+code {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #c7254e;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
img {
max-width: 100%;
}