From b36bf99a95f54b698aec0a58a4b8059746614049 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Wed, 21 Jan 2026 16:14:18 -0500 Subject: Refactor for valid XHTML Strict doctype --- style.css | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index b6d5fa3..94e59f4 100644 --- a/style.css +++ b/style.css @@ -97,12 +97,22 @@ p code, li code { width: 45px; } +.posts-list li { + border-bottom: 1px solid; + margin-bottom: 10px; + padding-bottom: 10px; +} + .post-time { color: #24272D; display: block; margin: 0.5em 0; } +.center { + text-align: center; +} + table { border-collapse: collapse; text-align: left; @@ -139,12 +149,12 @@ table.members tbody tr td:first-child::before { z-index: -2; } -nav ul { +#nav ul { margin: 1em 0; padding: 0; text-align: center; } -nav ul li { +#nav ul li { display: inline-block; list-style: none; margin: 0 10px; @@ -201,10 +211,10 @@ nav ul li { font-size: 90%; } -footer { +#footer { text-align: center; } -footer p { +#footer p { margin-bottom: 0; } @@ -215,12 +225,12 @@ footer p { } @media(max-width: 800px) { - main > .http-badge:nth-of-type(1) { + #main > .http-badge:nth-of-type(1) { display: block; float: none; margin: 0 auto; } - main > .http-badge:nth-of-type(1) + p { + #main > .http-badge:nth-of-type(1) + p { text-align: center; } table tr td:first-child { -- cgit v1.3.1