diff options
Diffstat (limited to 'css/page.scss')
-rw-r--r-- | css/page.scss | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/css/page.scss b/css/page.scss index 8e81d59..100b7b5 100644 --- a/css/page.scss +++ b/css/page.scss @@ -1,13 +1,16 @@ div.page { - background-color:$backgroundColour; - border-top-color:$foregroundColour; - border-top-style:solid; - border-top-width:calc(1rem / 3); - color: $foregroundColour; - margin: 0 auto; - max-width: $maximumPageWidth; - min-width: $minimumPageWidth; - padding: 1rem 2rem; + background-color: $backgroundColour; + border-radius: 1rem; + border-top-left-radius: 0; + border-top-right-radius:0; + border-top-color: $foregroundColour; + border-top-style: solid; + border-top-width: calc(1rem / 3); + color: $foregroundColour; + margin: 0 auto; + max-width: $maximumPageWidth; + min-width: $minimumPageWidth; + padding: 1rem 2rem; p.heading { font-family:$sansSerifFont; @@ -18,7 +21,15 @@ div.page { div.section { & + div.section { - margin-top:2rem; + &::before { + background-color:$bodyColour; + border-radius: calc(1rem / 3 / 3); + content: ""; + display: block; + height: calc(1rem / 3); + margin: 1rem auto; + width: calc(100% / 3); + } } img,ol,p:not(.heading,.subheading),table,ul { |