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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2021-04-17 21:50:54 +0300
committerVictoria Drake <hello@victoria.dev>2021-04-17 21:51:19 +0300
commita0949e40c49600d4dd8293058465ce817db43d24 (patch)
treed554f5c75799ef1453535dae93e3cac9e7b6e721 /assets
parent73ce55996ec4a9a65fc1ea9f6d3b491b9d5575a6 (diff)
Fix code backgrounds
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_base.sass7
-rw-r--r--assets/sass/_light-variables.sass1
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass
index 575cce1..c6c2e94 100644
--- a/assets/sass/_base.sass
+++ b/assets/sass/_base.sass
@@ -77,7 +77,7 @@ details[open] summary
display: none
pre
- background-color: #eee
+ background-color: $code-background !important
.img-responsive
border-radius: 5px
@@ -143,6 +143,9 @@ pre
vertical-align: baseline
margin: 0 5px
+.navbar
+ background-color: $navbar-background-color
+
.navbar-burger
margin-right: auto
color: $primary
@@ -269,6 +272,8 @@ pre
border-left: .25rem solid #e5e5e5
blockquote p:last-child
margin-bottom: 0
+ code
+ background-color: $code-background
table
margin: 2em 0 2em 0
width: 100%
diff --git a/assets/sass/_light-variables.sass b/assets/sass/_light-variables.sass
index c95f278..a67bab1 100644
--- a/assets/sass/_light-variables.sass
+++ b/assets/sass/_light-variables.sass
@@ -4,3 +4,4 @@ $primary: #00b8d4
$secondary: #dbdbdb
$h-color: #222222
$link-hover: #000000
+$code-background: $secondary \ No newline at end of file