-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (51 loc) · 2.44 KB
/
index.html
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
<!doctype html><html><head><meta charset="utf-8"><link rel="manifest" href="manifest.json"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="apple-touch-icon" href="icon-192.png"><title>Verben Flashcards</title><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet"><script defer="defer" src="js/main.8e971848d00f8acca15f.js"></script></head><body><div class="card-container"><div class="question"></div><div class="solution"></div></div><div class="actions"><button class="flip">Flip</button> <button class="next">Nächste</button></div><script>if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('service-worker.js');
});
}</script><style>.hidden {
display: none;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Roboto', sans-serif;
}
.card-container {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.question,
.solution {
background-color: #f2f2f2;
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
max-width: 90%;
text-align: center;
margin-bottom: 20px;
font-size: 30px;
}
.actions {
display: flex;
justify-content: space-between;
align-items: center;
width: 90%;
margin-top: 20px;
margin-bottom: 20px;
}
button {
background-color: red;
color: white;
border: none;
padding: 50px;
border-radius: 5px;
cursor: pointer;
font-size: 20px;
}</style></body></html>