You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WF-Website/styles/styleQuiz.css

154 lines
2.8 KiB

@import url(./style.css);
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');
body, html {
height: 100%;
overflow: hidden;
}
/* ====== DARK MODE ====== */
body.dark-mode h1, body.dark-mode h2, body.dark-mode p {
color: white;
font-family: "Lemon", serif;
text-align: center;
}
body.dark-mode .quiz {
background-color: black;
height: 60%;
width: 80%;
margin: 3% auto;
padding: 2%;
border-radius: 25px;
border: 2px solid transparent;
}
body.dark-mode .answers {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
row-gap: 80px;
}
body.dark-mode .answer {
background-color: #1b0048;
color: white;
border: none;
border-radius: 25px;
width: 35%;
padding: 35px;
font-size: 30px;
text-align: center;
cursor: pointer;
}
body.dark-mode .answer:hover {
background-color: #6100ff;
}
body.dark-mode .submit-button {
text-align: center;
margin-top: 80px;
}
body.dark-mode .buttonSudmite {
background: linear-gradient(90deg, #6100ff 0%, #1b0048 100%);
font-family: "Lemon", serif;
border: none;
color: white;
padding: 10px 20px;
border-radius: 25px;
font-size: 30px;
cursor: pointer;
}
/* ====== LIGHT MODE ====== */
body.light-mode h1, body.light-mode h2, body.light-mode p {
color: black;
font-family: "Lemon", serif;
text-align: center;
}
body.light-mode .quiz {
background-color: white;
width: 50%;
height: 90%;
margin: 3% auto;
padding: 2%;
border-radius: 25px;
border: 2px solid black;
}
body.light-mode .answers {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 1000px;
height: 90%;
}
body.light-mode .answer {
background-color: #fff1f1;
color: black;
border: 1px solid black;
border-radius: 25px;
width: 45%;
padding: 10px;
font-size: 18px;
text-align: center;
cursor: pointer;
}
body.light-mode .answer:hover {
background-color: #c7f6c4;
}
body.light-mode .submit-button {
text-align: center;
margin-top: 20px;
}
body.light-mode .buttonSudmite {
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%);
font-family: "Lemon", serif;
border: none;
color: black;
padding: 10px 20px;
border-radius: 25px;
font-size: 20px;
cursor: pointer;
}
/* ====== OTHER ====== */
.container {
width: 100%;
height: 100px;
background-color: transparent;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 50px;
}
.header {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
.nav img {
margin-right: 10px;
}
.logo img {
display: block;
margin: 0 auto;
}
.user img {
margin-left: 10px;
}