-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
147 lines (140 loc) · 2.64 KB
/
index.css
File metadata and controls
147 lines (140 loc) · 2.64 KB
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
body {
background-color: rgb(17, 17, 17);
color: #f1f1f1;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin:0;
overflow: hidden;
}
h1 {
font-size: 26px;
}
ul {
padding-left: 0;
margin: 10px 0;
margin-left: 20px;
}
header {
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 0 20px;
background-color: rgb(41, 41, 41);
}
#left-header {
display: flex;
align-items: center;
}
#left-header img {
position: absolute;
z-index: 5;
width: 50px;
cursor: pointer;
}
#left-header h1 {
margin-left: 60px;
}
#menu {
position: absolute;
top: 0;
left: 0;
z-index: 4;
padding: 30px;
padding-top: 50px;
box-sizing: border-box;
max-width: 85vw;
background-color: rgb(41, 41, 41);
font-size: 20px;
border-radius: 20px;
border-top-left-radius: 0;
transition: 200ms;
}
#menu li {
padding: 5px 0;
cursor: pointer;
}
#menu li:hover {
text-decoration: underline;
}
#flashcard-container {
width: 100vw;
height: 100vh;
}
#flashcard {
position: absolute;
left: 50%;
top: 30%;
width: 80%;
z-index: 2;
transform: translate(-50%);
transform-style: preserve-3d;
background-color: rgb(41, 41, 41);
border-radius: 20px;
font-size: 24px;
padding: 50px 0;
box-sizing: border-box;
text-align: center;
user-select: none;
transition: opacity 750ms, transform 200ms;
}
#flashcard.is-flipped {
transform: rotateX(180deg) translate(-50%);
}
#answer {
transform: rotateX(180deg);
}
.side-indicators {
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 20px 0;
}
#false {
padding:10px;
margin:10px;
width: 35px;
font-size: 15px;
text-align: center;
border-radius: 20px;
border: 5px solid red;
color: red;
}
#correct {
padding:10px;
margin:10px;
width: 35px;
font-size: 15px;
text-align: center;
border-radius: 20px;
border: 5px solid green;
color: green;
}
#progress-div {
display: block;
text-align: center;
}
#progress-bar {
display: block;
margin: auto;
height: 5px;
width: calc(100vw - (35px + 10px + 10px)*2 - 100px);
background-color: #f1f1f1;
box-sizing: border-box;
border: 0px solid rgb(41, 41, 41);
}
footer {
position: absolute;
bottom: 0;
z-index: 0;
text-align: center;
width: 100%;
padding-top:20px;
background-color: rgb(24, 24, 24);
}
#overlay {
position: absolute;
top:0;
width: 100vw;
height: 100vh;
z-index: 3;
background-color: rgba(0, 0, 0, 0.7);
}