-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (102 loc) · 2.12 KB
/
style.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
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:600,700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color: #1e2e3a;
}
.container{
text-align: center;
font-family: monospace;
color: beige;
position: relative;
top: 40px;
display: flex;
flex-direction: column;
align-items: center;
}
h1{
padding: 16px;
font-size: 36px;
color: #f0ffce;
}
h3{
padding: 16px;
font-size: 22px;
position: static;
top: 20px;
}
.button{
width: 50%;
height: 20vh;
border-radius: 3px 3px 32px 32px;
font-size: 60px;
font-family:'Source Sans Pro', sans-serif;
font-weight: bold;
outline: none;
transition: box-shadow 0.4s, font-size 0.4s;
}
.button:hover{
box-shadow: inset 0px 0px 10px black;
font-size: 65px;
}
input[type=number]{
width: 50%;
height: 200px;
font-size: 100px;
text-align:center;
border: 0;
font-family: roboto, sans-serif;
border: 4px solid #4f545d;
border-radius: 32px 32px 3px 3px;
background-color: darkgray;
outline: none;
}
.gewinn{
margin: 0 auto;
position: absolute;
bottom:200pxs;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70vw;
height: 40vw;
text-align: center;
justify-content: center;
background: aliceblue;
display: flex;
font-size: 3vw;
flex-direction: column;
border-radius: 16px;
border: 4px solid #192a56;
box-shadow: 0px 0px 20px ;
line-height: 1.5em;
animation: slide-down 1.4s;
}
@keyframes slide-down{
from{
top: 0px;
} to{
top: 50%;
}
}
.gewinn .play-again{
align-content: center;
align-items: center;
text-align: center;
height: 10vh;
font-size: 5vh;
font-family: roboto, sans-serif;
font-weight: bold;
padding: 8px 20px;
background-color: #40749e;
}
.nachricht{
outline: none;
font-size: 6vh;
}
#hint{
font-family: roboto;
}