bde-liste/static/css/main.css

285 lines
4.7 KiB
CSS
Raw Normal View History

2022-12-20 20:43:14 +00:00
@import url('https://fonts.cdnfonts.com/css/modern-typewriter');
2022-12-11 14:30:42 +00:00
* {
box-sizing: border-box;
2022-12-11 14:49:41 +00:00
}
2022-12-11 14:30:42 +00:00
2022-12-11 14:49:41 +00:00
body {
font-family: 'MODERN TYPEWRITER', sans-serif;
2022-12-11 14:30:42 +00:00
font-size: medium;
2022-12-11 14:49:41 +00:00
color: black;
2022-12-20 23:00:56 +00:00
margin: 0;
2022-12-11 14:30:42 +00:00
}
2022-12-11 14:49:41 +00:00
h1 {
2022-12-15 13:30:34 +00:00
font-size: 60px;
2022-12-11 14:49:41 +00:00
font-weight: 900;
2022-12-12 16:44:58 +00:00
margin-top: 0px;
2022-12-11 14:49:41 +00:00
}
2022-12-12 16:44:58 +00:00
hr {
text-align: center;
border: none;
width: 200px;
margin-top: 0px;
margin-bottom: 0px;
}
hr::before {
content: url('../img/divider.svg');
}
2022-12-20 23:00:56 +00:00
img {
max-width: 100%;
height: auto
}
2022-12-15 13:30:34 +00:00
p {
2022-12-20 23:52:33 +00:00
2022-12-15 13:30:34 +00:00
font-weight: 300;
}
a {
text-decoration: none;
2022-12-20 20:32:11 +00:00
color: #d75b00;
2022-12-15 13:30:34 +00:00
}
a:hover {
text-decoration: underline;
cursor: pointer;
}
2022-12-20 23:00:56 +00:00
#wrapper {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
width: 100%;
height: 100%;
background: url('../img/spy-background.png');
background-size: cover;
overflow: scroll;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:31:30 +00:00
.container {
2022-12-20 23:00:56 +00:00
display: flex;
flex-direction: column;
position: absolute;
top: 40px;
width: calc(100% - 10vw);
2022-12-15 13:30:34 +00:00
height: auto;
2022-12-20 23:00:56 +00:00
padding: 4vw;
border-radius: 2px;
background: url("../img/background-letter.jpg");
background-size: cover;
2022-12-20 23:23:26 +00:00
background-position: right;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:00:56 +00:00
#logo {
display: flex;
justify-content: center;
height: 220px;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:17:37 +00:00
#logo > img {
width: 220px;
}
2022-12-15 13:30:34 +00:00
2022-12-20 23:00:56 +00:00
#timer {
font-size: 40px;
color: red;
text-align: center;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:00:56 +00:00
#spacer {
padding: 1px;
margin: 30px 0 30px 0;
background-color: #00000054;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:00:56 +00:00
.row-section {
2022-12-21 21:57:49 +00:00
display: grid;
grid-auto-flow: column;
grid-auto-columns: 1fr 0fr 1fr;
2022-12-15 13:30:34 +00:00
}
2022-12-20 23:00:56 +00:00
.column-section {
2022-12-11 14:49:41 +00:00
display: flex;
flex-direction: column;
2022-12-20 23:00:56 +00:00
flex-shrink: 1;
flex-basis: fit-content;
padding: 2vw
2022-12-11 14:49:41 +00:00
}
2022-12-20 23:00:56 +00:00
#prank-button {
2022-12-11 14:49:41 +00:00
display: flex;
flex-direction: column;
2022-12-20 23:00:56 +00:00
align-items: center;
padding: 30px 0 30px 0;
background: none;
}
#prank-button > span {
font-size: 25px;
}
#prank-button:hover{
2022-12-21 21:20:48 +00:00
text-decoration: none;
2022-12-20 23:00:56 +00:00
background: url("../img/circle-hand.png");
background-size: 100% 100%;
2022-12-11 14:49:41 +00:00
}
2022-12-20 23:00:56 +00:00
#underline {
width: 350px;
height: 25px;
2022-12-11 14:49:41 +00:00
}
2022-12-21 21:20:48 +00:00
#login-form {
2022-12-20 21:52:02 +00:00
margin-top: 25vh;
margin-bottom: 10vh;
padding: 0px;
width: 50vw;
}
2022-12-20 23:00:56 +00:00
2022-12-20 21:52:02 +00:00
.form-group {
margin: 10px;
width: 100%;
2022-12-20 23:00:56 +00:00
}
2022-12-21 21:20:48 +00:00
.login-form-control {
2022-12-20 21:52:02 +00:00
width: 100%;
border: none;
border-bottom: 1px solid #d75b00;
height: 40px;
background: none;
padding: 5px;
2022-12-20 20:40:44 +00:00
}
2022-12-21 21:20:48 +00:00
.login-form-control:focus {
2022-12-20 21:52:02 +00:00
outline: none;
border-bottom: 2px solid #923e01;
}
button[type="submit"] {
padding: 5px 10px;
height: 30px;
outline: 1px solid #d75b00;
background: none;
border: none;
font-family: inherit;
color: #d75b00;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-out;
}
button[type="submit"]:hover {
cursor: pointer;
background-color: #d75b00;
color: #ffffff;
}
2023-01-03 22:35:10 +00:00
.admin-textarea, .admin-input-date, #activityType {
background: none;
border: none;
border-bottom: 1px solid orange;
margin: 5px 0px;
font-size: 15px;
height: 27px;
margin-left: 10px;
}
.activity, .prank, .treasure {
2023-01-03 20:52:14 +00:00
display: flex;
flex-direction: column;
2023-01-03 21:23:47 +00:00
margin: 30px 0;
border-bottom: 2px solid grey;
padding-bottom: 30px;
2023-01-03 20:52:14 +00:00
}
2023-01-03 22:35:10 +00:00
.activity>*, .prank>*, .treasure>* {
2023-01-03 20:52:14 +00:00
display: flex;
2023-01-03 21:23:47 +00:00
flex-direction: row;
align-items: center;
2023-01-03 20:52:14 +00:00
}
2023-01-03 22:35:10 +00:00
.activity-btn, .prank-btn, .treasure-btn {
2023-01-03 21:23:47 +00:00
display: flex;
flex-direction: row;
}
2023-01-03 22:35:10 +00:00
.activity-btn>*, .prank-btn>*, .treasure-btn>* {
2023-01-03 21:23:47 +00:00
margin-left: auto;
border: 1px solid orange;
padding: 10px;
border-radius: 5px;
2023-01-03 21:39:11 +00:00
background: #fa45;
cursor: pointer;
}
2023-01-03 22:35:10 +00:00
.activity-btn>*:hover, .prank-btn>*:hover, .treasure-btn>*:hover {
2023-01-03 21:39:11 +00:00
background-color: #faa5;
}
#admin-header {
display: flex;
flex-direction: row;
}
.admin-menu {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
border-right: 3px solid black;
height: 40px;
font-size: 30px;
cursor: pointer;
}
.admin-menu:hover {
background-color: #00000036;
}
.admin-menu:first-of-type {
border-left: 3px solid black;
2023-01-03 20:52:14 +00:00
}
2023-01-03 21:50:45 +00:00
.activity-uid, .prank-uid, .treasure-uid {
color: #00000078;
margin-top: 5px;
font-size: 12px;
}
2022-12-20 21:52:02 +00:00
@media screen and (max-width: 800px) {
2022-12-20 20:43:14 +00:00
.bg-full {
display: none;
}
2022-12-21 21:20:48 +00:00
.container {
2022-12-20 20:40:44 +00:00
margin: 0px;
width: 100%;
2022-12-20 23:00:56 +00:00
top: 0;
2022-12-20 20:40:44 +00:00
border-radius: 0px;
box-shadow: none;
2022-12-21 21:20:48 +00:00
padding: 2vw;
2022-12-20 20:40:44 +00:00
}
2022-12-20 23:00:56 +00:00
#logo {
2022-12-20 20:40:44 +00:00
height: 150px;
}
2022-12-20 23:17:37 +00:00
#logo > img {
width: 150px;
}
2022-12-21 21:57:49 +00:00
#spacer {
display: none;
}
2022-12-20 23:00:56 +00:00
.row-section {
2022-12-21 21:57:49 +00:00
display: flex;
2022-12-20 20:32:11 +00:00
flex-direction: column;
2022-12-20 21:52:02 +00:00
width: 100%;
align-items: center;
2022-12-15 13:30:34 +00:00
}
h1 {
font-size: 40px;
}
2022-12-20 23:17:18 +00:00
#wrapper{
background: none;
2022-12-20 21:52:02 +00:00
}
2022-12-15 13:30:34 +00:00
}