|
325 | 325 | /* Component Variables */ |
326 | 326 | --rounded-corner: 12px; |
327 | 327 | --btnround: 500px; |
328 | | - --btnsqr: 0.8rem; |
| 328 | + --btnsqr: 0.9rem; |
329 | 329 |
|
330 | 330 | /* Font Settings */ |
331 | 331 | font-family: Inter, sans-serif; |
|
596 | 596 |
|
597 | 597 | /* Button styles for cards */ |
598 | 598 | .card .btn { |
599 | | - max-width: 12rem; |
600 | | - font-size: 80%; |
601 | | - border-radius: var(--btnsqr); |
602 | | - background-color: var(--accent-bg-color); |
603 | | - color: var(--accent-fg-color); |
604 | | - opacity: 1; |
605 | | - font-weight: 600; |
606 | | - font-variation-settings: "wght" 600; |
607 | | - padding: 0.6rem 1.5rem; |
608 | | - display: inline-block; |
609 | | - align-items: center; |
610 | | - gap: 0.5rem; |
611 | | - text-decoration: none; |
612 | | - transition: box-shadow 200ms var(--slickease); |
613 | | - margin: 0.3rem; |
| 599 | + background: var(--view-switcher-accent); |
614 | 600 | border: none; |
615 | | - box-shadow: 0 0 0 0 var(--accent-bg-color); |
616 | | - min-width: 4rem; |
617 | | - vertical-align: middle; |
618 | | - text-align: center; |
619 | | - white-space: nowrap; |
| 601 | + cursor: pointer; |
| 602 | + outline-offset: 4px; |
| 603 | + border-radius: var(--btnsqr); |
| 604 | + max-width: fit-content; |
620 | 605 | } |
621 | 606 |
|
622 | | -.card .btn:hover { |
623 | | - box-shadow: 0 0 0 2px var(--accent-bg-color); |
624 | | - text-decoration: none; |
| 607 | +.btn:hover .front { |
| 608 | + transform: translateY(-6px); |
| 609 | +} |
| 610 | + |
| 611 | +.btn:active .front { |
| 612 | + transform: translateY(-2px); |
| 613 | +} |
| 614 | + |
| 615 | +.front { |
| 616 | + font-size: 1.25rem; |
| 617 | + background: var(--accent-bg-color); |
| 618 | + color: white; |
| 619 | + transform: translateY(-4px); |
| 620 | + padding: 0.6rem 1.5rem; |
| 621 | + border-radius: var(--btnsqr); |
| 622 | + font-size: 80%; |
| 623 | + display: inline-table; |
| 624 | + transition: transform 200ms var(--slickease); |
625 | 625 | } |
626 | 626 |
|
627 | 627 | .card .btn svg { |
@@ -1273,14 +1273,16 @@ <h3 id="gnome">GNOME</h3> |
1273 | 1273 | <p>Linux Desktop Environment</p> |
1274 | 1274 | <p>GNOME is one of my main inspirations for UI and UX design, they do some really great stuff :)</p> |
1275 | 1275 | <a class="btn dark" href="https://www.gnome.org/"> |
1276 | | - <svg width="1rem" height="1rem" viewBox="0 0 100 120" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg"> |
1277 | | - <path d="M 86.068,0 C 61.466,0 56.851,35.041 70.691,35.041 84.529,35.041 110.671,0 86.068,0 Z"></path> |
1278 | | - <path d="M 45.217,30.699 C 52.586,31.149 60.671,2.577 46.821,4.374 32.976,6.171 37.845,30.249 45.217,30.699 Z"></path> |
1279 | | - <path d="M 11.445,48.453 C 16.686,46.146 12.12,23.581 3.208,29.735 -5.7,35.89 6.204,50.759 11.445,48.453 Z"></path> |
1280 | | - <path d="M 26.212,36.642 C 32.451,35.37 32.793,9.778 21.667,14.369 10.539,18.961 19.978,37.916 26.212,36.642 Z"></path> |
1281 | | - <path d="m 58.791,93.913 c 1.107,8.454 -6.202,12.629 -13.36,7.179 C 22.644,83.743 83.16,75.088 79.171,51.386 75.86,31.712 15.495,37.769 8.621,68.553 3.968,89.374 27.774,118.26 52.614,118.26 c 12.22,0 26.315,-11.034 28.952,-25.012 C 83.58,82.589 57.867,86.86 58.791,93.913 Z"></path> |
1282 | | - </svg> |
1283 | | - Visit GNOME |
| 1276 | + <span class="front"> |
| 1277 | + <svg width="1rem" height="1rem" viewBox="0 0 100 120" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg"> |
| 1278 | + <path d="M 86.068,0 C 61.466,0 56.851,35.041 70.691,35.041 84.529,35.041 110.671,0 86.068,0 Z"></path> |
| 1279 | + <path d="M 45.217,30.699 C 52.586,31.149 60.671,2.577 46.821,4.374 32.976,6.171 37.845,30.249 45.217,30.699 Z"></path> |
| 1280 | + <path d="M 11.445,48.453 C 16.686,46.146 12.12,23.581 3.208,29.735 -5.7,35.89 6.204,50.759 11.445,48.453 Z"></path> |
| 1281 | + <path d="M 26.212,36.642 C 32.451,35.37 32.793,9.778 21.667,14.369 10.539,18.961 19.978,37.916 26.212,36.642 Z"></path> |
| 1282 | + <path d="m 58.791,93.913 c 1.107,8.454 -6.202,12.629 -13.36,7.179 C 22.644,83.743 83.16,75.088 79.171,51.386 75.86,31.712 15.495,37.769 8.621,68.553 3.968,89.374 27.774,118.26 52.614,118.26 c 12.22,0 26.315,-11.034 28.952,-25.012 C 83.58,82.589 57.867,86.86 58.791,93.913 Z"></path> |
| 1283 | + </svg> |
| 1284 | + Visit GNOME |
| 1285 | + </span> |
1284 | 1286 | </a> |
1285 | 1287 | </div> |
1286 | 1288 | </div> |
@@ -1311,7 +1313,7 @@ <h3 id="gnome">GNOME</h3> |
1311 | 1313 | </p> |
1312 | 1314 | </footer> |
1313 | 1315 |
|
1314 | | - <!-- This page `/` was built on 2025-07-10T12:37:26.363Z --> |
| 1316 | + <!-- This page `/` was built on 2025-07-10T13:55:55.236Z --> |
1315 | 1317 | <script type="module" src="/linuxjava7.github.io/dist/xbxy_EL6cU.js"></script> |
1316 | 1318 | </body> |
1317 | 1319 | </html> |
0 commit comments