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
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/_base.sass')
-rw-r--r--assets/sass/_base.sass54
1 files changed, 44 insertions, 10 deletions
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass
index 4b555f9..8cdcf9b 100644
--- a/assets/sass/_base.sass
+++ b/assets/sass/_base.sass
@@ -1,6 +1,9 @@
html, body
background-color: $background
+html
+ scroll-behavior: smooth
+
html.modal-open
overflow: hidden
@@ -34,7 +37,7 @@ h1, h2, .title, .subtitle
color: $h-color
.title
- font-weight: 400
+ font-weight: $title-weight
ul
padding: 0
@@ -45,9 +48,23 @@ img
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4)
hr
- background-color: #dbdbdb
+ background-color: $secondary
height: 1px
+details
+ padding: .5em .5em 0
+
+summary
+ margin: -.5em -.5em 0
+ padding: .5em
+ cursor: pointer
+
+details[open]
+ padding: .5em
+
+details[open] summary
+ margin-bottom: .5em
+
.container
max-width: 1000px
@@ -59,9 +76,6 @@ hr
.hidden
display: none
-pre
- background-color: #eee
-
.img-responsive
border-radius: 5px
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4)
@@ -74,6 +88,11 @@ pre
.thumbnail
border: none
+.card-thumbnail
+ width: 100%
+ height: 100%
+ object-fit: cover
+
.bold-title
font-size: 6rem
line-height: 1.2
@@ -112,7 +131,7 @@ pre
margin: 0 10px
.fab
- font-size: 21px
+ font-size: 1.3rem
.blog-share
.icon
@@ -121,15 +140,21 @@ pre
vertical-align: baseline
margin: 0 5px
+.navbar
+ background-color: $navbar-background-color
+
.navbar-burger
margin-right: auto
+ color: $primary
.navbar-burger:hover
background-color: $navbar-background-color
.navbar-item
text-transform: uppercase
- font-size: 14px
+ font-size: 0.875rem
+ &:hover
+ background-color: $navbar-background-color !important
.owl-nav
height: 50px
@@ -205,12 +230,21 @@ pre
ul
margin-bottom: 1.25rem
margin-left: 1.5em
- list-style: none
+ list-style: disc
+ ul ul
+ margin-bottom: 0
li
- list-style-type: disc
margin-left: 1.5em
list-style-position: outside
padding-left: 1em
+ ol
+ margin-bottom: 1.25rem
+ margin-left: 1.5em
+ ol ol
+ list-style-type: lower-alpha
+ margin-bottom: 0
+ ol ol ol
+ list-style-type: lower-roman
em
font-style: italic
strong
@@ -251,7 +285,7 @@ pre
tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th
background-color: #f7f7f7
- pre
+ code, pre
border-radius: 3px
img
display: block