-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (84 loc) · 1.48 KB
/
styles.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
:root {
--primary-color: #0000ff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
color: #f9f9f9;
font-weight: bold;
}
.navbar {
height: 80px;
display: flex;
padding: 20px;
gap: 2rem;
background-color: var(--primary-color);
border-radius: 0px 0px 0px 20px;
}
.base {
display: flex;
align-items: center;
flex-direction: column;
margin-top: 30px;
gap: 1.5rem;
justify-content: center;
border: 2px solid var(--primary-color);
margin: 2% 30% 2% 30%;
}
#output {
padding: 1rem;
color: var(--primary-color);
font-weight: bold;
border-radius: 3px;
outline: none;
margin-left: 8%;
}
#btn {
padding: 1rem;
background-color: var(--primary-color);
color: #f9f9f9;
font-weight: bold;
border-radius: 3px;
outline: none;
}
/*Quiz form*/
.quiz-form {
border: 2px solid var(--primary-color);
margin-top: 2%;
margin: 2% 20% 2% 20%;
border-radius: 10%;
}
.container {
border: 2px solid var(--primary-color);
margin: 0.5rem;
padding: 0.5rem;
display: flex;
align-items: center;
flex-direction: column;
margin: 2% 28% 2% 28%;
border-radius: 10%;
gap: 0.5rem;
}
#submitButton {
padding: 1rem;
background-color: var(--primary-color);
color: #f9f9f9;
font-weight: bold;
border-radius: 3px;
outline: none;
margin-left: 45%;
}
#score_output {
margin-left: 44%;
color: var(--primary-color);
margin-top: 1%;
}
input {
border: 2px solid var(--primary-color);
outline: none;
padding: 0.5rem;
}