From 7a52ddeba2a68388b544f529d2d92104420f77b0 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Fri, 31 Oct 2025 20:02:14 +0000 Subject: Changed from static to 11ty! --- public/assets/css/main.css.bk | 219 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100644 public/assets/css/main.css.bk (limited to 'public/assets/css/main.css.bk') diff --git a/public/assets/css/main.css.bk b/public/assets/css/main.css.bk new file mode 100644 index 0000000..1d006ad --- /dev/null +++ b/public/assets/css/main.css.bk @@ -0,0 +1,219 @@ +/* === Global reset & base styles === */ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +html, body { + height: 100%; +} + +body { + background-color: #1e1e2f; /* darker, richer background */ + color: #e0e0e0; /* lighter text */ + font-family: 'IBM Plex Sans', 'FreeSerif', serif; /* modern + fallback */ + line-height: 1.7; + font-size: 18px; + max-width: 900px; + margin: 0 auto; + padding: 20px; +} + +/* === Header & nav === */ +header { + text-align: center; + margin-bottom: 40px; +} + +nav ul { + list-style: none; + text-align: center; +} + +nav ul li { + display: inline-block; + margin: 0 15px; +} + +nav ul li.logo img { + max-height: 70px; +} + +nav ul li a { + color: #a39cff; + text-decoration: none; + font-weight: 500; + transition: color 0.2s; +} + +nav ul li a:hover { + color: #ffffff; +} + +/* === Links === */ +a { + color: #9fa7ff; + text-decoration: none; + transition: color 0.2s; +} + +a:hover { + color: #ffffff; + text-decoration: underline; +} + +/* === Main content === */ +main { + margin: 0 auto; + padding: 0 10px; + font-size: 18px; +} + +h1, h2, h3 { + font-weight: 600; + margin: 1.5rem 0 0.5rem; + color: #c0c0ff; +} + +h1 { + font-size: 2.2rem; +} + +h2 { + font-size: 1.6rem; +} + +/* === Paragraphs & spacing === */ +p { + margin: 1rem 0; +} + +/* === Images === */ +img { + max-width: 100%; + height: auto; + display: block; + margin: 1rem 0; +} + +.right-image { + float: right; + margin: 0 0 10px 15px; +} + +.left-image { + float: left; + margin: 0 15px 10px 0; +} + +/* === Tags / meta === */ +.tags, .tags2 { + display: block; + margin: 1rem 0; + font-size: 0.9rem; + color: #b0b0ff; +} + +/* === Blockquotes === */ +blockquote { + border-left: 6px solid #a39cff; /* keeps your accent color */ + background-color: #2e2460; /* slightly brighter than current bg */ + color: #d0d0ff; /* lighter text for contrast */ + font-style: italic; + margin: 1.5rem 0; + padding: 15px 20px; /* more breathing room inside */ + border-radius: 8px; /* softer corners */ + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* subtle shadow for depth */ + line-height: 1.6; +} + + +/* === Lists === */ +ul, ol { + margin: 1rem 0 1rem 2rem; +} + +/* === Footer === */ +footer { + margin-top: 40px; + padding-top: 20px; + border-top: 1px solid #444; + color: #999; + font-size: 0.9rem; +} + +/* === Media queries (responsive) === */ +@media (max-width: 600px) { + main { + padding: 0 5px; + } + + nav ul li { + display: block; + margin: 10px 0; + } + + .right-image, .left-image { + float: none; + margin: 10px auto; + } +} + +/* === Tables === */ +table { + width: 100%; + border-collapse: collapse; + margin: 1.5rem 0; + background-color: #2a2a40; /* slightly lighter than body for contrast */ + color: #e0e0e0; + font-size: 16px; +} + +thead { + background-color: #3a3a5a; /* header row darker */ +} + +th, td { + padding: 12px 15px; + text-align: left; + border-bottom: 1px solid #444; /* subtle row separation */ +} + +th { + font-weight: 600; + color: #c0c0ff; +} + +tr:hover { + background-color: #404060; /* highlight row on hover */ +} + +/* Responsive table tweaks */ +@media (max-width: 600px) { + table, thead, tbody, th, td, tr { + display: block; + } + + thead tr { + display: none; /* hide header row on small screens */ + } + + tr { + margin-bottom: 15px; + border-bottom: 2px solid #444; + } + + td { + padding-left: 50%; + position: relative; + } + + td::before { + content: attr(data-label); + position: absolute; + left: 15px; + font-weight: 600; + color: #a39cff; + } +} -- cgit v1.2.3