-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
91 lines (80 loc) · 1.54 KB
/
styles.css
File metadata and controls
91 lines (80 loc) · 1.54 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
header {
position: relative;
background-color: white;
color: #222;
text-align: center;
padding: 40px;
font-size: 50px;
z-index: 1;
}
body {
background-color: #222;
color: white;
text-align: center;
font-size: 30px;
}
.action-message {
margin: 20px;
}
.input {
background-color: #222;
color: white;
font-size: 100px;
text-align: center;
border-style: solid;
border-color: #222;
border-bottom-color: #555;
outline: none;
border-width: 1px;
transition-duration: 0.75s;
}
.input:focus {
border-bottom-color: white;
}
.button {
font-size: 50px;
margin: 50px;
padding: 10px;
background-color: #222;
border-radius: 10px;
border-style: solid;
border-width: 0.5px;
border-color: #555;
color: white;
outline: none;
transition-duration: 0.3s;
}
.button:hover {
cursor: pointer;
background-color: #262626;
}
.result {
font-size: 50px;
}
.game {
display: none;
position: relative;
opacity: -1;
transition: opacity 1s;
transition: 1s;
top: -500px;
}
.div-start_button {
text-align: center;
position: absolute;
opacity: 1;
transition: opacity 0.3s;
width: 100%;
}