forked from Root-1/flashcards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
55 lines (55 loc) · 796 Bytes
/
main.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
#main {
width: 600px;
margin: 0 auto;
text-align: center;
}
#flashcards {
width: 600px;
height: 300px;
}
#prev, #next {
height: 300px;
line-height: 300px;
font-size: 72px;
width: 50px;
text-decoration: none;
color: black;
text-align: center;
}
#prev:hover, #next:hover {
background: #eee;
color: #333;
}
#prev {
float: left;
}
#next {
float: right;
}
#flashcard {
margin: 0 10px;
padding: 20px;
width: 438px;
height: 258px;
background: #ddd;
float: left;
border: 1px solid black;
border-radius: 5px;
text-align: center;
position: relative;
}
#index {
position: absolute;
top: 10px;
right: 10px;
}
#word {
font-size: 36px;
font-weight: bold;
margin-top: 70px;
}
#defn {
font-size: 20px;
font-style: italic;
margin-top: 20px;
}