summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-12-14 21:28:31 +0000
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-01-12 08:28:52 +0000
commit4710fb1c87d5926f630716f003e736e019b3fcf5 (patch)
tree5ecab92f74042ac1df81f1e9c0e82580c4818a58 /scss
parentf979c07e2c7c3716492a4121383aeacc5e58cfce (diff)
Eiks 31 (#41)
* Eiks 31 * Prettier dl's * Prettier headings --------- Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com>
Diffstat (limited to 'scss')
-rw-r--r--scss/base/dl.scss5
-rw-r--r--scss/base/index.scss6
-rw-r--r--scss/base/typography.scss3
-rw-r--r--scss/modules/schedule.scss1
4 files changed, 12 insertions, 3 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..b9936ec 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 {
diff --git a/scss/modules/schedule.scss b/scss/modules/schedule.scss
index 140767c..40a9fee 100644
--- a/scss/modules/schedule.scss
+++ b/scss/modules/schedule.scss
@@ -6,6 +6,7 @@
font-weight: 700;
margin-block-start: var(--margin-block-sm);
text-align: center;
+ text-decoration: none;
}
.schedule dd {