summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-04-28 20:31:37 +0200
committerVolpeon <git@volpeon.ink>2021-04-28 20:31:37 +0200
commit89c6b5be8f9be7fc2ed1a6b927c440baed38cb44 (patch)
treeb308cbfdf79412b7adc8152fb5aacaf4c00c9401 /assets/css/scopes
parentAdded preload directives, load SVG symbols from external file (diff)
downloadvolpeon.ink-89c6b5be8f9be7fc2ed1a6b927c440baed38cb44.tar.gz
volpeon.ink-89c6b5be8f9be7fc2ed1a6b927c440baed38cb44.tar.bz2
volpeon.ink-89c6b5be8f9be7fc2ed1a6b927c440baed38cb44.zip
Update
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_body.scss40
1 files changed, 28 insertions, 12 deletions
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss
index f725b0a..0a22828 100644
--- a/assets/css/scopes/_body.scss
+++ b/assets/css/scopes/_body.scss
@@ -1,11 +1,11 @@
1@include namespace('body') { 1@include namespace('body') {
2 @include scope(namespace()) { 2 @include store((
3 > :first-child { 3 --colors: (
4 //margin-top: 0; 4 --emph-fg: prop(--colors --accent --color, $global: true),
5 } 5 --emph-bg: prop(--colors --bg-hi, $global: true)
6 } 6 )
7} 7 ));
8@include namespace('body') { 8
9 @include scope(namespace()) { 9 @include scope(namespace()) {
10 font-size: 1 / 16 * 18em; 10 font-size: 1 / 16 * 18em;
11 11
@@ -31,29 +31,45 @@
31 } 31 }
32 32
33 h1 { 33 h1 {
34 @include iro-responsive-modular-scale(font-size, 4, $responsive-mod-scale); 34 @include iro-responsive-modular-scale(font-size, 3, $responsive-mod-scale);
35 } 35 }
36 36
37 h2 { 37 h2 {
38 @include iro-responsive-modular-scale(font-size, 3, $responsive-mod-scale); 38 @include iro-responsive-modular-scale(font-size, 2, $responsive-mod-scale);
39 } 39 }
40 40
41 h3 { 41 h3 {
42 @include iro-responsive-modular-scale(font-size, 2, $responsive-mod-scale); 42 @include iro-responsive-modular-scale(font-size, 1, $responsive-mod-scale);
43 43
44 letter-spacing: .1em; 44 letter-spacing: .05em;
45 text-transform: uppercase; 45 text-transform: uppercase;
46 } 46 }
47 47
48 h4, 48 h4,
49 h5, 49 h5,
50 h6 { 50 h6 {
51 @include iro-responsive-modular-scale(font-size, 1, $responsive-mod-scale); 51 @include iro-responsive-modular-scale(font-size, 0, $responsive-mod-scale);
52 52
53 letter-spacing: .1em; 53 letter-spacing: .1em;
54 text-transform: uppercase; 54 text-transform: uppercase;
55 } 55 }
56 56
57 h5,
58 h6 {
59 color: currentColor;
60 font-weight: 400;
61 }
62
63 @include element('title-inner') {
64 background-image: linear-gradient(
65 to top,
66 transparent .15em,
67 #{prop(--colors --emph-bg)} .15em,
68 #{prop(--colors --emph-bg)} .6em,
69 transparent .6em
70 );
71 }
72
57 img { 73 img {
58 max-width: 100%; 74 max-width: 100%;
59 } 75 }