From: June Gardner Date: Wed, 27 Aug 2025 01:37:33 +0000 (-0700) Subject: Added a background. X-Git-Url: https://where.june.codes/?a=commitdiff_plain;h=bc74b933a0b7454f2ed829ed7bf2a5feb2f1e6be;p=june.codes Added a background. --- diff --git a/theme/images/Simplex.png b/theme/images/Simplex.png new file mode 100644 index 0000000..1eb1080 Binary files /dev/null and b/theme/images/Simplex.png differ diff --git a/theme/images/Stars.svg b/theme/images/Stars.svg new file mode 100644 index 0000000..56dde66 --- /dev/null +++ b/theme/images/Stars.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/theme/main.html b/theme/main.html index bf4976e..b2c8dab 100644 --- a/theme/main.html +++ b/theme/main.html @@ -23,5 +23,7 @@
{{ page.content }}
+ diff --git a/theme/styles.css b/theme/styles.css index fd36aad..d5510f3 100644 --- a/theme/styles.css +++ b/theme/styles.css @@ -1,6 +1,6 @@ :root { - --background: #1c0c31; - --foreground: #ed8cf2; + --background: hsl(266, 60.7%, 12%); + --foreground: hsl(297, 79.7%, 74.9%); --text-size: calc(0.6rem + 0.6vw); --font-family: "Maple Mono"; } @@ -35,18 +35,29 @@ } html { - background: var(--background); - width: 100%; - height: 100%; color: var(--foreground); font-family: "Maple Mono"; font-size: var(--text-size); font-weight: bold; + background: linear-gradient( + hsla(266, 60.7%, 12%, 85%), + hsla(266, 60.7%, 12%, 85%) + ), + no-repeat url("images/Simplex.png"), + url("images/Stars.svg"), + var(--background); + background-position: center, center, center, center; + background-size: auto 75vh; } body { - margin: 2.5rem; - height: 100vh; + margin: 1.5rem; + width: fit-content; +} + +main { + height: 100%; + overflow: scroll; } h1, h2, h3, h4, h5, h6 { @@ -72,7 +83,6 @@ header { flex-direction: row; align-content: center; justify-content: space-between; - margin-bottom: 1.5rem; } header > p {