-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
78 lines (74 loc) · 1.28 KB
/
index.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
body {
}
.data {
display: none;
}
.deck {
text-align: center;
}
.deck__next,
.deck__start {
display: inline-block;
width: 45%;
height: 50px;
margin: 5px 5px;
border: 1px solid #ccc;
box-sizing: border-box;
background-color: #fff;
font-size: 15px;
}
.deck__next {
width: 90%;
}
.deck__next:hover,
.deck__start:hover {
background-color: #eee;
}
.deck__results {
height: 50px;
line-height: 20px;
font-size: 20px;
}
.card {
display: inline-block;
width: 400px;
border: 1px solid #ddd;
}
.card__word {
height: 100px;
text-align: center;
vertical-align: middle;
}
.card__word-inner {
line-height: 30px;
font-size: 30px;
position: relative;
transform: translateY(-50%);
top: 50%;
}
.card__options {
text-align: center;
}
.card__option {
display: inline-block;
width: 45%;
min-height: 60px;
margin: 5px 5px;
border: 1px solid #ccc;
box-sizing: border-box;
background-color: #fff;
vertical-align: top;
font: 16px system-ui;
padding: 2px 6px 3px;
}
.card__option:hover {
background-color: #eee;
}
.card__option--correct,
.card__option--correct:hover {
border: 5px solid green;
}
.card__option--selected,
.card__option--selected:hover {
border: 5px solid red;
}