e244255cc1
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
124 lines
1.7 KiB
CSS
124 lines
1.7 KiB
CSS
:root {
|
|
--accent-bkg-color: black;
|
|
--accent-txt-color: white;
|
|
--content-bkg-color: white;
|
|
--content-txt-color: black;
|
|
--form-disabled-color: #606060;
|
|
--button-accept: #0F0;
|
|
--success-color: #0F0;
|
|
--button-cancel: #F00;
|
|
--fail-color: #F00;
|
|
}
|
|
|
|
* {
|
|
font-family: monospace;
|
|
font-size: large;
|
|
}
|
|
|
|
body {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-areas:
|
|
"logo title"
|
|
"nav main"
|
|
"footer main"
|
|
;
|
|
margin: 0px;
|
|
}
|
|
|
|
header {
|
|
display: contents;
|
|
}
|
|
|
|
#logo {
|
|
grid-area: logo;
|
|
}
|
|
|
|
#nav {
|
|
grid-area: nav;
|
|
}
|
|
|
|
#title {
|
|
grid-area: title;
|
|
}
|
|
|
|
#logo, #nav, footer {
|
|
background-color: var(--accent-bkg-color);
|
|
color: var(--accent-txt-color);
|
|
}
|
|
|
|
main {
|
|
grid-area: main;
|
|
background-color: var(--content-bkg-color);
|
|
color: var(--content-txt-color);
|
|
}
|
|
|
|
footer {
|
|
grid-area: footer;
|
|
}
|
|
|
|
footer p {
|
|
text-align: center;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
nav a {
|
|
color: var(--accent-txt-color);
|
|
font-size: x-large;
|
|
text-decoration: none;
|
|
position: relative;
|
|
}
|
|
|
|
nav a:before {
|
|
position: absolute;
|
|
width: 0px;
|
|
height: 100%;
|
|
left: 0px;
|
|
top: 0px;
|
|
content: '';
|
|
background: var(--accent-txt-color);
|
|
opacity: 0.3;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
nav a[aria-current="true"]:before {
|
|
width: 10px;
|
|
}
|
|
|
|
nav a:hover:before {
|
|
width: 100%;
|
|
}
|
|
|
|
h1, h2, h3, p {
|
|
font-family: monospace;
|
|
}
|
|
|
|
h1 {
|
|
font-size: xxx-large;
|
|
}
|
|
|
|
h2 {
|
|
font-size: xx-large;
|
|
}
|
|
|
|
h3 {
|
|
font-size: x-large;
|
|
}
|
|
|
|
p {
|
|
font-size: large;
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.none {
|
|
display: none;
|
|
} |