Spaces:
Running
Running
Refine theme toggle appearance
Browse files
style.css
CHANGED
|
@@ -358,7 +358,7 @@ html {
|
|
| 358 |
/* THEME TOGGLE */
|
| 359 |
|
| 360 |
.theme-toggle {
|
| 361 |
-
position:
|
| 362 |
top: 16px;
|
| 363 |
right: 18px;
|
| 364 |
z-index: 1000;
|
|
@@ -366,19 +366,21 @@ html {
|
|
| 366 |
display: inline-flex;
|
| 367 |
align-items: center;
|
| 368 |
justify-content: center;
|
| 369 |
-
min-width: 104px;
|
| 370 |
|
| 371 |
-
|
|
|
|
|
|
|
|
|
|
| 372 |
border: 1px solid rgba(23, 32, 51, .22);
|
| 373 |
-
border-radius:
|
| 374 |
|
| 375 |
color: #172033;
|
| 376 |
background: rgba(255, 255, 255, .94);
|
| 377 |
box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
|
| 378 |
|
| 379 |
font: inherit;
|
| 380 |
-
font-size: .
|
| 381 |
-
|
| 382 |
cursor: pointer;
|
| 383 |
|
| 384 |
transition:
|
|
@@ -420,8 +422,8 @@ html[data-theme="night"] .theme-toggle {
|
|
| 420 |
.theme-toggle {
|
| 421 |
top: 10px;
|
| 422 |
right: 10px;
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
font-size: .
|
| 426 |
}
|
| 427 |
}
|
|
|
|
| 358 |
/* THEME TOGGLE */
|
| 359 |
|
| 360 |
.theme-toggle {
|
| 361 |
+
position: absolute;
|
| 362 |
top: 16px;
|
| 363 |
right: 18px;
|
| 364 |
z-index: 1000;
|
|
|
|
| 366 |
display: inline-flex;
|
| 367 |
align-items: center;
|
| 368 |
justify-content: center;
|
|
|
|
| 369 |
|
| 370 |
+
width: 42px;
|
| 371 |
+
height: 42px;
|
| 372 |
+
padding: 0;
|
| 373 |
+
|
| 374 |
border: 1px solid rgba(23, 32, 51, .22);
|
| 375 |
+
border-radius: 50%;
|
| 376 |
|
| 377 |
color: #172033;
|
| 378 |
background: rgba(255, 255, 255, .94);
|
| 379 |
box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
|
| 380 |
|
| 381 |
font: inherit;
|
| 382 |
+
font-size: 1.25rem;
|
| 383 |
+
line-height: 1;
|
| 384 |
cursor: pointer;
|
| 385 |
|
| 386 |
transition:
|
|
|
|
| 422 |
.theme-toggle {
|
| 423 |
top: 10px;
|
| 424 |
right: 10px;
|
| 425 |
+
width: 38px;
|
| 426 |
+
height: 38px;
|
| 427 |
+
font-size: 1.1rem;
|
| 428 |
}
|
| 429 |
}
|