Commit 073e2c8 1 parent af4965a commit 073e2c8 Copy full SHA for 073e2c8
File tree 1 file changed +28
-9
lines changed
1 file changed +28
-9
lines changed Original file line number Diff line number Diff line change 8
8
margin : 0 ;
9
9
background-color : # f0f0f0 ;
10
10
}
11
-
12
11
# timer-container {
13
12
text-align : center;
14
13
margin-bottom : 20px ;
15
14
}
16
-
17
15
.timer-item {
18
16
background-color : # ffffff ;
19
17
border-radius : 10px ;
20
18
padding : 2rem ;
21
19
box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.1 );
22
20
transition : background-color 0.3s ease;
23
21
}
24
-
25
22
.timer-item .warning {
26
23
background-color : # ffff99 ; /* Light yellow for warning state */
27
24
}
28
-
29
25
h2 {
30
26
font-size : 2.5rem ;
31
27
margin-bottom : 1rem ;
32
28
color : # 333 ;
33
29
}
34
-
35
30
.time-display {
36
31
font-size : 4rem ;
37
32
font-weight : bold;
38
33
color : # 007bff ;
39
34
}
40
-
41
35
.next-button {
42
36
font-size : 1.2rem ;
43
37
padding : 10px 20px ;
48
42
cursor : pointer;
49
43
transition : background-color 0.3s ;
50
44
}
51
-
52
45
.next-button : hover {
53
46
background-color : # 218838 ;
54
47
}
55
-
56
48
.next-button : disabled {
57
49
background-color : # 6c757d ;
58
50
cursor : not-allowed;
59
51
}
60
-
61
52
footer {
62
53
position : fixed;
63
54
bottom : 10px ;
64
55
right : 10px ;
65
56
display : flex;
66
57
gap : 10px ;
67
58
align-items : center;
59
+ }
60
+
61
+ /* Mobile-specific styles */
62
+ @media (max-width : 600px ) {
63
+ body {
64
+ padding : 1rem ;
65
+ }
66
+ # timer-container {
67
+ width : 100% ;
68
+ }
69
+ # next-item {
70
+ width : 100% ;
71
+ padding : 1rem ;
72
+ }
73
+ }
74
+
75
+ /* Tablet-specific styles */
76
+ @media (min-width : 601px ) and (max-width : 1024px ) {
77
+ body {
78
+ padding : 2rem ;
79
+ }
80
+ # timer-container {
81
+ width : 75% ;
82
+ }
83
+ # next-item {
84
+ width : 70% ;
85
+ padding : 1rem ;
86
+ }
68
87
}
You can’t perform that action at this time.
0 commit comments