forked from thinkful-ei-leopard/quiz-app-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
90 lines (74 loc) · 1.82 KB
/
app.css
File metadata and controls
90 lines (74 loc) · 1.82 KB
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
86
87
88
89
90
/* Your styles should be mobile-first and responsive */
/**
* If you are unclear on how to utilize a mobile-first, responsive technique to write your CSS, here is an example:
*
* https://github.com/andreacardybailey/responsive_example/blob/master/styles/responsive-base.css
*
*/
body {
font-size: 24px;
background-color:burlywood;
}
/* header styles the title*/
header {
display: flex;
justify-content: center;
margin-bottom: 50px;
}
/* best not to mess with this class it can edit the styling of the whole page */
section {
flex-direction: column;
}
/* styles the second heading that reads 'Do you want to play a game?' */
section h2 {
display: block;
text-align: center;
}
/* startbutton styles the button on the first page that's labeled Yes! */
.startbutton {
display: block;
border-radius: 8px;
margin-left: auto;
margin-right: auto;
}
/* nextbutton styles the next button when switching to another question */
.nextbutton{
margin-left: auto;
margin-right: auto;
border-radius: 8px;
text-align: center;
}
/* submitanswerbutton styles the Submit Answer button */
.submitanswerbutton{
border-radius: 8px;
}
/* label styles the different answer choices in the question*/
label {
display: block;
}
/* question styles the question text */
.question{
text-align: center;
}
/* questionNumber styles the 'Question 1/5' text */
.questionNumber{
text-align:center;
}
/* correctAnswer is used to center the correct response and color it green.*/
.correctAnswer{
text-align:center;
color: forestgreen;
}
/* correctScore is used to center the the score number. */
.correctScore{
text-align: center;
}
/* incorrectAnswer styles the text that appears when an incorrect answer is chosen */
.incorrectAnswer{
text-align: center;
color: red;
}
/* incorrectScore styles the */
.incorrectScore{
text-align: center;
}