summaryrefslogtreecommitdiff
path: root/scss/base
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-12-17 14:06:23 +0000
committerGitHub <noreply@github.com>2023-12-17 14:06:23 +0000
commitfe9844b8eac1daf3eeedf141e223d0733c892fa0 (patch)
treee89ac30c35b3cd518c563db965fd44197cf0a6a0 /scss/base
parent250152cc1b6a67bd18f4b211856fa98ec06d8eda (diff)
Update production from staging (#48)
* Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38) * Eiks 31 (#41) * Eiks 31 * Prettier dl's * Prettier headings --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> * Reorder news (#42) * Reslugs news items * Fixes typo in getMostRecentNewsItem() * Fixes typo in newUtils.getDate() * Sorts news index from most recent to oldest * Eiks 31 fixes (#43) * Eiks 31 fixes * Improves list styling * Links to Leid title track on YouTube (#45) * Eiks 31 fixes (#47) * Links to Leid title track on YouTube * Corrects Sangschaw pricing * Update production (#37) (#49) * Edit README (#28) * Corrects Lallans instructions * Adds instructions for adding a Scotsoun release * Documents infrastructure * Better contribution guidance * Update README (#29) * Updates references to branch names in README * ESLint ignores Markdown * Documents Coding Style * Specifies upstream branch in README where salient * Fixes Sangschaw winners list in Eiks 30 (#35) * Fixes Sangschaw winners list in Eiks 30 (#36) * Fixes Sangschaw winners list in Eiks 30 (#38) --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com>
Diffstat (limited to 'scss/base')
-rw-r--r--scss/base/dl.scss5
-rw-r--r--scss/base/index.scss6
-rw-r--r--scss/base/typography.scss5
3 files changed, 12 insertions, 4 deletions
diff --git a/scss/base/dl.scss b/scss/base/dl.scss
new file mode 100644
index 0000000..95cc836
--- /dev/null
+++ b/scss/base/dl.scss
@@ -0,0 +1,5 @@
+dt {
+ font-weight: 700;
+ text-decoration: underline;
+ margin-top: 1rem;
+} \ No newline at end of file
diff --git a/scss/base/index.scss b/scss/base/index.scss
index da4f59e..f338772 100644
--- a/scss/base/index.scss
+++ b/scss/base/index.scss
@@ -1,4 +1,4 @@
-@use 'typography';
-@use 'theme';
+@use 'dl';
@use 'list';
-
+@use 'theme';
+@use 'typography';
diff --git a/scss/base/typography.scss b/scss/base/typography.scss
index fb2ac17..9f40bcc 100644
--- a/scss/base/typography.scss
+++ b/scss/base/typography.scss
@@ -45,6 +45,8 @@ h3,
h4 {
font-family: var(--font-serif);
font-weight: 700;
+ line-height: 1.15;
+ text-wrap: balance;
}
.title {
@@ -52,6 +54,7 @@ h4 {
font-size: var(--font-size-6);
font-weight: 700;
margin-block-start: var(--margin-block-sm);
+ text-wrap: balance;
}
.title--small {
@@ -59,7 +62,7 @@ h4 {
margin-block-start: 0;
}
-p:not(:first-child) {
+:is(p, ol, ul):not(:first-child) {
margin-block-start: var(--margin-block-sm);
}