summaryrefslogtreecommitdiff
path: root/css/page.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/page.scss')
-rw-r--r--css/page.scss33
1 files changed, 20 insertions, 13 deletions
diff --git a/css/page.scss b/css/page.scss
index 76911bc..41f5ccd 100644
--- a/css/page.scss
+++ b/css/page.scss
@@ -1,12 +1,12 @@
div.page {
- background-color:var(--backgroundColour);
- border-top-color:var(--foregroundColour);
+ background-color:$backgroundColour;
+ border-top-color:$foregroundColour;
border-top-style:solid;
border-top-width:calc(1rem / 3);
- color: var(--foregroundColour);
+ color: $foregroundColour;
margin: 0 auto;
- max-width: var(--maximumPageWidth);
- min-width: var(--minimumPageWidth);
+ max-width: $maximumPageWidth;
+ min-width: $minimumPageWidth;
padding: 1rem 2rem;
p.heading {
@@ -21,8 +21,8 @@ div.page {
margin-top:2rem;
}
- img,ol,p:not(.heading,.subheading),ul {
- & + img,& + ol,& + p,& + ul {
+ img,ol,p:not(.heading,.subheading),table,ul {
+ & + img,& + ol,& + p,& + table,& + ul {
margin-top:1rem;
}
}
@@ -38,6 +38,8 @@ div.page {
margin-bottom:1rem;
span.data {
+ font-style:italic;
+
& + span.data {
&::before {
content:"\0020\2014\0020";
@@ -45,10 +47,6 @@ div.page {
}
}
}
-
- span.emphasis {
- font-style:italic;
- }
img.logo {
border-radius:calc(6rem * 16 / 384);
@@ -58,9 +56,18 @@ div.page {
ol,ul {
li {
margin-left:1rem;
+ }
+ }
+
+ table {
+ border-spacing:calc(1rem / 3);
+ font-family: $monospaceFont;
- ol,ul {
- margin-top:0;
+ tr {
+ td,th {
+ background-color:$bodyColour;
+ border-radius: calc(1rem / 3);
+ padding: calc(1rem / 3) calc(2rem / 3);
}
}
}