-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrill.css
179 lines (153 loc) · 3.08 KB
/
drill.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
html {
overflow-y: scroll;
}
.flip-container {
perspective: 1000;
-webkit-perspective: 1000;
-moz-perspective: 1000;
-o-perspective: 1000;
}
/* .flip-container:hover .flipper, .flip-container.hover .flipper { */
.flip-container.hover .flipper {
transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
}
.flip-container.hover .question {
display: none;
}
.flip-container .flipper {
transform: rotateY(0deg);
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
cursor: pointer;
}
.flip-container, .front, .back {
width: 165px;
height: 157px;
}
.flipper {
position: relative;
transition: 0.6s;
transform-style: preserve-3d;
-webkit-transition: 0.6s;
-webkit-transform-style: preserve-3d;
-moz-transition: 0.6s;
-moz-transform-style: preserve-3d;
-o-transition: 0.6s;
-o-transform-style: preserve-3d;
}
.front, .back {
position: absolute;
top: 0;
left: 0;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
}
.front {
z-index: 2;
display: table;
box-shadow: 2px 2px 5px #888888;
}
/* Different colors for different types of questions */
.front.color_qabasics{
background-color: #9A4EAE;
}
.front.color_testingtypes{
background-color: purple;
}
.front.color_bugs{
background-color: #DA70D6;
}
.front.color_documentation{
background-color: #C54B8C;
}
.front.color_technical{
background-color: #86608E;
}
.front.color_mobile{
background-color: #9370DB;
}
.back {
transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
background-color: #F8F8F8;
display: table;
box-shadow: 2px 2px 5px #888888;
}
/* Table cells magic */
.question {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-weight: bold;
color: #F1F0FF;
padding: 0 5px;
text-align: center;
display: table-cell;
vertical-align: middle;
}
.answer {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 11px;
padding: 0 5px;
text-align: center;
display: table-cell;
vertical-align: middle;
}
.about {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 10px;
}
#about {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 13px;
}
/* Menu */
ul#menu {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
ul#menu li {
position: relative;
/* float: center; */
border-bottom: 4px solid #EFEFEF;
margin-right: 10px;
padding-right: 0px;
padding-bottom: 5px;
display: inline-block;
}
ul#menu .current {
border-bottom:4px solid #3D496A;
}
ul#menu li:hover {
border-bottom:4px solid #3D496A;
}
ul#menu li a {
padding: 2px 2px;
text-decoration: none;
font: bold 13px "Trebuchet MS", Helvetica, sans-serif;
color: #68759C;
}
ul#menu li a:hover {
color: #8895B8;
border: none;
}
#images img{
width: 100%;
}
.images-links {
color: #68759C;
text-decoration: none;
transition: color .25s ease;
}
.images-links:hover {
transition: color .25s ease;
color: #8895B8;
}