UniSquat_Python/static/style.css

194 lines
3.0 KiB
CSS

:root {
--bg: #1f0e1c;
--bg-dark: #3e2137;
--bg-light: #584563;
--fg: #f5edba;
--hl: #9d303b;
}
body {
background: var(--bg);
margin: 0px;
padding: 0px;
font-family: "ubuntu", "sans";
color: var(--fg);
}
header {
background: var(--hl);
display: inline-block;
font-size: 250%;
width: 100%;
font-weight: lighter;
text-align: center;
}
main {
margin: 15px;
display: flex;
flex-direction: column;
line-height: 1.7;
}
nav {
vertical-align: top;
margin: 10px;
width: 50%;
}
#body {
margin: 10px;
}
p {
text-align: justify;
}
main p {
padding: 30px;
font-size: 20px;
}
.flex-container {
width: 100%;
display: flex;
flex-direction: column;
}
h1, h2, h3, h4 {
font-weight: lighter;
border-left: solid;
border-width: 5px;
padding-left: 5px;
background: var(--bg-dark);
display: inline-block;
border-color: var(--hl);
}
a {
color: var(--hl);
}
header a {
color: var(--fg);
text-decoration: none;
}
img {
margin: 10px;
align-self: flex-start;
max-width: 200px;
border-radius: 10px;
}
iframe {
max-width: 200px;
max-height: 500px;
}
ul {
margin-bottom: 5px;
}
dt {
font-weight: bold;
font-size: 90%;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: var(--bg-light);
padding: 10px;
}
dt .details {
font-weight: normal;
font-size: 80%;
}
input[type="submit"], button{
background: var(--bg-light);
border-style: solid;
border-width: 1px;
border-color: var(--bg);
padding: 20px;
border-radius: 10px;
transition: background 0.1s;
color: var(--fg);
}
input[type="submit"]:hover, button:hover {
background: var(--bg-dark);
color: var(--fg);
}
input[type="time"], input[type="date"] {
font-family: "Ubuntu", sans-serif;
background: var(--bg-dark);
border-style: solid;
border-width: 1px;
border-color: var(--bg);
padding: 20px;
border-radius: 10px;
transition: background 0.1s;
margin: 10px;
color: var(--fg);
}
input[type="checkbox"] {
display: none;
width: 0px;
height: 0px;
}
.flex {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
input[type="checkbox"]:hover + label {
background: var(--bg-dark);
}
input[type="checkbox"]:checked + label {
background: var(--hl);
}
input[type="checkbox"] + label {
background: var(--bg-light);
transition: background 0.1s;
display: inline-block;
width: 200px;
height: 80px;
padding: 10px;
margin: 10px;
text-align: center;
border-radius: 15px;
box-shadow: 5px 5px black;
}
.done {
background: var(--bg-dark);
text-decoration: line-through;
}
input {
background: var(--bg-dark);
}
#greet {
font-size: 200%;
text-align: center;
font-weight: lighter;
}
footer {
border-style: dashed;
border-color: var(--bg-dark);
border-width: 2px 0px 0px 0px;
color: var(--bg-light);
}
@media screen and (max-width: 769px) {
}