-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (103 loc) · 1.9 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (103 loc) · 1.9 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;700&display=swap");
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
display: flex;
justify-content: center;
align-items: center;
font-family: "Poppins", sans-serif;
}
#container {
width: 300px;
height: 300px;
background: #eeede0;
padding: 20px;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
position: relative;
border-style: dotted;
}
#container.started button#start {display:none;}
#start {
border-radius: 4px;
background-color: black;
color: white;
border: none;
font-weight: bold;
cursor: pointer;
outline: none;
padding: 5px;
}
.counter {
font-size: 40px;
}
#timer {
font-size: 40px;
font-weight: bold;
}
#clicker {
font-size: 30px;
width: 100px;
height: 100px;
border-radius: 50%;
outline: none;
background: #8181eb;
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.55);
border: none;
cursor: pointer;
}
#clicker:active {
box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.55) inset;
}
#message {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
/* pointer-events: none; */
display: none;
}
#message span {
display: none;
}
#message.message--success,
#message.message--fail {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: 40px;
}
#message.message--success {
background: #21ebbf;
}
#message.message--success span.win-text {
display: block;
}
#message.message--success div {
display: block;
font-size: 14px;;
}
#message.message--fail {
background: red;
}
#message.message--fail span.lose-text {
display: block;
}
#message button {
cursor: pointer;
outline: none;
border-radius: 4px;
background-color: black;
color: white;
border: none;
font-weight: bold;
padding: 5px;
}