summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/css/_vars.scss4
-rw-r--r--assets/css/scopes/_body.scss40
-rw-r--r--content/symbols.svg2
-rw-r--r--templates/layouts/page.html2
4 files changed, 32 insertions, 16 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss
index 2ab5efd..1123862 100644
--- a/assets/css/_vars.scss
+++ b/assets/css/_vars.scss
@@ -13,8 +13,8 @@ $unit-intervals: (
13); 13);
14 14
15$responsive-mod-scale: ( 15$responsive-mod-scale: (
16 xs: (.5rem, 1.4), 16 xs: (.8rem, 1.4),
17 md: (.5rem, 1.6) 17 md: (.8rem, 1.6)
18); 18);
19 19
20$font-fam--text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; 20$font-fam--text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
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 }
diff --git a/content/symbols.svg b/content/symbols.svg
index acc7f4f..00ea701 100644
--- a/content/symbols.svg
+++ b/content/symbols.svg
@@ -51,7 +51,7 @@
51 51
52 <symbol id="icon-graph" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> 52 <symbol id="icon-graph" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid">
53 <path 53 <path
54 d="m15.25 10.5a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm-10 2.5a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm2.5-10a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm-2.5378 9.4469 5.5686-1.3921m0.61265-2.1613-4.2845-4.2845m-2.1627 0.6058-1.4004 5.6015" 54 d="m7.25 12.5c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75zm8-3c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75c0-0.9665 0.7835-1.75 1.75-1.75s1.75 0.7835 1.75 1.75zm-6-6.5c0 0.9665-0.7835 1.75-1.75 1.75s-1.75-0.7835-1.75-1.75 0.7835-1.75 1.75-1.75 1.75 0.7835 1.75 1.75zm2 12.25 1.6219-4.1121m-8.331-0.13789-3.7909-5.25m6.4058 6.1626 4.6868-1.8235m-3.163-5.7868 3.5859 3.9307m-5.0863-3.5029-1.3496 6.043"
55 fill="none" stroke="currentColor" /> 55 fill="none" stroke="currentColor" />
56 </symbol> 56 </symbol>
57 57
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index b6ff7c3..bccdeae 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -1,6 +1,6 @@
1<section class="l-section l-section--fullscreen l-section--no-head"> 1<section class="l-section l-section--fullscreen l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-body"> 2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-body">
3 <h1>$title$</h1> 3 <h1><span class="s-body__title-inner">$title$</span></h1>
4 4
5 $body$ 5 $body$
6 </div> 6 </div>