ChenyuRabbitLove commited on
Commit
cc8d9d3
1 Parent(s): 19514a4

fix: modify css code to check the deployment env

Browse files
Files changed (1) hide show
  1. css/style.css +16 -16
css/style.css CHANGED
@@ -160,27 +160,27 @@ h1::after {
160
  }
161
 
162
  input[type="range"] {
163
- -webkit-appearance: none; /* Removes default styling for Webkit browsers */
164
- height: 20px; /* Makes the track thicker */
165
- background: linear-gradient(#12d2ab, #16a1b1);
166
- box-shadow: 0 0 10px #16a1b1;
167
- border-radius: 20px; /* Round corners of the track */
168
- padding: 20px;
169
- margin: 10px 0;
170
- order: -1;
171
 
172
  }
173
 
174
  /* Styles for the slider thumb for Webkit browsers like Chrome and Safari */
175
  ::-webkit-slider-thumb {
176
- -webkit-appearance: none; /* Overrides default webkit styles */
177
- appearance: none;
178
- height: 24px; /* Height of the thumb */
179
- width: 24px; /* Width of the thumb */
180
- border-radius: 50%; /* Rounded corners of the thumb */
181
- background: #f3b968; /* Background color of the thumb */
182
- margin-top: -6px; /* Ensures the thumb aligns with the track */
183
- box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e;
184
  }
185
 
186
  /* Styles for the slider thumb for Firefox */
 
160
  }
161
 
162
  input[type="range"] {
163
+ -webkit-appearance: none !important; /* Removes default styling for Webkit browsers */
164
+ height: 20px !important; /* Makes the track thicker */
165
+ background: linear-gradient(#12d2ab, #16a1b1) !important;
166
+ box-shadow: 0 0 10px #16a1b1 !important;
167
+ border-radius: 20px !important; /* Round corners of the track */
168
+ padding: 20px !important;
169
+ margin: 10px 0 !important;
170
+ order: -1 !important;
171
 
172
  }
173
 
174
  /* Styles for the slider thumb for Webkit browsers like Chrome and Safari */
175
  ::-webkit-slider-thumb {
176
+ -webkit-appearance: none !important; /* Overrides default webkit styles */
177
+ appearance: none !important;
178
+ height: 24px !important; /* Height of the thumb */
179
+ width: 24px !important; /* Width of the thumb */
180
+ border-radius: 50% !important; /* Rounded corners of the thumb */
181
+ background: #f3b968 !important; /* Background color of the thumb */
182
+ margin-top: -6px !important; /* Ensures the thumb aligns with the track */
183
+ box-shadow: 0px -2px 5px #eb6584 inset, 0px 2px 5px #b7456e !important;
184
  }
185
 
186
  /* Styles for the slider thumb for Firefox */