-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (88 loc) · 1.68 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
font-family: "Poppins", sans-serif;
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
color: #fff;
background: #7f00ff;
background: linear-gradient(to bottom, #7f00ff, #e100ff);
background-attachment: fixed;
min-height: 100vh;
display: flex;
flex-direction: column;
}
h1 {
margin-top: 1.5rem;
}
button {
font-size: 1rem;
background: #7f00ff;
color: #fff;
border: none;
cursor: pointer;
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
height: 48px;
border-radius: 24px;
touch-action: manipulation;
}
button:hover {
filter: hue-rotate(25deg);
}
button:disabled {
pointer-events: none;
filter: saturate(60%);
}
input {
outline: none;
border: none;
text-align: center;
width: 60px;
height: 28px;
border-radius: 14px;
font-weight: 500;
color: #7f00ff;
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
-moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
.container {
width: min(420px, 90%);
margin-inline: auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
.counter {
font-size: clamp(10em, 16em, 14em);
font-weight: 500;
line-height: 1.5;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 20px;
width: 100%;
}
.buttons button:nth-child(-n + 2) {
width: calc(50% - 10px);
}
.buttons button:last-child {
width: 100%;
}
.settings {
width: 100%;
}
.settings p {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}