summaryrefslogtreecommitdiff
path: root/scss/base/typography.scss
diff options
context:
space:
mode:
authorJoe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com>2024-01-19 09:16:42 +0000
committerGitHub <noreply@github.com>2024-01-19 09:16:42 +0000
commit0cb6960f0c65c0d791ccdee2f5bc2e2b910cfb76 (patch)
tree503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/base/typography.scss
parent0b2fbe3f5b9e2fcf0da2b320af504d5cca759045 (diff)
Uses SCSS partials (#64)
Diffstat (limited to 'scss/base/typography.scss')
-rw-r--r--scss/base/typography.scss72
1 files changed, 0 insertions, 72 deletions
diff --git a/scss/base/typography.scss b/scss/base/typography.scss
deleted file mode 100644
index 4dd0afb..0000000
--- a/scss/base/typography.scss
+++ /dev/null
@@ -1,72 +0,0 @@
-body {
- font-family: var(--font-sans-serif);
- font-size: var(--font-size-1);
- font-weight: 400;
- letter-spacing: 0.03rem;
- line-height: 1.5;
- word-wrap: break-word;
- hyphens: auto;
-}
-
-h1 {
- font-size: var(--font-size-5);
-}
-
-h1:not(:first-child) {
- margin-block-start: var(--spacing-block-lg);
-}
-
-h2 {
- font-size: var(--font-size-4);
-}
-
-h2:not(:first-child) {
- margin-block-start: var(--spacing-block-lg);
-}
-
-h3 {
- font-size: var(--font-size-3);
-}
-
-h3:not(:first-child) {
- margin-block-start: var(--spacing-block-md);
-}
-
-h4 {
- font-size: var(--font-size-2);
-}
-
-h4:not(:first-child) {
- margin-block-start: var(--spacing-block-sm);
-}
-
-h1,
-h2,
-h3,
-h4 {
- font-family: var(--font-serif);
- font-weight: 700;
- line-height: 1.15;
- text-wrap: balance;
-}
-
-.title {
- font-family: var(--font-serif);
- font-size: var(--font-size-6);
- font-weight: 700;
- margin-block-start: var(--spacing-block-sm);
- text-wrap: balance;
-}
-
-.title--small {
- font-size: var(--font-size-2);
- margin-block-start: 0;
-}
-
-:is(p, ol, ul):not(:first-child) {
- margin-block-start: var(--spacing-block-sm);
-}
-
-:is(p, h1, h2, h3, h4) {
- max-width: var(--width-prose);
-}