figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

commit acafb394dc776d27ea59c27895d0ef7e38a9e900
parent d7e004f0028848127aff9732efe20e64495f093b
Author: FIGBERT <figbert@figbert.com>
Date:   Tue, 14 Jun 2022 11:31:47 -0700

Split nav styles out to its own file

Diffstat:
Mstatic/css/global.css | 41-----------------------------------------
Astatic/css/nav.css | 40++++++++++++++++++++++++++++++++++++++++
Mtemplates/index.html | 2++
3 files changed, 42 insertions(+), 41 deletions(-)

diff --git a/static/css/global.css b/static/css/global.css @@ -25,47 +25,6 @@ main { width: 75%; } -nav { - margin: 2.5rem 0 2.5rem 0; - font-size: 1.125rem; -} - -#subtitle { - font-size: 1.25rem; - font-weight: initial; -} - -ul { - list-style: square; -} - -nav > ul { - list-style: none; -} - -nav > ul > li > a { - text-decoration: none; -} - -.rss { - color: var(--secondary-color); - font-size: 0.75rem; -} - -#webrings { - font-size: 0.75rem; -} - -#webrings > section { - margin-bottom: 2rem; -} - -hr { - border-width: 0; - border-top: 0.1rem dashed; - margin-left: 2rem; -} - p { font-size: 105%; margin-top: 0; diff --git a/static/css/nav.css b/static/css/nav.css @@ -0,0 +1,40 @@ +nav { + margin: 2.5rem 0 2.5rem 0; + font-size: 1.125rem; +} + +nav > ul { + list-style: none; +} + +nav > ul > li > a { + text-decoration: none; +} + +hr { + border-width: 0; + border-top: 0.1rem dashed; + margin-left: 2rem; +} + +ul { + list-style: square; +} + +.rss { + color: var(--secondary-color); + font-size: 0.75rem; +} + +#subtitle { + font-size: 1.25rem; + font-weight: initial; +} + +#webrings { + font-size: 0.75rem; +} + +#webrings > section { + margin-bottom: 2rem; +} diff --git a/templates/index.html b/templates/index.html @@ -8,6 +8,8 @@ <link rel="stylesheet" href="{{ get_url(path="css/fonts.css") }}"> <link rel="stylesheet" href="{{ get_url(path="css/global.css") }}"> + <link rel="stylesheet" href="{{ get_url(path="css/nav.css") }}"> + <link type="application/atom+xml" rel="alternate" href="{{ get_url(path="posts/atom.xml") }} title="Posts :: {{ config.title }}"> <link type="application/atom+xml" rel="alternate" href="{{ get_url(path="projects/atom.xml") }} title="Projects :: {{ config.title }}">