/
quiz.term.css
70 lines (67 loc) · 1.22 KB
/
quiz.term.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
.termquiz {
font-size: 2.5em;
}
.termquiz-terms,
.termquiz-definitions {
width: 1120px;
height: 112px;
margin: 40px auto;
padding: 8px;
border-radius: .4em;
border: 2px solid #000;
text-align: center;
}
.termquiz-terms {
background-color: #ffd;
}
.termquiz-definitions {
background-color: #ddf;
}
.termquiz-term,
.termquiz-definition {
position: relative;
left: 0px;
top: 0px;
display: inline-block;
margin: 8px;
padding: 8px;
width: 120px;
height: 80px;
line-height: 2em;
text-align: center;
border-radius: 8px;
}
.termquiz-term {
background-color: #ccc;
color: #fff;
text-shadow: 0 0 5px #000;
border: 2px solid #000;
}
.termquiz-definition {
background-color: #fff;
color: #333;
border: 2px dashed #000;
}
.termquiz-definition-hover {
background-color: green;
}
.termquiz-dragging {
-moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
-webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
}
.termquiz-vertical {
position: relative;
height: 22em;
}
.termquiz-vertical .termquiz-terms, .termquiz-vertical .termquiz-definitions {
width: 4em;
height: auto;
position: absolute;
left: 50%;
top: 0;
margin-left: -5em;
}
.termquiz-vertical .termquiz-definitions {
margin-left: 1em;
}