bde-liste/static/css/main.css

356 lines
5.9 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;
2023-01-09 08:26:19 +00:00
overflow: scroll;
2023-01-08 17:05:48 +00:00
transition: 1s transform 0s ease-out;
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
}
2023-01-08 11:41:10 +00:00
.spacer {
2022-12-20 23:00:56 +00:00
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
padding: 0px;
width: 50vw;
}
2022-12-20 23:00:56 +00:00
2022-12-21 22:02:34 +00:00
.away {
transform: translate(-200vw, -100vh) rotate(-10deg);
2022-12-21 22:02:34 +00:00
}
2022-12-20 21:52:02 +00:00
.form-group {
margin: 10px;
width: 100%;
2022-12-20 23:00:56 +00:00
}
2023-01-08 11:41:10 +00:00
.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
}
2023-01-08 11:41:10 +00:00
.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-08 22:18:31 +00:00
.activity-uid, .prank-uid, .prank-date, .treasure-uid, .treasure-date, #activite-place {
2023-01-03 21:50:45 +00:00
color: #00000078;
margin-top: 5px;
font-size: 12px;
}
2023-01-03 23:30:39 +00:00
.prank-date, .treasure-date {
margin-left: 10px;
}
.treasure-image>a {
2023-01-03 22:38:44 +00:00
margin-left: 10px;
}
2023-01-08 18:14:17 +00:00
#error-message, #error-message-demande, #error-message-register {
2023-01-07 16:46:33 +00:00
color: red;
}
2023-01-08 18:14:17 +00:00
.treasure {
2023-01-09 10:16:03 +00:00
padding: 0 20px 20px 20px;
2023-01-08 18:14:17 +00:00
}
.treasure-submitted {
2023-01-08 19:44:25 +00:00
background-color: rgba(67, 67, 67, 0.296);
2023-01-08 18:14:17 +00:00
}
.treasure-accepted {
background-color: rgba(0, 255, 0, 0.46);
}
2023-01-09 08:49:19 +00:00
.treasure-refused {
background-color: rgba(255, 0, 0, 0.397);
}
2023-01-08 18:14:17 +00:00
.overlay {
z-index: 99;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
opacity: 0;
visibility: hidden;
}
#treasure-popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: calc(100% - 10vw);
position: relative;
transition: all 5s ease-in-out;
}
.close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.close:hover {
color: #d75b00;
text-decoration: none;
}
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%;
2023-01-08 21:29:11 +00:00
height: 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;
}
2023-01-08 11:41:10 +00:00
.spacer {
2022-12-21 21:57:49 +00:00
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
}