From: bochard Date: Sat, 22 Mar 2025 03:09:07 +0000 (+0800) Subject: changed background X-Git-Url: https://git.bochard.net/?a=commitdiff_plain;h=d63077953725f16428c0fab0bf0cd398dd7e18d2;p=mysite.git changed background --- diff --git a/images/background.png b/images/background.png deleted file mode 100644 index 44d606c..0000000 Binary files a/images/background.png and /dev/null differ diff --git a/images/backgrounds/background.png b/images/backgrounds/background.png new file mode 100644 index 0000000..44d606c Binary files /dev/null and b/images/backgrounds/background.png differ diff --git a/images/backgrounds/background1.png b/images/backgrounds/background1.png new file mode 100644 index 0000000..edf31c3 Binary files /dev/null and b/images/backgrounds/background1.png differ diff --git a/index.html b/index.html index 23ae1a0..31dbbb4 100644 --- a/index.html +++ b/index.html @@ -17,19 +17,20 @@ box-sizing: border-box; } html { - background-image: url(/images/background.png); + background-image: url(/images/backgrounds/background1.png); background-position: center; } body { font-family: serif; margin: 0 auto; - width: 100%; + width: 95%; max-width: 1000px; height: 100%; - background-color: #a6c5ff; + background-image: url(/images/backgrounds/background.png); + background-position: center; border: 7px outset #000000; border-radius: 8px; - padding: 10px 20px; + padding: 20px; } h1 { font-size: 40px; @@ -41,16 +42,16 @@ header { text-align: center; } .headernav { - margin: 10px auto; - width: fit-content; + margin: auto; } .headernav > ul { - width: 100%; + text-align: center; } .headernav li { font-size: 18px; list-style: none; padding: 2px 4px; + width: fit-content; background-color: #dbdbdb; border: 7px outset #000000; border-radius: 8px; @@ -89,12 +90,12 @@ footer { - +
doraemon hello gif tree with welcome text gif

welcome to my website!

- under construction text gif + under construction text gif