-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
152 lines (132 loc) · 2.48 KB
/
style.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
h1, h2 {
text-align: center;
}
.js-feedback h2, .js-feedback p {
background-color: white;
padding: 10px 40px;
font-weight: bold;
}
section {
display: flex;
flex-direction: column;
border: 10px solid lightgrey;
min-height: 800px;
margin: 10px 80px;
}
@media only screen and (max-width: 900px) {
section {
margin: 10px 10px
}
}
@media only screen and (min-width: 1200px) {
section {
margin: 10px 300px
}
}
.top-part {
height: 300px;
margin: 20px 80px;
background-color: aliceblue;
}
@media only screen and (max-width: 480px) {
.top-part {
margin: 0px 10px
}
}
.landing-page .top-part {
background-color: grey;
background-image: url('images/DSLR-Camera-PNG-File.png');
background-repeat: no-repeat;
background-size: auto;
background-position: center;
background-blend-mode: soft-light;
}
.question-page .top-part {
background-image: url('images/Video-Camera-Lens-PNG-Photos.png');
background-repeat: no-repeat;
background-size: auto;
background-position: center;
}
.start-button {
color: white;
padding: 15px 32px;
cursor: pointer;
background-color: #4CAF50;
width: 200px;
}
.centered {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
}
.stats {
margin: 0px 80px;
display: flex;
justify-content: space-between;
align-items: flex-end;
text-decoration: underline;
}
@media only screen and (max-width: 480px) {
.stats {
margin: 0px 10px
}
}
.q-a-box {
margin: 0px 80px;
}
@media only screen and (max-width: 480px) {
.q-a-box {
margin: 0px 10px
}
}
.wrong-answer {
color: red;
}
.correct-answer {
color: green;
font-weight: bold;
}
fieldset {
border: 0;
}
legend {
padding: 20px 0px;
font-weight: bold;
text-align: center;
}
label {
line-height: 20px;
border: 1px solid lightgrey;
display: flex;
background-color: #F7F7F7;
}
label:focus{
background-color:aliceblue; /* not working */
}
label:hover {
background-color: aliceblue;
}
label:active {
background-color: skyblue;
}
label span {
margin: auto 0px;
padding: 12px 16px 12px 0px;
}
input {
margin: 20px;
}
button {
margin-top: 20px;
padding: 12px 0px;
width: 100%;
background-color: #ADD9FF;
font-weight: bold;
letter-spacing: 6px;
border-radius: 25px;
}
.hide {
display: none;
}