fixed github logo stupidity

This commit is contained in:
Pagwin 2025-02-23 14:00:43 -05:00
parent bbd87b652e
commit 13b7ef625e
3 changed files with 42 additions and 11 deletions

View file

@ -56,6 +56,10 @@ a {
width: fit-content;
height: fit-content;
}
#github_shrink {
transform: scale(0.37);
transform-origin: top left;
}
a.obj-wrapper{
display: block;
}
@ -83,6 +87,7 @@ footer {
gap: 1rem;
align-items: center;
justify-content: center;
max-height: 2rem;
}
.nav-link{

View file

@ -1,5 +1,14 @@
<svg width="98" height="98" xmlns="http://www.w3.org/2000/svg">
<style>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="98"
height="98"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<style
id="style1">
@layer default-color, import-color, base, print;
@layer default-color {
@ -19,12 +28,28 @@
}
}
</style>
<style>
@import url("/static/css/icon-colors.css") layer(import-color);
@import url("/static/css/icon-print.css") layer(print);
<style
id="style2">
@import url(&quot;/static/css/icon-colors.css&quot;) layer(import-color);
@import url(&quot;/static/css/icon-print.css&quot;) layer(print);
</style>
<a href="https://github.com/Pagwin-Fedora" target="_top">
<rect x="0" y="0" class="box" width="98" height="98"/>
<path class="primary_color" d="M16.3 0C7.3 0 0 7.3 0 16.3c0 7.2 4.7 13.3 11.1 15.5.8.1 1.1-.4 1.1-.8v-2.8c-4.5 1-5.5-2.2-5.5-2.2-.7-1.9-1.8-2.4-1.8-2.4-1.5-1 .1-1 .1-1 1.6.1 2.5 1.7 2.5 1.7 1.5 2.5 3.8 1.8 4.7 1.4.1-1.1.6-1.8 1-2.2-3.6-.4-7.4-1.8-7.4-8.1 0-1.8.6-3.2 1.7-4.4-.1-.3-.7-2 .2-4.2 0 0 1.4-.4 4.5 1.7 1.3-.4 2.7-.5 4.1-.5 1.4 0 2.8.2 4.1.5 3.1-2.1 4.5-1.7 4.5-1.7.9 2.2.3 3.9.2 4.3 1 1.1 1.7 2.6 1.7 4.4 0 6.3-3.8 7.6-7.4 8 .6.5 1.1 1.5 1.1 3V31c0 .4.3.9 1.1.8 6.5-2.2 11.1-8.3 11.1-15.5C32.6 7.3 25.3 0 16.3 0z" fill-rule="evenodd" clip-rule="evenodd"/>
</a>
<a
href="https://github.com/Pagwin-Fedora"
target="_top"
id="a2">
<rect
x="0"
y="0"
class="box"
width="98"
height="98"
id="rect2" />
<path
class="primary_color"
d="M 48.850153,0 C 21.877675,0 0,22.487706 0,50.212275 c 0,22.179656 14.085627,40.970753 33.266055,47.74787 2.397554,0.30805 3.296637,-1.232204 3.296637,-2.464407 V 86.870317 C 23.076453,89.950824 20.079511,80.0932 20.079511,80.0932 c -2.09786,-5.852964 -5.394496,-7.393219 -5.394496,-7.393219 -4.495412,-3.080507 0.299695,-3.080507 0.299695,-3.080507 4.795107,0.308051 7.492355,5.236863 7.492355,5.236863 4.495412,7.701269 11.388379,5.544913 14.085627,4.312711 0.299693,-3.388559 1.798165,-5.544915 2.996941,-6.777117 -10.788991,-1.232204 -22.17737,-5.544914 -22.17737,-24.952113 0,-5.544913 1.798165,-9.857624 5.094802,-13.554234 -0.299695,-0.924152 -2.09786,-6.161015 0.599388,-12.938132 0,0 4.195718,-1.232203 13.486239,5.236863 3.896024,-1.232202 8.091742,-1.540253 12.287461,-1.540253 4.195719,0 8.391438,0.616101 12.287462,1.540253 9.29052,-6.469066 13.486239,-5.236863 13.486239,-5.236863 2.697247,6.777117 0.899082,12.01398 0.599388,13.246184 2.996941,3.388558 5.094801,8.009319 5.094801,13.554233 0,19.407199 -11.388379,23.411858 -22.17737,24.644062 1.798165,1.540254 3.296636,4.620761 3.296636,9.241523 v 13.862284 c 0,1.232203 0.899082,2.772457 3.296637,2.464407 C 84.214068,91.183028 98,72.391931 98,50.212275 97.700306,22.487706 75.82263,0 48.850153,0 Z"
fill-rule="evenodd"
clip-rule="evenodd"
id="path2"
style="stroke-width:3.03844" />
</a>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -46,8 +46,9 @@
</div>
<footer>
<div class="socials">
<a class="obj-wrapper" aria-label="Github" href="https://github.com/Pagwin-Fedora"><object aria-label="true"
tabindex="-1" class="icon svg small" data="/static/images/github.svg">
<a class="obj-wrapper" id="github_shrink" aria-label="Github"
href="https://github.com/Pagwin-Fedora"><object aria-label="true" tabindex="-1"
data="/static/images/github.svg">
<a href="https://github.com/Pagwin-Fedora" class="nav-link" aria-hidden="true" tabindex="-1"
width="10" height="10">Github</a>
</object></a>