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.sass22
1 files changed, 18 insertions, 4 deletions
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass
index 7be280a..1ee2bff 100644
--- a/assets/sass/_base.sass
+++ b/assets/sass/_base.sass
@@ -34,7 +34,7 @@ a
color: $primary
h1, h2, .title, .subtitle
- color: $h-color
+ color: $h-color
.title
font-weight: $title-weight
@@ -51,6 +51,20 @@ hr
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
@@ -78,9 +92,9 @@ pre
border: none
.card-thumbnail
- width: 100%
- height: 100%
- object-fit: cover
+ width: 100%
+ height: 100%
+ object-fit: cover
.bold-title
font-size: 6rem