-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
76 lines (70 loc) · 1.7 KB
/
index.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
* {
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
}
body {
overflow: hidden;
color: #fff;
background-color: #54c6e0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 900;
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.roll {
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: white;
background-color: #54c6e0;
text-decoration: none;
font-size: 3rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 900;
border: 5px solid #fff;
padding: 0.5em 2em;
border-radius: 3em;
transition: 200ms ease-in-out;
}
.roll:hover {
background-color: #fff;
color: #54c6e0;
}
.names {
font-size: 2.5rem;
}
.winner {
font-size: 4rem;
text-align: center;
}
.winner span {
font-size: 0.35em;
font-weight: 500;
}
.roll-again {
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 700;
padding: 0;
margin-top: 2em;
color: #fff;
border: none;
opacity: 0.5;
transition: 200ms ease-in-out;
}
.roll-again:hover {
opacity: 1;
}
.hide {
display: none;
}