-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (115 loc) · 2.42 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@font-face {
src: url(nameg.ttf);
font-family: time;
}
@font-face {
src: url(digitalism.ttf);
font-family: digital;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100vw;
}
.main {
margin: 0 auto;
height: 100%;
width: 100%;
z-index: 1;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: column;
gap: 0.3rem;
background-image: radial-gradient(circle at center center, rgba(33, 33, 33, 0), rgb(33, 33, 33)), repeating-linear-gradient(135deg, rgb(33, 33, 33) 0px, rgb(33, 33, 33) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(45deg, rgb(56, 56, 56) 0px, rgb(56, 56, 56) 5px, transparent 5px, transparent 6px), linear-gradient(90deg, rgb(33, 33, 33), rgb(33, 33, 33));
}
.button {
background-color: darkcyan;
border: black solid 1px;
padding: 0.7rem 0;
width: 5rem;
color: white;
font-weight: 500;
box-shadow: 0 0 5px white;
}
#count {
margin: auto;
font-size: 6rem;
font-family: time;
font-weight: 500;
filter: drop-shadow(0 0 0.5px white) drop-shadow(0 0 0.5px white) drop-shadow(0 0 0.5px white);
}
.digital {
font-family: digital !important;
}
#reset {
margin-bottom: 30px;
}
.toast {
position: absolute;
font-weight: 700;
text-align: center;
height: 30px;
width: 210px;
background-color: white;
border: gold solid 1px;
top: 140%;
left: 170%;
transform: translate(-50%, -50%);
border-radius: 5px;
opacity: 0;
transition: opacity 1s ease;
}
.toast:before {
content: "";
position: absolute;
height: 20px;
width: 20px;
border: gold solid 1px;
top: -11.5px;
left: 30px;
transform: rotate(45deg);
background-color: inherit;
border-right-color: transparent;
border-bottom-color: transparent;
}
p {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 1rem;
color: black;
z-index: 1;
text-align: center;
position: absolute;
left: 10px;
top: 5px;
}
.show {
opacity: 1;
}
@media (min-width: 768px) {
.main {
gap: 1.3rem;
}
#reset {
margin-bottom: 6rem;
}
.button {
border: black solid 1px;
padding: 1.5rem 0;
width: 15rem;
font-size: 3rem;
font-weight: 500;
}
#count {
font-size: 15rem;
filter: drop-shadow(0 0 1px white) drop-shadow(0 0 1px white) drop-shadow(0 0 1px white);
}
.toast {
left: 110%;
top: 100%;
}
}