]> git.bochard.net Git - mysite.git/commitdiff
customized design for each page
authorbochard <git@bochard.net>
Thu, 7 Aug 2025 02:16:26 +0000 (10:16 +0800)
committerbochard <git@bochard.net>
Thu, 7 Aug 2025 02:16:26 +0000 (10:16 +0800)
guestbook.php
images/backgrounds/Guest.gif [new file with mode: 0644]
images/backgrounds/backgroundl3.gif [new file with mode: 0644]
images/backgrounds/bg_main2.gif [new file with mode: 0644]
images/backgrounds/bg_noi4.gif [new file with mode: 0644]
images/backgrounds/doorBK.gif [new file with mode: 0644]
images/backgrounds/patternTV2.gif [new file with mode: 0644]
stylesheets/guestbook.css [new file with mode: 0644]
stylesheets/journal.css
stylesheets/root.css

index f0146c3a2696bcefd5996e8277c122fdc3a92877..ef6a9b5ac160897d44efedc570a8b344c455bafa 100644 (file)
@@ -2,7 +2,8 @@
   require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
   $pgtitle = "My site's guestbook";
   $pgdescription = "please fill the guestbook before you leave the site.";
-  head($pgtitle, $pgdescription);
+  $pgcss = ["guestbook.css"];
+  head($pgtitle, $pgdescription, $pgcss);
 ?>
 <body>    
   <table id="content">
diff --git a/images/backgrounds/Guest.gif b/images/backgrounds/Guest.gif
new file mode 100644 (file)
index 0000000..8440098
Binary files /dev/null and b/images/backgrounds/Guest.gif differ
diff --git a/images/backgrounds/backgroundl3.gif b/images/backgrounds/backgroundl3.gif
new file mode 100644 (file)
index 0000000..6bdb604
Binary files /dev/null and b/images/backgrounds/backgroundl3.gif differ
diff --git a/images/backgrounds/bg_main2.gif b/images/backgrounds/bg_main2.gif
new file mode 100644 (file)
index 0000000..9f7d050
Binary files /dev/null and b/images/backgrounds/bg_main2.gif differ
diff --git a/images/backgrounds/bg_noi4.gif b/images/backgrounds/bg_noi4.gif
new file mode 100644 (file)
index 0000000..8f3dcb1
Binary files /dev/null and b/images/backgrounds/bg_noi4.gif differ
diff --git a/images/backgrounds/doorBK.gif b/images/backgrounds/doorBK.gif
new file mode 100644 (file)
index 0000000..f4e542b
Binary files /dev/null and b/images/backgrounds/doorBK.gif differ
diff --git a/images/backgrounds/patternTV2.gif b/images/backgrounds/patternTV2.gif
new file mode 100644 (file)
index 0000000..6be31d8
Binary files /dev/null and b/images/backgrounds/patternTV2.gif differ
diff --git a/stylesheets/guestbook.css b/stylesheets/guestbook.css
new file mode 100644 (file)
index 0000000..68291b8
--- /dev/null
@@ -0,0 +1,12 @@
+body {
+       background-image: url('/images/backgrounds/backgroundl3.gif');
+       background-repeat: repeat;
+       background-size: unset;
+}
+#content {
+       background-color: black;
+       background-image: url('/images/backgrounds/doorBK.gif');
+       background-repeat: no-repeat;
+       background-position: right;
+       color: white;
+}
index 989c61d0ba656186a3dea3c1d05ce0bbce7445c1..37b70879073e0f4bd800afd334b89b66e4fa525f 100644 (file)
@@ -1,3 +1,11 @@
+body {
+       background-image: url('/images/backgrounds/clouds.gif');
+       background-repeat: repeat;
+       background-size: contain;
+}
+#content {
+       background-image: url('/images/backgrounds/paper.jpg');
+}
 .entry-list-item {
        font-style: italic;
 }
index 031e6e43e9fb71fb673ffb8aa0acbc47b103197f..b1fd2fc6d82c2acf884fd8f8d3b5148c7a309ee1 100644 (file)
@@ -1,12 +1,9 @@
 body {
        font-family: Palatino, serif;
-       background-image: url('/images/backgrounds/clouds.gif');
-/*
+       background-image: url('/images/backgrounds/Ocean.jpg');
+       background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
-*/
-       background-repeat: repeat;
-       font-size: 16px;
 }
 h1, h2, h3, h4, h5, h6 {
        font-size: 28px;