From 8ffd19a0c4456b4ee787bca090978ba2ce398ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 31 May 2025 00:03:08 +0200 Subject: [PATCH] refactor: Remove redundant root CSS files Removed layouts/css/default.css and static/css/style.css as themes now provide their own CSS, making these files obsolete. --- layouts/css/default.css | 110 ---------------------------------------- static/css/style.css | 31 ----------- 2 files changed, 141 deletions(-) delete mode 100644 layouts/css/default.css delete mode 100644 static/css/style.css diff --git a/layouts/css/default.css b/layouts/css/default.css deleted file mode 100644 index e2ccdc8..0000000 --- a/layouts/css/default.css +++ /dev/null @@ -1,110 +0,0 @@ -/* Default Theme for qsgen3 */ -body { - font-family: sans-serif; - line-height: 1.6; - margin: 20px auto; - padding: 0 20px; - max-width: 800px; - background-color: #fdfdfd; - color: #333; -} - -header { - background-color: #eee; - padding: 1em 0; - margin-bottom: 2em; - text-align: center; -} - -header h1 a { - color: #333; - text-decoration: none; -} - -header .tagline { - color: #555; - font-size: 0.9em; -} - -nav ul { - list-style-type: none; - padding: 0; - text-align: center; -} - -nav ul li { - display: inline; - margin-right: 15px; -} - -nav ul li a { - text-decoration: none; - color: #007bff; -} - -nav ul li a:hover { - text-decoration: underline; -} - -article header { - background-color: transparent; - padding: 0; - margin-bottom: 1em; - text-align: left; -} - -h1, h2, h3, h4, h5, h6 { - color: #333; - margin-top: 1.5em; - margin-bottom: 0.5em; -} - -a { - color: #007bff; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -img { - max-width: 100%; - height: auto; -} - -pre { - background-color: #f0f0f0; - padding: 15px; - overflow-x: auto; - border-radius: 4px; -} - -code { - font-family: monospace; - background-color: #f0f0f0; - padding: 0.2em 0.4em; - border-radius: 3px; -} - -pre code { - padding: 0; - background-color: transparent; -} - -blockquote { - border-left: 4px solid #ccc; - padding-left: 15px; - margin-left: 0; - font-style: italic; - color: #555; -} - -footer { - text-align: center; - margin-top: 3em; - padding-top: 1em; - border-top: 1px solid #eee; - font-size: 0.9em; - color: #777; -} diff --git a/static/css/style.css b/static/css/style.css deleted file mode 100644 index 6742b30..0000000 --- a/static/css/style.css +++ /dev/null @@ -1,31 +0,0 @@ -/* Basic styling - feel free to replace */ -body { - font-family: sans-serif; - line-height: 1.6; - margin: 20px; - background-color: #f4f4f4; - color: #333; -} - -header h1 a { - color: #333; - text-decoration: none; -} - -header p { - font-style: italic; - color: #666; -} - -main { - background-color: #fff; - padding: 20px; - border-radius: 5px; -} - -footer { - text-align: center; - margin-top: 20px; - font-size: 0.9em; - color: #777; -}