summaryrefslogtreecommitdiff
path: root/static/styles/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/styles/base.css')
-rw-r--r--static/styles/base.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/static/styles/base.css b/static/styles/base.css
new file mode 100644
index 0000000..f9b1ae6
--- /dev/null
+++ b/static/styles/base.css
@@ -0,0 +1,62 @@
+/*
+ * This file will contain the styles that are to be applied to the WHOLE site.
+ *
+ * No page-specific settings should go in this file.
+ */
+
+* {
+ box-sizing: border-box;
+}
+
+html, body {
+ padding: 0;
+ margin: 0;
+
+ font-family: Helvetica, Arial, sans-serif;
+
+ color: white;
+ background-color: #2a2626;
+}
+
+/* Sticky footer
+ * See: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers
+ */
+body {
+ min-height: 100vh;
+ display: grid;
+ grid-template-rows: auto 1fr auto;
+}
+
+.navbar {
+ /* A lot of spacing gives a kind of modern look. */
+ padding: 1.5rem;
+
+ /* Make the navbar slightly darker than the default background color to "lift it up". */
+ background-color: #1c1c1c;
+
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.navbar__links {
+ list-style: none;
+ padding: 0;
+
+ display: flex;
+ flex-direction: row;
+ gap: 1.5em;
+}
+
+.navbar__location {
+ /* remove default link styling */
+ color: inherit;
+ text-decoration: none;
+}
+
+footer {
+ text-align: center;
+ font-size: small;
+ margin: 1rem;
+}