-
Notifications
You must be signed in to change notification settings - Fork 0
/
quizapp.css
76 lines (57 loc) · 1.09 KB
/
quizapp.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
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,200,300);
*, body {
font-family: 'Source Sans Pro', Arial, sans-serif;
}
body {
background-color: #a6d728;
}
.center {
text-align: center;
margin: 0 auto !important;
}
/** HOME **/
.home {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 450px;
text-align: center;
}
/** GAME **/
.game-container {
width: 600px;
margin: 0 auto;
text-align: center;
}
.game-container ul li {
list-style: none;
}
/** LOBBY **/
.participant.self {
font-weight: bold;
color: #990000;
}
/** VOTING **/
.answer-item {
display: inline-block;
margin: 8px;
padding: 16px;
text-align: center;
color: #fff;
border: 1px solid #303030;
background-color: #7e5ea1;
transition: all 250ms ease;
}
.answer-item.hide {
display: none;
}
.answer-item.disabled {
opacity: 0.5;
pointer-events: none;
}
.answer-item:hover,
.answer-item.selected {
cursor: pointer;
background-color: #3b7bc4;
}