]> localhost Git - neocities.git/commitdiff
Add item background as fix
authormisomosi <[email protected]>
Thu, 25 Dec 2025 18:53:28 +0000 (13:53 -0500)
committermisomosi <[email protected]>
Wed, 10 Jun 2026 14:43:41 +0000 (10:43 -0400)
images/BodyBackground.jpg [new file with mode: 0644]
images/ItemBackground.png [new file with mode: 0644]
images/favicon.png [moved from favicon.png with 100% similarity]
index.html
styles.css

diff --git a/images/BodyBackground.jpg b/images/BodyBackground.jpg
new file mode 100644 (file)
index 0000000..7e16d69
--- /dev/null
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3f13965465df8b8c8bd6585ab8d9130e8ec958554de94e5c26ea17cf04b83bd
+size 97812
diff --git a/images/ItemBackground.png b/images/ItemBackground.png
new file mode 100644 (file)
index 0000000..5bf452d
--- /dev/null
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e87d92f868a8bc86c71b63c69cf3d88ff5ffee5a862c3ffec4fe9e06d7ef08a3
+size 1918
similarity index 100%
rename from favicon.png
rename to images/favicon.png
index 003fa9aba3eec075644a8db0a21d8c2591e13615..9685db51d6cf2b2e5ad4f6c05e019a13dd012729 100644 (file)
@@ -12,7 +12,7 @@
                <link href="favicon.png" rel="icon" type="image/png" />
        </head>
        <body>
-               <div class="hgrid">
+               <div class="hgrid main-body">
                        <nav>
                                <ul class="nav-list">
                                        <li><a href="index.html">Home!</a></li>
index 7401288546573e5f285652c310d490e82c80cebc..b43d685f89db137213b2996685ed3adbb39f72a1 100644 (file)
@@ -1,13 +1,15 @@
-body {
-       background-color: white;
+.main-body {
        color: black;
        font-family: Verdana;
+       background: url(images/BodyBackground.jpg);
+       background-size: 100% 100%;
+       padding: 10% 5%;
 }
 .nav-list {
        list-style-type: none;
 }
 .nav-list li {
-       background: url(ItemBackground.png);
+       background: url(images/ItemBackground.png);
        padding: 4px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
@@ -26,7 +28,7 @@ body {
        display: auto;
 }
 .main-area {
-       background: url(ItemBackground.png);
+       background: url(images/ItemBackground.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        aspect-ratio: 1 / 1;