summaryrefslogtreecommitdiff
path: root/css/page.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/page.scss')
-rw-r--r--css/page.scss68
1 files changed, 68 insertions, 0 deletions
diff --git a/css/page.scss b/css/page.scss
new file mode 100644
index 0000000..76911bc
--- /dev/null
+++ b/css/page.scss
@@ -0,0 +1,68 @@
+div.page {
+ background-color:var(--backgroundColour);
+ border-top-color:var(--foregroundColour);
+ border-top-style:solid;
+ border-top-width:calc(1rem / 3);
+ color: var(--foregroundColour);
+ margin: 0 auto;
+ max-width: var(--maximumPageWidth);
+ min-width: var(--minimumPageWidth);
+ padding: 1rem 2rem;
+
+ p.heading {
+ font-family:$sansSerifFont;
+ font-size: 3rem;
+ font-weight:bold;
+ text-align: center;
+ }
+
+ div.section {
+ & + div.section {
+ margin-top:2rem;
+ }
+
+ img,ol,p:not(.heading,.subheading),ul {
+ & + img,& + ol,& + p,& + ul {
+ margin-top:1rem;
+ }
+ }
+
+ p.heading {
+ font-size: 2rem;
+ margin-bottom:1rem;
+ text-align: left;
+ }
+
+ p.subheading {
+ margin-top: -1rem;
+ margin-bottom:1rem;
+
+ span.data {
+ & + span.data {
+ &::before {
+ content:"\0020\2014\0020";
+ }
+ }
+ }
+ }
+
+ span.emphasis {
+ font-style:italic;
+ }
+
+ img.logo {
+ border-radius:calc(6rem * 16 / 384);
+ width: 6rem;
+ }
+
+ ol,ul {
+ li {
+ margin-left:1rem;
+
+ ol,ul {
+ margin-top:0;
+ }
+ }
+ }
+ }
+}