From efb7742b983bf2e08a0a6db0d488c8b1518f4527 Mon Sep 17 00:00:00 2001 From: bochard Date: Sat, 9 Aug 2025 11:32:07 +0800 Subject: [PATCH] fix guestbook iframe and fix rightbox --- guestbook.php | 3 +-- parts/rightbox.php | 9 +++++++-- parts/scribbles.php | 5 ----- parts/sidebar.php | 2 -- stylesheets/guestbook.css | 7 ++++++- stylesheets/root.css | 28 +++++++++++++++++----------- 6 files changed, 31 insertions(+), 23 deletions(-) diff --git a/guestbook.php b/guestbook.php index 93e50b2..5957ae5 100644 --- a/guestbook.php +++ b/guestbook.php @@ -15,9 +15,8 @@ - - + diff --git a/parts/rightbox.php b/parts/rightbox.php index 04c9c6a..ad0cd13 100644 --- a/parts/rightbox.php +++ b/parts/rightbox.php @@ -2,9 +2,14 @@ - Blogs + Tutorials +
+ New Photos! + diff --git a/parts/scribbles.php b/parts/scribbles.php index b216807..7f8c5bd 100644 --- a/parts/scribbles.php +++ b/parts/scribbles.php @@ -7,8 +7,3 @@ // echo "
  • $fileName
  • \n"; // } ?> - -Tutorials - diff --git a/parts/sidebar.php b/parts/sidebar.php index 4648911..67eaea9 100644 --- a/parts/sidebar.php +++ b/parts/sidebar.php @@ -18,8 +18,6 @@
  • email

  • - -
    diff --git a/stylesheets/guestbook.css b/stylesheets/guestbook.css index 14a0984..dd44a11 100644 --- a/stylesheets/guestbook.css +++ b/stylesheets/guestbook.css @@ -3,6 +3,11 @@ body { background-repeat: repeat; background-size: unset; } +iframe { + height: 100vh; + width: 100%; + border: none; +} #content { background-color: black; background-image: url('/images/backgrounds/doorBK.gif'); @@ -10,6 +15,6 @@ body { background-position: right; color: white; } -#rightbox { +#rightbox > table{ background-image: url('/images/backgrounds/patternTV2.gif'); } diff --git a/stylesheets/root.css b/stylesheets/root.css index 01e6a76..33cdb9e 100644 --- a/stylesheets/root.css +++ b/stylesheets/root.css @@ -31,7 +31,6 @@ blockquote { #content { background-image: url('/images/backgrounds/bg1.gif'); background-repeat: repeat; - height: fit-content; margin: 10px auto; border-style: ridge; } @@ -58,7 +57,7 @@ blockquote { } #body { vertical-align: top; - padding: 20px 70px 0; + padding: 20px 40px; width: 550px; } #body a { @@ -68,23 +67,30 @@ blockquote { #footer { text-align: center; font-style: italic; - height: 20%; + height: 20px; padding: 10px 0; } -#footer table { - border-spacing: 0; - margin: 0 auto; -} #rightbox { + vertical-align: top; + max-width: 170px; + padding: 0; +} +#rightbox > table { background-image: url('/images/backgrounds/bluerock.jpg'); background-repeat: repeat; - vertical-align: top; - width: 150px; - max-width: 150px; - padding: 15px 10px; + padding: 10px; + width: 100%; border-style: ridge; color: white; } +#rightbox ul { + margin-top: 0; + padding-left: 7px; +} +#rightbox ul > li { + list-style-type: none; + padding: 3px; +} #rightbox a { color: lightgreen; } -- 2.39.5