From 7a7b2a6415e09fcaf596bad5c52fd9572633b073 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 27 Mar 2024 14:20:24 +0100 Subject: Move styles and images into subfolder See the updates to the README for a description of the new layout. Note that the /static/ prefix has also been removed from URLs. It felt kind of like we were leaking implementation details. The fact that these files are staic doesn't concern the consumer of the service. --- static/base.css | 62 --------------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 static/base.css (limited to 'static/base.css') diff --git a/static/base.css b/static/base.css deleted file mode 100644 index f9b1ae6..0000000 --- a/static/base.css +++ /dev/null @@ -1,62 +0,0 @@ -/* - * 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; -} -- cgit v1.2.3