bde-liste/static/css/main.css
2023-01-09 11:16:03 +01:00

355 lines
5.9 KiB
CSS

@import url('https://fonts.cdnfonts.com/css/modern-typewriter');
* {
box-sizing: border-box;
}
body {
font-family: 'MODERN TYPEWRITER', sans-serif;
font-size: medium;
color: black;
margin: 0;
}
h1 {
font-size: 60px;
font-weight: 900;
margin-top: 0px;
}
hr {
text-align: center;
border: none;
width: 200px;
margin-top: 0px;
margin-bottom: 0px;
}
hr::before {
content: url('../img/divider.svg');
}
img {
max-width: 100%;
height: auto
}
p {
font-weight: 300;
}
a {
text-decoration: none;
color: #d75b00;
}
a:hover {
text-decoration: underline;
cursor: pointer;
}
#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;
}
.container {
display: flex;
flex-direction: column;
position: absolute;
top: 40px;
width: calc(100% - 10vw);
height: auto;
padding: 4vw;
border-radius: 2px;
background: url("../img/background-letter.jpg");
background-size: cover;
background-position: right;
overflow: scroll;
transition: 1s transform 0s ease-out;
}
#logo {
display: flex;
justify-content: center;
height: 220px;
}
#logo > img {
width: 220px;
}
#timer {
font-size: 40px;
color: red;
text-align: center;
}
.spacer {
padding: 1px;
margin: 30px 0 30px 0;
background-color: #00000054;
}
.row-section {
display: grid;
grid-auto-flow: column;
grid-auto-columns: 1fr 0fr 1fr;
}
.column-section {
display: flex;
flex-direction: column;
flex-shrink: 1;
flex-basis: fit-content;
padding: 2vw
}
#prank-button {
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 0 30px 0;
background: none;
}
#prank-button > span {
font-size: 25px;
}
#prank-button:hover{
text-decoration: none;
background: url("../img/circle-hand.png");
background-size: 100% 100%;
}
#underline {
width: 350px;
height: 25px;
}
#login-form {
padding: 0px;
width: 50vw;
}
.away {
transform: translate(-200vw, -100vh) rotate(-10deg);
}
.form-group {
margin: 10px;
width: 100%;
}
.form-control {
width: 100%;
border: none;
border-bottom: 1px solid #d75b00;
height: 40px;
background: none;
padding: 5px;
}
.form-control:focus {
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;
}
.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 {
display: flex;
flex-direction: column;
margin: 30px 0;
border-bottom: 2px solid grey;
padding-bottom: 30px;
}
.activity>*, .prank>*, .treasure>* {
display: flex;
flex-direction: row;
align-items: center;
}
.activity-btn, .prank-btn, .treasure-btn {
display: flex;
flex-direction: row;
}
.activity-btn>*, .prank-btn>*, .treasure-btn>* {
margin-left: auto;
border: 1px solid orange;
padding: 10px;
border-radius: 5px;
background: #fa45;
cursor: pointer;
}
.activity-btn>*:hover, .prank-btn>*:hover, .treasure-btn>*:hover {
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;
}
.activity-uid, .prank-uid, .prank-date, .treasure-uid, .treasure-date, #activite-place {
color: #00000078;
margin-top: 5px;
font-size: 12px;
}
.prank-date, .treasure-date {
margin-left: 10px;
}
.treasure-image>a {
margin-left: 10px;
}
#error-message, #error-message-demande, #error-message-register {
color: red;
}
.treasure {
padding: 0 20px 20px 20px;
}
.treasure-submitted {
background-color: rgba(67, 67, 67, 0.296);
}
.treasure-accepted {
background-color: rgba(0, 255, 0, 0.46);
}
.treasure-refused {
background-color: rgba(255, 0, 0, 0.397);
}
.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;
}
@media screen and (max-width: 800px) {
.bg-full {
display: none;
}
.container {
margin: 0px;
width: 100%;
height: 100%;
top: 0;
border-radius: 0px;
box-shadow: none;
padding: 2vw;
}
#logo {
height: 150px;
}
#logo > img {
width: 150px;
}
.spacer {
display: none;
}
.row-section {
display: flex;
flex-direction: column;
width: 100%;
align-items: center;
}
h1 {
font-size: 40px;
}
#wrapper{
background: none;
}
}