-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.css
85 lines (79 loc) · 1.59 KB
/
test.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
@font-face {
font-family: "PokeFont";
src: url("fonts/PokemonSolid.ttf") format("truetype");
}
@font-face {
font-family: "PokePixel";
src: url("fonts/PressStart2P-vaV7.ttf") format("truetype");
}
@font-face {
font-family: "Poke";
src: url("fonts/ketchum-updated.ttf") format("truetype");
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
#silhouette {
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
height: 200px;
width: 200px;
transition: opacity 0.5s ease-in-out; /* Smooth fading effect */
}
.container {
background-image: url("assets/visuals/Untitledphoto.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100%;
width: 100%;
display: flex;
position: fixed;
align-items: center;
flex-direction: column;
gap: 5em;
justify-content: center;
}
.quiz-container {
height: max-content;
margin: 20px auto;
padding: 30px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 500px;
}
#question-text {
font-size: 24px;
font-family: "Poke";
text-align: center;
}
.option-btn {
font-family: Poke;
font-size: 16px;
}
.options {
display: flex;
flex-direction: column;
gap: 20px;
/* margin-top: 20px; */
}
.option-btn {
padding: 10px;
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.option-btn:hover {
background-color: #45a049;
}
.wrong-answer {
background-color: rgb(156, 42, 42);
color: white; /* Optional: make the text white for better contrast */
}