UniSquat_Python/templates/base.html

164 lines
2.8 KiB
HTML
Raw Normal View History

2022-05-12 16:58:13 +02:00
<div class="flex"><header>UniSquat</header></div>
<style>
:root {
2022-05-12 17:29:45 +02:00
--bg: #1f0e1c;
--bg-dark: #3e2137;
--bg-light: #584563;
--fg: #f5edba;
--hl: #9d303b;
}
2022-05-12 16:58:13 +02:00
body {
background: var(--bg);
2022-05-12 16:58:13 +02:00
margin: 0px;
padding: 0px;
font-family: "ubuntu", "sans";
color: var(--fg);
}
header {
background: var(--hl);
2022-05-12 16:58:13 +02:00
display: inline-block;
font-size: 250%;
2022-05-12 16:58:13 +02:00
width: 100%;
font-weight: lighter;
text-align: center;
}
main {
display: flex;
flex-direction: column;
line-height: 1.7;
}
nav {
vertical-align: top;
margin: 10px;
width: 50%;
}
#body {
margin: 10px;
}
p {
text-align: justify;
text-indent: 50px;
}
.flex-container {
width: 100%;
display: flex;
flex-direction: column;
}
h1, h2, h3, h4 {
font-weight: lighter;
border-left: solid;
border-width: 5px;
2022-05-12 17:29:45 +02:00
background: var(--bg-dark);
display: inline-block;
border-color: var(--hl);
}
a {
color: var(--hl);
}
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%;
}
2022-05-12 16:58:13 +02:00
input[type="submit"]{
background: var(--bg-light);
border-style: solid;
border-width: 1px;
border-color: var(--bg);
2022-05-12 16:58:13 +02:00
padding: 20px;
border-radius: 10px;
2022-05-12 16:58:13 +02:00
transition: background 0.1s;
}
2022-05-12 16:58:13 +02:00
input[type="submit"]:hover {
background: var(--bg-dark);
}
2022-05-12 16:58:13 +02:00
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;
}
@media screen and (max-width: 769px) {
}
2022-05-12 16:58:13 +02:00
</style>