diff options
author | Patrick Spek <p.spek@tyil.work> | 2018-08-16 01:04:34 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.work> | 2018-08-16 01:04:34 +0200 |
commit | db9090f75fc2696b31dfdf8eb5e2a5f8eaad6e7e (patch) | |
tree | caef85e3c3e49868ad6bccf5c17ec9636c3a789b /css/custom | |
parent | a70742e1376ddaa3e9dcf1ae4d0b7516d4b70a0a (diff) |
Update CSS
Diffstat (limited to 'css/custom')
-rw-r--r-- | css/custom/blockquotes.less | 18 | ||||
-rw-r--r-- | css/custom/helpers.less | 5 | ||||
-rw-r--r-- | css/custom/navigation.less | 30 |
3 files changed, 53 insertions, 0 deletions
diff --git a/css/custom/blockquotes.less b/css/custom/blockquotes.less new file mode 100644 index 0000000..3984472 --- /dev/null +++ b/css/custom/blockquotes.less @@ -0,0 +1,18 @@ +@import "../variables.less"; + +.quoteblock { + width: 90%; + margin: 0 auto; + border-left: double black; + padding: 0.5em; + background-color: @blockBackgroundColor; + + blockquote { + font-style: italic; + } + + div.attribution { + text-align: right; + margin-right: 1em; + } +} diff --git a/css/custom/helpers.less b/css/custom/helpers.less new file mode 100644 index 0000000..2c4d80b --- /dev/null +++ b/css/custom/helpers.less @@ -0,0 +1,5 @@ +@import "../variables.less"; + +.center { + text-align: center; +} diff --git a/css/custom/navigation.less b/css/custom/navigation.less new file mode 100644 index 0000000..9c9ef4e --- /dev/null +++ b/css/custom/navigation.less @@ -0,0 +1,30 @@ +@import "../variables.less"; + +// Navigation bar +nav { + padding-bottom: 8px; + border-bottom: double @bodyTextColor; + text-align: center; + font-family: Sans; + + a, a:visited { + margin: 0 0.5em; + font-size: 24px; + text-decoration: none; + color: @bodyTextColor; + } + + .brand-name { + text-align: center; + display: block; + font-weight: bold; + font-size: 32px; + color: @bodyTextColor; + margin-bottom: 8px; + } +} + +// Generic links +a, a:visited { + color: @linkColor; +} |