Add the project files
This commit is contained in:
184
styles.css
Normal file
184
styles.css
Normal file
@@ -0,0 +1,184 @@
|
||||
html {
|
||||
background-color: #FDB32D;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f4;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #FDB32D;
|
||||
color: black;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
|
||||
}
|
||||
header .titre {
|
||||
font-size: 54px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
header .titre {
|
||||
font-size: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
footer {
|
||||
background-color: #FDB32D;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
footer .message {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
main {
|
||||
align-self: center;
|
||||
display: flex;
|
||||
max-width: 2000px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
article {
|
||||
width: 60%;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
margin-left: 30px;
|
||||
margin-right: 20px;
|
||||
padding: 20px;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
aside {
|
||||
width: 20%;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
padding: 20px;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
main {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
article, aside {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
article {
|
||||
width: 80%;
|
||||
}
|
||||
aside {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.question {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.question p {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
margin: 10px 0;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
button a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button a:hover {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
button a:visited {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #e97e90;
|
||||
}
|
||||
|
||||
.result {
|
||||
display: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.reset-btn {
|
||||
margin-top: 20px;
|
||||
background-color: #ff6666;
|
||||
}
|
||||
|
||||
#correct-count {
|
||||
color:#00A851;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
.atma-light {
|
||||
font-family: "Atma", serif;
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.atma-regular {
|
||||
font-family: "Atma", serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.atma-medium {
|
||||
font-family: "Atma", serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.atma-semibold {
|
||||
font-family: "Atma", serif;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.atma-bold {
|
||||
font-family: "Atma", serif;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.bg_rouge {
|
||||
background-color: #EE2F4E;
|
||||
}
|
||||
.bg_vert {
|
||||
background-color: #00A851;
|
||||
}
|
Reference in New Issue
Block a user