summaryrefslogtreecommitdiff
path: root/css/page.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/page.scss')
-rw-r--r--css/page.scss15
1 files changed, 7 insertions, 8 deletions
diff --git a/css/page.scss b/css/page.scss
index de9edd7..abe49e5 100644
--- a/css/page.scss
+++ b/css/page.scss
@@ -34,15 +34,10 @@
section {
line-height: 2em;
- max-width: calc(36rem - $padding);
+ max-width: calc($contentWidth / 2 - $padding);
+ text-align: justify;
width: 100%;
- &:nth-of-type(odd) {
- p.note {
- text-align: right;
- }
- }
-
&:nth-of-type(even) {
margin-left: auto;
@@ -61,7 +56,11 @@
}
p.note {
- font-weight: bold;
+ background-color: var(--foregroundColour);
+ border-radius: 1rem;
+ font-weight: bold;
+ padding: 1rem;
+ text-align: center;
&::before {
content: "Note:\0020";