UniSquat_Python/templates/base.html

162 lines
2.8 KiB
HTML

<div class="flex"><header>UniSquat</header></div>
<style>
:root {
--bg: #191919;
--bg-dark: #252525;
--bg-light: #4b4b4b;
--fg: #ffffff;
--hl: #8080ff;
}
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 {
/*display: flex;
flex-direction: row;*/
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;
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%;
}
input[type="submit"]{
background: var(--bg-light);
border-style: solid;
border-width: 1px;
border-color: var(--bg);
padding: 20px;
border-radius: 10px;
transition: background 0.1s;
}
input[type="submit"]:hover {
background: var(--bg-dark);
}
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) {
}
</style>