UniSquat_Python/static/style.css

291 lines
4.5 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-serif;
color: var(--fg);
}
header {
background: var(--hl);
display: inline-block;
font-size: 150%;
width: 100%;
font-weight: lighter;
text-align: center;
}
header a {
padding: 5px;
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%;
}
#body {
margin: 10px;
}
p {
text-align: justify;
}
main p {
padding: 30px;
font-size: 20px;
}
.flex-container {
width: 100%;
display: flex;
flex-direction: column;
}
.room-row{
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
}
/* 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%;
min-width: 160px;
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;
padding-left: 5px;
padding-right: 5px;
background: var(--bg-dark);
display: inline-block;
border-color: var(--hl);
}
a {
color: var(--hl);
}
button a {
color: var(--fg);
display: inline-block;
}
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, .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;
}
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;
}
.fav label {
width: 50px;
height: 50px;
}
.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);
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1000px) {
.flex-pc{
display:flex;
flex-wrap: wrap;
}
.room-collumn{
width: 50%;
flex-grow: 1;
}
}