summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-29 21:05:58 +0100
committerVolpeon <git@volpeon.ink>2020-12-29 21:05:58 +0100
commita4f369431044ede4c9064d4743cafae7c547c4a3 (patch)
tree27c68e17204f57b0179f6af9fe174fd0478376b4 /assets/css
parentImproved metadata generation, added ATOM feeds (diff)
downloadvolpeon.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.scss25
-rw-r--r--assets/css/_vars.scss1
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
98dl {
99 margin: ($line-height * 1em) 0 0;
100 padding: 0;
101}
102
103dt,
104dd {
105 display: inline-block;
106}
107
108dt {
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
119dd {
120 margin: 0 3ch 0 0;
121}
122
98h1, 123h1,
99h2, 124h2,
100h3 { 125h3 {
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 //