UniSquat_Python/static/style.css

274 lines
4.3 KiB
CSS
Raw Normal View History

:root {
--bg: #1f0e1c;
--bg-dark: #3e2137;
--bg-light: #584563;
--fg: #f5edba;
--hl: #9d303b;
}
body {
background: var(--bg);
margin: 0px;
padding: 0px;
2022-06-12 19:35:36 +02:00
font-family: "ubuntu", sans-serif;
color: var(--fg);
}
header {
background: var(--hl);
display: inline-block;
2022-06-14 11:53:17 +02:00
font-size: 150%;
width: 100%;
font-weight: lighter;
text-align: center;
}
2022-06-14 11:53:17 +02:00
header a {
2022-06-14 16:47:27 +02:00
padding: 5px;
2022-06-14 11:53:17 +02:00
color: var(--fg);
transition: color 0.1s;
}
header a:hover {
color: var(--bg);
}
.title {
font-size: 200%
}
main {
margin: 15px;
display: flex;
flex-direction: column;
line-height: 1.7;
}
nav {
vertical-align: top;
margin: 10px;
width: 50%;
}
p {
text-align: justify;
}
2022-05-13 14:49:01 +02:00
main p {
padding: 30px;
font-size: 20px;
}
ul {
font-size: 20px;
}
.flex-container {
width: 100%;
display: flex;
flex-direction: column;
}
2022-06-15 23:59:48 +02:00
.room-row{
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
}
2022-06-14 16:47:27 +02:00
/* Style The Dropdown Button */
.dropbtn {
color: var(--fg);
background-color: var(--hl);
padding: 16px;
font-size: 16px;
height:100%;
width:100%;
border: none;
cursor: pointer;
}
.dropbtn:hover {
background-color: var(--hl);
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
width:100%;
height:100%;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: var(--hl);
width: 100%;
2022-06-14 16:55:03 +02:00
min-width: 160px;
2022-06-14 16:47:27 +02:00
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: var(--fg);
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of links on hover */
.dropdown-content a:hover {
color: var(--bg);
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
h1, h2, h3, h4 {
font-weight: lighter;
border-left: solid;
border-width: 5px;
2022-05-13 14:49:01 +02:00
padding-left: 5px;
2022-06-16 10:45:22 +02:00
padding-right: 5px;
background: var(--bg-dark);
display: inline-block;
border-color: var(--hl);
}
a {
color: var(--hl);
}
2022-05-14 21:24:14 +02:00
button a {
color: var(--fg);
display: inline-block;
}
2022-05-13 14:49:01 +02:00
header a {
color: var(--fg);
text-decoration: none;
}
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;
}
2022-06-16 11:20:40 +02:00
.details {
font-weight: normal;
font-size: 80%;
2022-06-16 11:20:40 +02:00
padding: 0px;
}
input[type="submit"], button, .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);
text-decoration: none;
}
input[type="submit"]:hover, button: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;
}
2022-06-15 21:48:25 +02:00
input[type=checkbox]:checked ~ .remove-check {
display: none;
}
.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;
}
input {
background: var(--bg-dark);
}
#greet {
font-size: 200%;
text-align: center;
font-weight: lighter;
}
2022-05-13 14:49:01 +02:00
footer {
border-style: dashed;
border-color: var(--bg-dark);
border-width: 2px 0px 0px 0px;
color: var(--bg-light);
}
2022-06-16 09:24:24 +02:00
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1000px) {
.flex-pc{
display:flex;
flex-wrap: wrap;
}
.room-column{
2022-06-16 09:24:24 +02:00
width: 50%;
flex-grow: 1;
}
}
.room-column{
margin-bottom: 10px;
}