ProxmoxAAS-Dashboard/css/style.css

121 lines
1.7 KiB
CSS
Raw Normal View History

: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;
}
2022-12-11 02:02:29 +00:00
body {
display: grid;
min-height: 100vh;
grid-template-rows: 1fr auto;
grid-template-columns: auto 1fr;
grid-template-areas:
"header main"
"footer main"
;
margin: 0px;
}
header, footer {
background-color: var(--accent-bkg-color);
color: var(--accent-txt-color);
padding: 20px;
width: 15vw;
min-width: max-content;
max-width: 25ch;
}
header {
grid-area: header;
}
main {
grid-area: main;
background-color: var(--content-bkg-color);
color: var(--content-txt-color);
padding: 20px;
}
footer {
grid-area: footer;
}
footer p {
text-align: center;
}
nav {
display: flex;
flex-direction: column;
}
nav a {
color: var(--accent-txt-color);
font-size: xx-large;
text-decoration: none;
position: relative;
padding: 10px;
padding-left: 20px;
}
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%;
2022-12-11 02:02:29 +00:00
}
2022-12-11 03:25:59 +00:00
h1, h2, h3, p {
2022-12-11 02:02:29 +00:00
font-family: monospace;
}
h1 {
font-size: xx-large;
2022-12-11 02:02:29 +00:00
text-align: center;
}
h2 {
font-size: x-large;
2022-12-11 02:02:29 +00:00
text-align: center;
}
h3 {
font-size: larger;
2022-12-11 02:02:29 +00:00
text-align: center;
}
p {
text-align: left;
}
.hidden {
visibility: hidden;
}
.none {
display: none;
}