-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (107 loc) · 1.91 KB
/
Copy pathstyle.css
File metadata and controls
129 lines (107 loc) · 1.91 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
119
120
121
122
123
124
125
126
127
128
129
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body{
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #141e30, #243b55);
padding: 20px;
}
.container{
width: 100%;
max-width: 420px;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
padding: 40px 30px;
border-radius: 25px;
text-align: center;
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.timer h1{
color: white;
font-size: 55px;
letter-spacing: 3px;
margin-bottom: 35px;
}
.switches{
display: flex;
justify-content: center;
gap: 20px;
}
#btn{
width: 70px;
height: 70px;
border: none;
border-radius: 50%;
font-size: 24px;
cursor: pointer;
transition: 0.3s;
color: white;
}
.switches button:nth-child(1){
background: #ff9800;
}
.switches button:nth-child(2){
background: #4caf50;
}
.switches button:nth-child(3){
background: #f44336;
}
#btn:hover{
transform: scale(1.1);
box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
/* Tablet */
@media (max-width: 768px){
.container{
max-width: 360px;
padding: 35px 25px;
}
.timer h1{
font-size: 45px;
}
#btn{
width: 60px;
height: 60px;
font-size: 20px;
}
}
/* Mobile */
@media (max-width: 480px){
.container{
max-width: 300px;
padding: 30px 20px;
}
.timer h1{
font-size: 35px;
letter-spacing: 2px;
}
.switches{
gap: 15px;
}
#btn{
width: 55px;
height: 55px;
font-size: 18px;
}
}
/* Small Mobile */
@media (max-width: 320px){
.container{
padding: 25px 15px;
}
.timer h1{
font-size: 28px;
}
#btn{
width: 48px;
height: 48px;
font-size: 16px;
}
}