]> git.bochard.net Git - mysite.git/commitdiff
merged component.css to root.css
authorbochard <git@bochard.net>
Thu, 7 Aug 2025 02:31:10 +0000 (10:31 +0800)
committerbochard <git@bochard.net>
Thu, 7 Aug 2025 02:31:10 +0000 (10:31 +0800)
parts/head.php
stylesheets/component.css [deleted file]
stylesheets/root.css

index f8f2e7a1318f6a5a57ac2d7482acd2124d554770..acd87e1828ac2d39dd19311f8b3d593e3e54ccc2 100644 (file)
@@ -17,7 +17,6 @@ function head($pgtitle, $pgdescription = null, $pgcss = []){?>
     ?>
     
     <link rel="stylesheet" href="/stylesheets/root.css?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/root.css");?>">
-    <link rel="stylesheet" href="/stylesheets/component.css?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/component.css");?>">
     <?php foreach($pgcss as $filename):?>
       <link rel="stylesheet" href="<?= htmlspecialchars("/stylesheets/$filename?v="), filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/$filename");?>">
     <?php endforeach;?>
diff --git a/stylesheets/component.css b/stylesheets/component.css
deleted file mode 100644 (file)
index eb3e41e..0000000
+++ /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;
-}
index b1fd2fc6d82c2acf884fd8f8d3b5148c7a309ee1..f15d800ec7a483d3e49775298bc5d27b8e1a7e6a 100644 (file)
@@ -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;
+}