generated from nhcarrigan/template
feat: background
This commit is contained in:
parent
c069d9cd7b
commit
04265925e5
@ -3,6 +3,23 @@
|
|||||||
--text: #abfcec;
|
--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-face {
|
||||||
font-family: "odudo";
|
font-family: "odudo";
|
||||||
src: url("/assets/fonts/odudo.otf");
|
src: url("/assets/fonts/odudo.otf");
|
||||||
@ -22,11 +39,14 @@ a:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background-color: var(--bg);
|
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
background-color: #006064cc;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user