summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-16 15:22:28 +0100
committerVolpeon <git@volpeon.ink>2021-11-16 15:22:28 +0100
commit0f3ffbbb82def6487959ee8c07a06d3281a9cf3f (patch)
tree2f4d66ff39e4da7638bd074cfb815a3a6a574a7e
parentDon't preload symbols (diff)
downloadvolpeon.ink-0f3ffbbb82def6487959ee8c07a06d3281a9cf3f.tar.gz
volpeon.ink-0f3ffbbb82def6487959ee8c07a06d3281a9cf3f.tar.bz2
volpeon.ink-0f3ffbbb82def6487959ee8c07a06d3281a9cf3f.zip
Slightly smaller cards
-rw-r--r--assets/css/_basics.scss6
-rw-r--r--assets/css/components/_card.scss6
-rw-r--r--assets/css/components/_footer.scss4
-rw-r--r--assets/css/scopes/_body.scss2
-rw-r--r--assets/css/scopes/_headlines.scss4
5 files changed, 11 insertions, 11 deletions
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss
index 5ba6853..8d5e41b 100644
--- a/assets/css/_basics.scss
+++ b/assets/css/_basics.scss
@@ -49,13 +49,13 @@ code {
49 49
50code { 50code {
51 color: prop(--colors --code --fg); 51 color: prop(--colors --code --fg);
52 font-size: 1 / 16 * 15em; 52 font-size: px-to-em(15px);
53} 53}
54 54
55pre { 55pre {
56 margin: 0; 56 margin: 0;
57 overflow-x: auto; 57 overflow-x: auto;
58 font-size: 1 / 16 * 15em; 58 font-size: px-to-em(15px);
59 line-height: 1.4; 59 line-height: 1.4;
60 60
61 code { 61 code {
@@ -75,7 +75,7 @@ strong {
75 75
76small { 76small {
77 color: prop(--colors --fg-hi); 77 color: prop(--colors --fg-hi);
78 font-size: 1 / 16 * 14em; 78 font-size: px-to-em(14px);
79} 79}
80 80
81ul, 81ul,
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss
index c1d58db..a6a4c98 100644
--- a/assets/css/components/_card.scss
+++ b/assets/css/components/_card.scss
@@ -11,9 +11,9 @@
11 ), 11 ),
12 ), 12 ),
13 --dims: ( 13 --dims: (
14 --pad-x: 1.1em, 14 --pad-x: 1em,
15 --pad-y: .8em, 15 --pad-y: px-to-em(12px),
16 --hover-offset: -.3rem, 16 --hover-offset: px-to-em(-5px),
17 --indicator: ( 17 --indicator: (
18 --width: 1em, 18 --width: 1em,
19 --height: 4px, 19 --height: 4px,
diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss
index 0a8d076..d33e929 100644
--- a/assets/css/components/_footer.scss
+++ b/assets/css/components/_footer.scss
@@ -17,8 +17,8 @@
17 &::after { 17 &::after {
18 content: str-repeat('░', 400); 18 content: str-repeat('░', 400);
19 display: block; 19 display: block;
20 margin-top: 1 / 16 * 2em; 20 margin-top: 2px;
21 padding-top: 1 / 16 * 2em; 21 padding-top: 2px;
22 overflow: hidden; 22 overflow: hidden;
23 border-top: 1px solid prop(--colors --ground); 23 border-top: 1px solid prop(--colors --ground);
24 color: prop(--colors --ground); 24 color: prop(--colors --ground);
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss
index a21c0a1..8b916aa 100644
--- a/assets/css/scopes/_body.scss
+++ b/assets/css/scopes/_body.scss
@@ -53,7 +53,7 @@
53 padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x); 53 padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x);
54 background-color: prop(--colors --meta --bg); 54 background-color: prop(--colors --meta --bg);
55 color: prop(--colors --meta --fg); 55 color: prop(--colors --meta --fg);
56 font-size: 1 / 16 * 14rem; 56 font-size: iro-px-to-rem(14px);
57 57
58 + h1 { 58 + h1 {
59 margin-top: $line-height * .5rem; 59 margin-top: $line-height * .5rem;
diff --git a/assets/css/scopes/_headlines.scss b/assets/css/scopes/_headlines.scss
index 6e035b6..bfd5caa 100644
--- a/assets/css/scopes/_headlines.scss
+++ b/assets/css/scopes/_headlines.scss
@@ -74,8 +74,8 @@
74 vertical-align: -.02em; 74 vertical-align: -.02em;
75 75
76 svg { 76 svg {
77 width: 1 / 16 * 12em; 77 width: px-to-em(12px);
78 height: 1 / 16 * 12em; 78 height: px-to-em(12px);
79 } 79 }
80 80
81 &:link, 81 &:link,