Quiz en ligne basique :)
This commit is contained in:
88
Quiz/style.css
Normal file
88
Quiz/style.css
Normal file
@@ -0,0 +1,88 @@
|
||||
/* Reset basique */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #f9f9f9;
|
||||
color: #000000;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: 3rem 1rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
padding: 2rem 2.5rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
font-weight: 700;
|
||||
font-size: 2rem;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.choice {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.choice label {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 1.1rem;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.choice input[type="radio"] {
|
||||
margin-right: 0.8rem;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
accent-color: #333333;
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: #333333;
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
padding: 12px 30px;
|
||||
font-size: 1rem;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 3px 10px rgba(0,0,0,0.15);
|
||||
transition: background-color 0.3s ease, box-shadow 0.3s ease;
|
||||
display: block;
|
||||
margin: 2rem auto 0;
|
||||
width: 180px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #555555;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
font-weight: 600;
|
||||
color: #222222;
|
||||
}
|
Reference in New Issue
Block a user