summaryrefslogtreecommitdiff
path: root/src/css/custom
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-02-05 09:55:25 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-02-05 09:55:25 +0100
commit70a2c42a5eef1dab2b7ab75e3c7f6ffc8c8c1959 (patch)
treec30a3e1d52e7a92fe3866f9833aa77ac4092eef4 /src/css/custom
parent1d60b596b53202c0814663ed53b4279b40e05154 (diff)
Move source files into src
Diffstat (limited to 'src/css/custom')
-rw-r--r--src/css/custom/blockquotes.less18
-rw-r--r--src/css/custom/helpers.less5
-rw-r--r--src/css/custom/navigation.less30
3 files changed, 53 insertions, 0 deletions
diff --git a/src/css/custom/blockquotes.less b/src/css/custom/blockquotes.less
new file mode 100644
index 0000000..3984472
--- /dev/null
+++ b/src/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/src/css/custom/helpers.less b/src/css/custom/helpers.less
new file mode 100644
index 0000000..2c4d80b
--- /dev/null
+++ b/src/css/custom/helpers.less
@@ -0,0 +1,5 @@
+@import "../variables.less";
+
+.center {
+ text-align: center;
+}
diff --git a/src/css/custom/navigation.less b/src/css/custom/navigation.less
new file mode 100644
index 0000000..9c9ef4e
--- /dev/null
+++ b/src/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;
+}