diff options
Diffstat (limited to 'wk8/pset')
-rw-r--r-- | wk8/pset/homepage/index.html | 9 | ||||
-rw-r--r-- | wk8/pset/homepage/styles.css | 16 |
2 files changed, 15 insertions, 10 deletions
diff --git a/wk8/pset/homepage/index.html b/wk8/pset/homepage/index.html index 94552ab..f52fccb 100644 --- a/wk8/pset/homepage/index.html +++ b/wk8/pset/homepage/index.html @@ -7,15 +7,6 @@ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script> <link href="styles.css" rel="stylesheet"> - <style media="screen, print"> - @font-face { - font-family: "FreePixel"; - src: url("https://sadhost.neocities.org/fonts/FreePixel.ttf") format("truetype"); - } - body { - font-family: "FreePixel"; - } - </style> <title>Miau - Home Page</title> </head> <body class="centered"> diff --git a/wk8/pset/homepage/styles.css b/wk8/pset/homepage/styles.css index 286d107..597df75 100644 --- a/wk8/pset/homepage/styles.css +++ b/wk8/pset/homepage/styles.css @@ -1,3 +1,8 @@ +@font-face { + font-family: "FreePixel"; + src: url("https://sadhost.neocities.org/fonts/FreePixel.ttf") format("truetype"); +} + :root { --background: #221122; --main-color: #EB53D3; @@ -5,11 +10,20 @@ --accent-1: #6eebff; --accent-2:#a225e3; --content-spacing:5px; + --background-img: #332233; --border:1px solid black; } +html, +body { + margin: 0; + box-sizing: border-box; + font-family: "FreePixel"; +} + body { - background-color: var(--main-color); + background-color: var(--background-img); + } main { |