diff options
author | Volpeon <git@volpeon.ink> | 2020-12-29 21:05:58 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-29 21:05:58 +0100 |
commit | a4f369431044ede4c9064d4743cafae7c547c4a3 (patch) | |
tree | 27c68e17204f57b0179f6af9fe174fd0478376b4 /assets/css | |
parent | Improved metadata generation, added ATOM feeds (diff) | |
download | volpeon.ink-a4f369431044ede4c9064d4743cafae7c547c4a3.tar.gz volpeon.ink-a4f369431044ede4c9064d4743cafae7c547c4a3.tar.bz2 volpeon.ink-a4f369431044ede4c9064d4743cafae7c547c4a3.zip |
Added definition list styling
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_basics.scss | 25 | ||||
-rw-r--r-- | assets/css/_vars.scss | 1 |
2 files changed, 25 insertions, 1 deletions
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 2b0d0a6..fc681d3 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
@@ -95,6 +95,31 @@ ol { | |||
95 | } | 95 | } |
96 | } | 96 | } |
97 | 97 | ||
98 | dl { | ||
99 | margin: ($line-height * 1em) 0 0; | ||
100 | padding: 0; | ||
101 | } | ||
102 | |||
103 | dt, | ||
104 | dd { | ||
105 | display: inline-block; | ||
106 | } | ||
107 | |||
108 | dt { | ||
109 | color: var(--fg-lo); | ||
110 | font-weight: bold; | ||
111 | |||
112 | &::after { | ||
113 | content: ':'; | ||
114 | color: var(--fg); | ||
115 | font-weight: normal; | ||
116 | } | ||
117 | } | ||
118 | |||
119 | dd { | ||
120 | margin: 0 3ch 0 0; | ||
121 | } | ||
122 | |||
98 | h1, | 123 | h1, |
99 | h2, | 124 | h2, |
100 | h3 { | 125 | h3 { |
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index 2242f09..24a94fa 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
@@ -34,7 +34,6 @@ $breakpoints: ( | |||
34 | --gray2: hsl(270, 1%, 29%); | 34 | --gray2: hsl(270, 1%, 29%); |
35 | --gray3: hsl(270, 2%, 54%); | 35 | --gray3: hsl(270, 2%, 54%); |
36 | --gray4: hsl(270, 2%, 73%); | 36 | --gray4: hsl(270, 2%, 73%); |
37 | --gray5: hsl(270, 2%, 86%); | ||
38 | --gray5: hsl(270, 2%, 100%); | 37 | --gray5: hsl(270, 2%, 100%); |
39 | 38 | ||
40 | // | 39 | // |