From 9f018de1708bbdaa3a93c85f099396a2cf8d0ab7 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Sun, 22 Dec 2024 11:52:13 -0500 Subject: [PATCH] minor changes to how layout works --- static/css/layout.css | 17 ++++++++--------- templates/default.html | 26 +++++++++++++++----------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/static/css/layout.css b/static/css/layout.css index e348444..8a15dc3 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -20,7 +20,12 @@ a { font-weight: bold; text-decoration: none; width: fit-content; + height: fit-content; } +a.obj-wrapper{ + display: block; +} + a:hover { text-decoration: underline; @@ -80,11 +85,9 @@ header#header { flex-flow: row nowrap; gap: 0.5em; align-items: center; - width: 100%; - font-size: 24px; + justify-content: space-between; + width: 100vw; padding: 0.5em 1em; - /*was a fun experiment but this just causes issues*/ - /*position: fixed;*/ } #content { box-sizing: border-box; @@ -155,11 +158,7 @@ blockquote { width: 2rem; height: 2rem; } -/*https://stackoverflow.com/questions/35269947/how-can-i-align-one-item-right-with-flexbox#35270047*/ -.back-shover { - margin-left:auto; - margin-top:auto; -} + /* div element with this class can be a bitch so need to select those as well as pre*/ .sourceCode { max-width: -moz-available; diff --git a/templates/default.html b/templates/default.html index 3a417e9..a45c5d4 100644 --- a/templates/default.html +++ b/templates/default.html @@ -23,17 +23,21 @@ -