From 04265925e59e64935edaaa468ee24daaabc983a2 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 2 Aug 2024 11:43:20 -0700 Subject: [PATCH] feat: background --- src/styles.css | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/styles.css b/src/styles.css index 45d41da..5632d76 100644 --- a/src/styles.css +++ b/src/styles.css @@ -3,6 +3,23 @@ --text: #abfcec; } +html::before { + background: url(https://cdn.nhcarrigan.com/background.png); + background-size: cover; + background-position: center; + width: 100%; + height: 100%; + z-index: -1; + content: ""; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + opacity: 1; + pointer-events: none; +} + @font-face { font-family: "odudo"; src: url("/assets/fonts/odudo.otf"); @@ -22,11 +39,14 @@ a:visited { } html { - background-color: var(--bg); color: var(--text); text-align: center; } +.content { + background-color: #006064cc; +} + h1 { font-size: 3rem; }