1
1
: root {
2
-
3
- --color-primary : # 6b9080 ; /* Primary color */
4
- --color-background : # eaf4f4 ; /* Background color */
5
- --color-accent : # a4c3b2 ; /* Accent color */
6
-
2
+ --color-primary : # 6b9080 ;
3
+ --color-background : # eaf4f4 ;
4
+ --color-accent : # a4c3b2 ;
7
5
}
8
6
9
7
body {
10
8
font-family : 'Arial' , sans-serif;
11
- display : flex;
12
- justify-content : center;
13
- align-items : center;
14
- height : 100vh ;
15
9
background-color : var (--color-background );
16
10
margin : 0 ;
17
11
padding : 0 ;
18
12
color : # 333 ;
13
+ display : flex;
14
+ justify-content : center;
15
+ align-items : center;
16
+ height : 100vh ;
19
17
}
20
18
21
19
.app-container {
31
29
.title {
32
30
color : var (--color-primary );
33
31
margin-bottom : 20px ;
32
+ font-size : 1.5em ;
34
33
}
35
34
36
35
.status-message {
@@ -61,16 +60,16 @@ label {
61
60
.slider ::-webkit-slider-thumb {
62
61
-webkit-appearance : none;
63
62
appearance : none;
64
- width : 20 px ;
65
- height : 20 px ;
63
+ width : 30 px ;
64
+ height : 30 px ;
66
65
border-radius : 50% ;
67
66
background : var (--color-primary );
68
67
cursor : pointer;
69
68
}
70
69
71
70
.slider ::-moz-range-thumb {
72
- width : 20 px ;
73
- height : 20 px ;
71
+ width : 30 px ;
72
+ height : 30 px ;
74
73
border-radius : 50% ;
75
74
background : var (--color-primary );
76
75
cursor : pointer;
@@ -88,25 +87,47 @@ label {
88
87
background-color : # 007bff ;
89
88
height : 100% ;
90
89
width : 0% ;
91
- transition : width 0.01s ease-out;
92
- }
93
-
94
- .smooth-transition {
95
90
transition : width 0.5s ease-out;
96
91
}
97
92
98
93
.control-button {
99
- padding : 10 px 20 px ;
94
+ padding : 15 px 30 px ;
100
95
background-color : var (--color-primary );
101
96
color : white;
102
97
border : none;
103
98
border-radius : 5px ;
104
99
cursor : pointer;
105
- font-size : 1 em ;
100
+ font-size : 1.2 em ;
106
101
margin-top : 20px ;
107
102
transition : background-color 0.3s ;
108
103
}
109
104
110
105
.control-button : hover {
111
106
background-color : var (--color-accent );
112
- }
107
+ }
108
+
109
+ @media (max-width : 600px ) {
110
+ .app-container {
111
+ width : 100% ;
112
+ padding : 10px ;
113
+ border-radius : 5px ;
114
+ box-shadow : none;
115
+ }
116
+
117
+ .title {
118
+ font-size : 1.8em ;
119
+ }
120
+
121
+ .status-message {
122
+ font-size : 1.4em ;
123
+ }
124
+
125
+ .slider-container , .progress-container {
126
+ padding : 0 10px ;
127
+ }
128
+
129
+ .control-button {
130
+ width : 80% ;
131
+ margin : 10px auto;
132
+ }
133
+ }
0 commit comments