quack.gay/styles.css

115 lines
2.1 KiB
CSS

:root {
--body-background-color: #293B2A;
--header-background-color: #646D5A;
--nav-background-color: #505948;
--nav-text-color: #8CAA8C;
--nav-hover-color: #464F3E;
--wrapper-background-color: #647E5A;
--border-color: #101010;
--text-color: #101010;
--footer-gradient: linear-gradient(20deg, #ffadad, #ffd6a5, #fdffb6, #caffbf, #9bf6ff, #a0c4ff, #bdb2ff, #ffc6ff);
}
#wrapper {
background-color: var(--wrapper-background-color);
margin-left: auto;
margin-right: auto;
border-left: 1px solid var(--border-color);
border-right: 1px solid var(--border-color);
width: 90%;
min-height: 100vh; /* keeps the wrapper at least the length of the screen */
display: flex;
flex-direction: column;
}
#content {
margin: 0;
padding-top: 0;
padding-left: 1vh;
padding-right: 1vh;
overflow: visible;
}
body {
margin: 0;
height: 100vh;
background-color: var(--body-background-color);
}
h1, h2, h3, h4, h5, h6 {
color: var(--text-color);
}
header {
background-color: var(--header-background-color);
margin-bottom: 1vh;
}
nav ul {
list-style-type: none;
margin-left: .3%;
margin-right: .3%;
margin-top: .3%;
margin-bottom: .3%;
padding: 0;
overflow: hidden;
background-color: var(--nav-background-color);
display: block;
}
nav li {
margin: 0;
display: inline;
float: left;
}
nav li a {
display: block;
color: var(--nav-text-color);
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav li a:hover {
background-color: var(--nav-hover-color);
}
footer {
background: var(--footer-gradient);
margin-top: auto;
}
footer hr {
border-width: 1px;
border-style: solid;
border-color: var(--border-color);
margin: auto;
}
footer p {
text-align: center;
}
h1 {
text-align: center;
}
h2 {
margin-top: 1vh;
margin-bottom: 1vh;
}
p {
color: var(--text-color);
margin-top: 1%;
margin-bottom: 1%;
}
hr {
border-width: 1px;
border-style: dashed;
border-color: var(--border-color);
color: var(--border-color);
margin: auto;
}