-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ned Zimmerman <ned@bight.dev>
- Loading branch information
1 parent
29f6978
commit 0947209
Showing
33 changed files
with
236 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Flow | ||
|
||
TODO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module.exports = { | ||
title: "Flow", | ||
context: { | ||
blocks: [ | ||
{ | ||
tag: "h1", | ||
text: "About" | ||
}, | ||
{ | ||
tag: "p", | ||
class: "subhead", | ||
text: "About our work" | ||
}, | ||
{ | ||
tag: "h2", | ||
text: "We Count Team" | ||
}, | ||
{ | ||
tag: "h3", | ||
text: "Research Team" | ||
}, | ||
{ | ||
tag: "p", | ||
text: "Jutta Treviranus, Principal Investigator" | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="flow"> | ||
{% for block in params.blocks %} | ||
<{{ block.tag }}{% if block.class %} class="{{ block.class }}"{% endif %}>{{ block.text }}</{{ block.tag }}> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="p-m"> | ||
<article> | ||
{{ comp | safe }} | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
article { | ||
padding-block: 0 1.6875rem; | ||
padding-inline: 1.6875rem; | ||
} | ||
|
||
.flow > * + * { | ||
margin-block-start: var(--flow-space, 1em); | ||
} | ||
|
||
.p-m { | ||
padding: 1.6875rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url("../fonts/Montserrat-Regular.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: url("../fonts/Montserrat-Italic.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: italic; | ||
font-weight: 500; | ||
src: url("../fonts/Montserrat-MediumItalic.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: italic; | ||
font-weight: 600; | ||
src: url("../fonts/Montserrat-SemiBoldItalic.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: Montserrat; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: url("../fonts/Montserrat-BoldItalic.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url("../fonts/MontserratAlternates-Regular.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: url("../fonts/MontserratAlternates-Italic.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url("../fonts/MontserratAlternates-Medium.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: italic; | ||
font-weight: 500; | ||
src: url("../fonts/MontserratAlternates-MediumItalic.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: url("../fonts/MontserratAlternates-SemiBold.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: italic; | ||
font-weight: 600; | ||
src: url("../fonts/MontserratAlternates-SemiBoldItalic.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url("../fonts/MontserratAlternates-Bold.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: "Montserrat Alternates"; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: url("../fonts/MontserratAlternates-BoldItalic.woff2") format("woff2"); | ||
unicode-range: U+0049, U+006C; | ||
} | ||
|
||
body { | ||
font-family: "Montserrat Alternates", Montserrat, sans-serif; | ||
} | ||
|
||
h1 { | ||
color: var(--fl-fgColor, #000); | ||
font-size: clamp(1.5rem, 0.6304rem + 4.3478vw, 4rem); | ||
font-weight: 700; | ||
line-height: normal; | ||
} | ||
|
||
h2 { | ||
border-block-end: 0.3125rem solid #fdcc70; | ||
color: var(--fl-fgColor, #000); | ||
font-size: clamp(1.25rem, 0.9891rem + 1.3043vw, 2rem); | ||
font-weight: 700; | ||
line-height: 1.5; | ||
} | ||
|
||
h3 { | ||
color: var(--fl-fgColor, #000); | ||
font-size: clamp(0.875rem, 0.6576rem + 1.087vw, 1.5rem); | ||
font-weight: 600; | ||
line-height: 1.5; | ||
} | ||
|
||
p, | ||
li, | ||
.subhead { | ||
color: var(--fl-fgColor, #000); | ||
font-size: clamp(0.875rem, 0.6576rem + 1.087vw, 1.5rem); | ||
font-style: normal; | ||
line-height: 1.5; | ||
} | ||
|
||
.subhead { | ||
font-weight: 500; | ||
} | ||
|
||
p, | ||
li { | ||
font-weight: 400; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
@import "../design-system/css/reset.css"; | ||
@import "_typography.css"; | ||
@import "_layout.css"; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.