From 5b28210a43e4794be0c10dc083c0159c20884761 Mon Sep 17 00:00:00 2001 From: bochard Date: Thu, 7 Aug 2025 10:31:10 +0800 Subject: [PATCH] merged component.css to root.css --- parts/head.php | 1 - stylesheets/component.css | 51 ------------------------------------ stylesheets/root.css | 55 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 52 deletions(-) delete mode 100644 stylesheets/component.css diff --git a/parts/head.php b/parts/head.php index f8f2e7a..acd87e1 100644 --- a/parts/head.php +++ b/parts/head.php @@ -17,7 +17,6 @@ function head($pgtitle, $pgdescription = null, $pgcss = []){?> ?> "> - "> "> diff --git a/stylesheets/component.css b/stylesheets/component.css deleted file mode 100644 index eb3e41e..0000000 --- a/stylesheets/component.css +++ /dev/null @@ -1,51 +0,0 @@ -#content { - background-image: url('/images/backgrounds/bg1.gif'); - background-repeat: repeat; - height: fit-content; - width: 95%; - max-width: 900px; - margin: 10px auto; - border-style: ridge; -} -#sidebar { - background-image: url('/images/backgrounds/stars.gif'); - background-repeat: repeat; - vertical-align: top; - height: 100%; - width: 200px; - padding: 15px 10px; - border-style: ridge; - color: white; -} -#sidebar > ul { - margin-top: 0; - padding-left: 7px; -} -#sidebar li { - list-style-type: none; - padding: 3px; -} -#sidebar table { - border-spacing: 0; -} -#body { - vertical-align: top; - padding: 20px 70px 0; -} -#body a { - color: darkgreen; - text-decoration: underline; -} -#footer { - text-align: center; - font-style: italic; - height: 20%; - padding: 10px 0; -} -#footer table { - border-spacing: 0; - margin: 0 auto; -} -#underconstruction-container { - text-align: center; -} diff --git a/stylesheets/root.css b/stylesheets/root.css index b1fd2fc..f15d800 100644 --- a/stylesheets/root.css +++ b/stylesheets/root.css @@ -21,3 +21,58 @@ blockquote { background-color: grey; padding: 5px; } + +/* + * ID AND CLASSES + */ +#content { + background-image: url('/images/backgrounds/bg1.gif'); + background-repeat: repeat; + height: fit-content; + width: 95%; + max-width: 900px; + margin: 10px auto; + border-style: ridge; +} +#sidebar { + background-image: url('/images/backgrounds/stars.gif'); + background-repeat: repeat; + vertical-align: top; + height: 100%; + width: 200px; + padding: 15px 10px; + border-style: ridge; + color: white; +} +#sidebar > ul { + margin-top: 0; + padding-left: 7px; +} +#sidebar li { + list-style-type: none; + padding: 3px; +} +#sidebar table { + border-spacing: 0; +} +#body { + vertical-align: top; + padding: 20px 70px 0; +} +#body a { + color: darkgreen; + text-decoration: underline; +} +#footer { + text-align: center; + font-style: italic; + height: 20%; + padding: 10px 0; +} +#footer table { + border-spacing: 0; + margin: 0 auto; +} +#underconstruction-container { + text-align: center; +} -- 2.39.5