114 lines
1.6 KiB
CSS
114 lines
1.6 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: 1fr auto;
|
|
grid-template-columns: auto 1fr;
|
|
grid-template-areas:
|
|
"bar main"
|
|
"footer main"
|
|
;
|
|
margin: 0px;
|
|
}
|
|
|
|
header {
|
|
grid-area: bar;
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
grid-area: main;
|
|
}
|
|
|
|
footer {
|
|
grid-area: footer;
|
|
text-align: center;
|
|
}
|
|
|
|
header, footer {
|
|
background-color: var(--accent-bkg-color);
|
|
color: var(--accent-txt-color);
|
|
padding: 20px;
|
|
}
|
|
|
|
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 {
|
|
font-size: xx-large;
|
|
margin: 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-size: xx-large;
|
|
margin: 0px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: x-large;
|
|
}
|
|
|
|
p {
|
|
font-size: large;
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.none {
|
|
display: none;
|
|
}
|
|
|
|
hr {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid;
|
|
border-color: inherit;
|
|
} |