ProxmoxAAS-Dashboard/css/style.css
2023-04-06 02:56:37 +00:00

163 lines
2.3 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 auto 1fr auto;
grid-template-columns: auto 1fr;
grid-template-areas:
"logo title"
"hr1 hr2"
"nav main"
"footer main"
;
margin: 0px;
}
header {
display: contents;
}
#logo {
grid-area: logo;
padding: 20px;
padding-bottom: 0px;
}
#hr1 {
grid-area: hr1;
margin: 0px;
padding: 0px;
padding-left: 20px;
padding-right: 20px;
background-color: var(--accent-bkg-color);
color: var(--accent-txt-color);
}
#hr1 hr {
height: 1px;
}
#hr2 {
grid-area: hr2;
margin: 0px;
padding: 0px;
padding-left: 20px;
padding-right: 20px;
background-color: var(--content-bkg-color);
color: var(--content-txt-color);
}
#hr2 hr {
height: 1px;
}
#nav {
grid-area: nav;
padding: 20px;
}
#title {
grid-area: title;
padding: 20px;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: end;
}
#title * {
margin: 0px;
}
#logo, #nav, #hr1, 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);
padding-left: 20px;
padding-right: 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: 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: xxx-large;
}
h2 {
font-size: xxx-large;
}
h3 {
font-size: x-large;
}
p {
font-size: large;
}
.hidden {
visibility: hidden;
}
.none {
display: none;
}