Skip to content

Commit 5121718

Browse files
author
LinuxJava7
committed
increase button roundness and improve look of bottom bar
1 parent ca10522 commit 5121718

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

style.css

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
150150
padding: 0 var(--spacing);
151151
box-sizing: border-box;
152152
margin: 0 auto;
153-
margin-bottom: 1rem;
154153
gap: 0.5rem;
155154
}
156155

@@ -181,7 +180,7 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
181180
transition: all 300ms var(--slickease);
182181
margin: 0;
183182
padding: 0;
184-
border-radius: 24px;
183+
border-radius: calc(var(--rounded-corner) * 2);
185184
background-color: var(--card-bg-color);
186185
color: var(--card-fg-color);
187186
box-sizing: border-box;
@@ -307,7 +306,7 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
307306
display: none;
308307
justify-content: center;
309308
align-items: center;
310-
height: 3.75rem;
309+
height: 4rem;
311310
width: 100%;
312311
position: fixed;
313312
bottom: 0;
@@ -360,29 +359,31 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
360359
color: var(--window-fg-color);
361360
font-weight: bold;
362361
text-decoration: none;
363-
border-radius: 0.6rem;
362+
border-radius: var(--btnsqr);
364363
transition: background-color 0.2s ease, color 0.2s ease;
365364
gap: 0.1rem;
366-
font-size: 0.9rem;
367-
padding: 0.125rem;
365+
font-size: 0.85rem;
366+
padding: 0.15rem;
368367
}
369368

370369
.view-switcher-narrow a:hover,
371370
.view-switcher-narrow a:focus {
372-
background-color: rgba(0, 0, 6, 0.056);
371+
background-color: rgba(0, 0, 6, 0.03);
373372
}
374373

375374
.view-switcher-narrow .current {
376-
background-color: rgba(0, 0, 6, 0.08);
375+
background-color: rgba(0, 0, 6, 0.05);
377376
}
378377

379378
.view-switcher-narrow .current:hover,
380379
.view-switcher-narrow .current:focus {
381-
background-color: rgba(0, 0, 6, 0.136);
380+
background-color: rgba(0, 0, 6, 0.08);
382381
}
383382

384383
.view-switcher-narrow svg {
385384
margin-top: 4px;
385+
width: 1.2rem;
386+
386387
}
387388

388389
/* Header Bar */
@@ -429,7 +430,7 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
429430
color: var(--window-fg-color);
430431
font-weight: bold;
431432
text-decoration: none;
432-
border-radius: 0.65rem;
433+
border-radius: var(--btnsqr);
433434
transition: background-color 0.2s ease, color 0.2s ease;
434435
gap: 0.4rem;
435436
}
@@ -531,7 +532,7 @@ footer {
531532
}
532533

533534
body {
534-
margin-top: 2rem;
535+
margin-top: 3rem;
535536
}
536537

537538
}

0 commit comments

Comments
 (0)