From 6e2f592d83fa25e122d81c5f0512578cda9fff25 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Fri, 17 Jun 2022 23:21:52 +0100 Subject: [PATCH] H --- css/footer.css | 5 +++- css/main.css | 62 ++++++++++++++++++++++++++++++++------------------ index.php | 45 ++++++++++++++++++++++++++++++------ stylesheet.css | 20 ++++------------ 4 files changed, 86 insertions(+), 46 deletions(-) diff --git a/css/footer.css b/css/footer.css index be3fa94..0a46be6 100644 --- a/css/footer.css +++ b/css/footer.css @@ -9,7 +9,7 @@ footer { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; align-items: center; - background-color: var(--bg); color: var(--fg); + background-color: var(--bg-dark); color: var(--fg); border-radius: var(--rad); @@ -24,3 +24,6 @@ footer div { justify-content: center; align-content: center; text-align: center; } +footer div h3 { + margin-bottom: 0.5rem; +} diff --git a/css/main.css b/css/main.css index 7c71a26..32fdc1b 100644 --- a/css/main.css +++ b/css/main.css @@ -46,10 +46,13 @@ main section img { Gallery */ .gallery-image { + padding: 0; width: 100%; height: 30rem; object-fit: contain; - background-color: #000; + display: block; + + background-color: var(--bg-dark); } .gallery { @@ -70,27 +73,6 @@ main section img { display: none; } -/* -#gallery::before,#gallery::after { - content: ""; - - width: 5rem; height: 10rem; - display: block; - - position: absolute; bottom: 1rem; -} -#gallery::before { - left: 1rem; - - background: linear-gradient(to right, var(--bg) 0%, transparent 100%); -} -#gallery::after { - right: 1rem; - - background: linear-gradient(to left, var(--bg) 0%, transparent 100%); -} -*/ - .gallery img { margin: 0 0.5rem; @@ -114,3 +96,39 @@ main section img { .gallery img:last-child { margin-right: 0; } + +/* + Filter +*/ +.filter-list { + margin: 0 0 1rem 0; padding: 0; + width: 100%; + display: flex; flex-direction: row; + + justify-content: space-between; +} + +.filter-list div { + margin: 0 1rem 0 0; padding: 0.5rem; + width: 15rem; min-width: 8rem; + height: 1.5rem; + + display: flex; + justify-content: center; align-items: center; + + text-align: center; + + background-color: var(--bg-dark); +} +@media (max-width:750px) { + .filter-list { + flex-direction: column; + } + .filter-list div { + margin: 0 0 1rem 0; + width: auto; + } +} +.filter-list div:last-child { + margin: 0; +} diff --git a/index.php b/index.php index 3bbb5a4..94bf4eb 100644 --- a/index.php +++ b/index.php @@ -86,12 +86,28 @@

To Jeetix for helping me with learning how to make websites and keeping the original site up and running!

And to Carty for teaching me how to run servers and the networking required to keep sites online!

mrHDash for the Ref Sheet and most other art on the page!

-

To Zadok for the silly tadium art in the nav bar!

+

To Zadok for the silly taidum art in the nav bar!

@@ -150,7 +181,7 @@

Page status

-

Last updated 16 Jun 2022

+

Last updated 17 Jun 2022

Made and designed by Fluffy

diff --git a/stylesheet.css b/stylesheet.css index 2a67bf8..131dfe3 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -2,21 +2,6 @@ @import "css/main.css"; @import "css/footer.css"; -/* -@font-face { - font-family: "Rubik", sans-serif; - src: url(fonts/Rubik.ttf) format('truetype'); -} -@font-face { - font-family: "Lexend Deca", sans-serif; - src: url(fonts/LexendDeca.ttf) format('truetype'); -} -@font-face { - font-family: 'Fira Code', monospace; - src: url(fonts/FiraCode.ttf) format('truetype'); -} -*/ - :root { --bg: #151515; --bg-dark: #0f0f0f; @@ -73,7 +58,7 @@ p,a { font-family: "Fira Code", monospace; } -h1,h2,h3 { +h1,h2,h3,h4 { font-family: "Lexend Deca", sans-serif; font-weight: 600; color: var(--h); @@ -87,6 +72,9 @@ h2 { h3 { font-size: 23px; } +h4 { + font-size: 19px; +} a { color: var(--green);