ProxmoxAAS-Dashboard/css/style.css

114 lines
1.6 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;
2023-04-06 04:43:36 +00:00
font-size: large;
}
2022-12-11 02:02:29 +00:00
body {
display: grid;
min-height: 100vh;
2023-04-06 03:46:39 +00:00
grid-template-rows: 1fr auto;
grid-template-columns: auto 1fr;
grid-template-areas:
2023-04-06 03:46:39 +00:00
"bar main"
"footer main"
;
margin: 0px;
}
header {
2023-04-06 03:46:39 +00:00
grid-area: bar;
}
main {
2023-04-06 03:46:39 +00:00
padding: 20px;
grid-area: main;
}
footer {
grid-area: footer;
2023-04-06 03:46:39 +00:00
text-align: center;
}
2023-04-06 03:46:39 +00:00
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%;
2022-12-11 02:02:29 +00:00
}
h1 {
2023-04-06 03:46:39 +00:00
font-size: xx-large;
margin: 0px;
text-align: center;
2022-12-11 02:02:29 +00:00
}
h2 {
2023-04-06 03:46:39 +00:00
font-size: xx-large;
margin: 0px;
2022-12-11 02:02:29 +00:00
}
h3 {
font-size: x-large;
2022-12-11 02:02:29 +00:00
}
p {
font-size: large;
2022-12-11 02:02:29 +00:00
}
.hidden {
visibility: hidden;
}
.none {
display: none;
2023-04-06 03:46:39 +00:00
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 1px solid;
border-color: inherit;
}