diff options
Diffstat (limited to 'css/base.scss')
-rw-r--r-- | css/base.scss | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/css/base.scss b/css/base.scss new file mode 100644 index 0000000..f38c10b --- /dev/null +++ b/css/base.scss @@ -0,0 +1,61 @@ +div.page * + p,* + ol,* + table,* + ul { + margin-top:1rem; +} + +li p + ul,li p + ol { + margin-top:0; +} + +a { + &,&:visited { + color: var(--colour); + text-decoration:none; + } + + &:hover { + color:var(--foregroundColour); + } +} + +span.emphasis { + font-style:italic; +} + +p.math,span.math,td.math { + font-size: calc(3rem / 2); + padding: calc(1rem / 3) 0; + user-select:none; +} + +table { + @include invertedTheme(); + border-radius: calc(1rem / 3); + border-spacing:0; + border-style: solid; + border-width: calc(1rem / 3); + + tr { + &.small { + font-size:calc(2rem / 3); + } + + td,th { + padding:calc(1rem / 12) calc(2rem / 12); + } + + td { + background-color:var(--backgroundColour); + color: var(--foregroundColour); + } + + th { + text-align:center; + } + } +} + +ul,ol { + li { + margin-left:1rem; + } +} |