1
0
Fork 0

change "powered by" on landing page to forgejo

home-forgejo-logo
crystal 2023-01-12 14:58:16 -07:00
parent bc220764f8
commit 8f085f2981
2 changed files with 29 additions and 22 deletions
templates
web_src/less

View File

@ -111,18 +111,29 @@
</div>
<div>
<h4>POWERED BY</h4>
<p class="powered-by-gitea">
<svg viewBox="0 0 640 640" role="img" aria-hidden="true" focusable="false">
<g fill="currentColor">
<path
d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"
/>
<path
d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"
/>
</g>
</svg>
Gitea
<p class="powered-by-forgejo">
<a href="https://codeberg.org/forgejo/forgejo" aria-label="Forgejo">
<svg viewBox="0 0 800 300" role="img" aria-hidden="true" focusable="false">
<g fill="currentColor">
<path
d="m 547.1384,242.2469 q -18.8133,0 -33.32,-7.7067 -14.28,-7.9334 -22.44,-21.76 -7.9334,-13.8268 -7.9334,-31.5068 0,-17.68 7.7067,-31.5067 7.7066,-13.8267 21.08,-21.5333 13.6,-7.9334 30.8267,-7.9334 16.32,0 29.24,7.2534 12.92,7.2533 20.6268,20.4 7.9333,12.92 8.3866,30.3734 l -101.7734,19.9466 -0.9067,-13.8266 91.5735,-17.68 -7.0267,9.9733 q 0,-11.3334 -5.2134,-20.4 -4.9866,-9.0667 -14.0533,-14.28 -9.0667,-5.44 -20.8534,-5.44 -12.0133,0 -21.5333,5.44 -9.2934,5.44 -14.5067,15.1866 -5.2134,9.7467 -5.2134,22.8934 0,13.8267 5.6667,24.2534 5.8933,10.2 16.0934,15.8666 10.4266,5.44 24.0267,5.44 10.88,0 19.9467,-3.6266 9.0666,-3.8534 15.64,-11.56 l 10.4267,12.24 q -7.7067,9.52 -19.72,14.5067 -12.0134,4.9866 -26.7468,4.9867 z m 170.1942,-0.2636 q -17.68,0 -31.7333,-7.7066 -13.8267,-7.9334 -21.9867,-21.76 -7.9334,-13.8268 -7.9334,-31.5068 0,-17.9067 7.9333,-31.5067 8.16,-13.8267 21.9867,-21.5334 13.8267,-7.9333 31.7334,-7.9333 17.68,0 31.5067,7.9333 14.0534,7.7067 21.9867,21.5334 7.9334,13.6 7.9334,31.5067 0,17.68 -7.9334,31.5067 -7.9333,13.8267 -21.9867,21.76 -13.8266,7.7067 -31.5067,7.7067 z m 0,-16.5467 q 12.24,0 21.76,-5.44 9.52,-5.6666 14.96,-15.64 5.6668,-10.2 5.6668,-23.3467 0,-13.3733 -5.6667,-23.3467 -5.44,-9.9733 -14.96,-15.4133 -9.52,-5.44 -21.76,-5.44 -12.24,0 -21.7601,5.44 -9.52,5.44 -15.1867,15.4133 -5.44,9.9734 -5.44,23.3467 0,13.1467 5.44,23.3467 5.6667,9.9734 15.1867,15.64 9.52,5.44 21.76,5.44 z M 601.862,285.9567 c -4.9866,0 -9.7466,-0.6044 -14.28,-1.8133 -4.5333,-1.2089 -8.311,-3.0978 -11.3333,-5.6667 l 6.3467,-14.28 c 4.6844,3.7778 10.7289,5.6667 18.1333,5.6667 6.0445,0 10.6534,-1.8134 13.8267,-5.44 3.3245,-3.6267 4.9867,-9.0667 4.9867,-16.32 V 141.1698 h 19.04 v 106.9335 c 0,11.6356 -3.1733,20.8534 -9.52,27.6534 -6.3466,6.8 -15.4133,10.2 -27.2,10.2 z m -196.7145,0 c -10.88,0 -21.4578,-1.5866 -31.7334,-4.76 -10.1245,-3.0222 -18.4356,-7.4044 -24.9334,-13.1467 l 9.52,-14.7333 c 5.5911,4.9867 12.4667,8.9156 20.6267,11.7867 8.3111,2.871 16.9245,4.3066 25.84,4.3066 14.6579,0 25.4623,-3.4755 32.4134,-10.4266 6.9512,-6.8 9.3937,-17.3399 10.4267,-31.5067 l 2,-27.4268 2.2667,-22.2133 -1.5867,-22.2134 8.72,-9.7467 c 11.1802,15.4761 7.4134,50.817 7.4134,79.5602 0,20.8533 -5.1378,36.1156 -15.4134,45.7867 -10.2755,9.8222 -25.4622,14.7333 -45.56,14.7333 z m 1.28,-49.8667 c -11.4845,0 -21.8356,-2.4178 -31.0534,-7.2533 -9.0667,-4.9867 -16.2445,-11.8623 -21.5334,-20.6267 -5.2889,-8.7645 -7.9333,-18.889 -7.9333,-30.3734 0,-11.4845 2.6444,-21.5334 7.9333,-30.1467 5.289,-8.7645 12.4667,-15.5645 21.5334,-20.4 9.2178,-4.8356 19.5689,-7.2534 31.0534,-7.2534 10.4266,0 23.7955,2.1911 32.1067,6.5733 8.4622,4.2312 15.1867,10.6534 20.1733,19.2667 5.1378,8.6134 5.7067,19.2667 5.7067,31.96 0,12.8445 -4.5689,23.5734 -9.7067,32.1868 -4.9866,8.6133 -11.7111,15.1111 -20.1733,19.4934 -8.3112,4.3822 -17.68,6.5733 -28.1067,6.5733 z m -0.1867,-16.7734 c 8.4622,0 15.9422,-1.7377 22.44,-5.2133 6.4978,-3.4756 11.56,-8.3111 15.1867,-14.5067 3.7778,-6.3467 5.6667,-13.6 5.6667,-21.76 0,-8.16 -1.8889,-15.3378 -5.6667,-21.5334 -3.6267,-6.1955 -8.6889,-10.9556 -15.1867,-14.28 -6.4978,-3.4756 -13.9778,-5.2133 -22.44,-5.2133 -8.3111,0 -15.7156,1.7377 -22.2134,5.2133 -6.4978,3.3244 -11.6355,8.0845 -15.4133,14.28 -3.6267,6.1956 -5.44,13.3734 -5.44,21.5334 0,8.16 1.8133,15.4133 5.44,21.76 3.7778,6.1956 8.9155,11.0311 15.4133,14.5067 6.4978,3.4756 13.9023,5.2133 22.2134,5.2133 z M 279.8505,240.85 V 121.1698 h 18.1333 v 32.64 l -1.8133,-7.0266 q 4.9867,-12.92 16.7733,-19.72 11.7867,-7.0267 29.24,-7.0267 v 18.5867 q -1.1332,-0.2267 -2.2666,-0.2267 -1.1333,-0.2266 -2.2666,-0.2266 -17.9067,0 -28.3334,11.1066 -10.4267,10.88 -10.4267,31.28 V 240.85 Z m -77.5237,1.1333 q -17.68,0 -31.7334,-7.7066 -13.8267,-7.9334 -21.9867,-21.76 -7.9333,-13.8268 -7.9333,-31.5068 0,-17.9067 7.9333,-31.5067 8.16,-13.8267 21.9867,-21.5334 13.8267,-7.9333 31.7334,-7.9333 17.68,0 31.5067,7.9333 14.0533,7.7067 21.9867,21.5334 7.9333,13.6 7.9333,31.5067 0,17.68 -7.9333,31.5067 -7.9334,13.8267 -21.9867,21.76 -13.8267,7.7067 -31.5067,7.7067 z m 0,-16.5467 q 12.24,0 21.76,-5.44 9.52,-5.6666 14.96,-15.64 5.6667,-10.2 5.6667,-23.3467 0,-13.3733 -5.6667,-23.3467 -5.44,-9.9733 -14.96,-15.4133 -9.52,-5.44 -21.76,-5.44 -12.24,0 -21.76,5.44 -9.52,5.44 -15.1867,15.4133 -5.44,9.9734 -5.44,23.3467 0,13.1467 5.44,23.3467 5.6666,9.9734 15.1866,15.64 9.52,5.44 21.76,5.44 z"
/>
</g>
<g fill="none" stroke="currentColor">
<path
style="stroke-width:27;stroke-dasharray:none"
d="M 34.15,206.65 V 166.4 a 57.5,57.5 0 0 1 57.5,-57.5 h 23 m -80.5,97.75 v -115 a 57.5,57.5 0 0 1 57.5,-57.5 h 23"
/>
<path
style="stroke-width:16;stroke-dasharray:none"
d="M 53.149955,218.15 A 18.999955,18.999955 0 0 1 34.15,237.14995 18.999955,18.999955 0 0 1 15.150045,218.15 18.999955,18.999955 0 0 1 34.15,199.15004 18.999955,18.999955 0 0 1 53.149955,218.15 Z M 145.14995,108.9 A 18.999955,18.999955 0 0 1 126.15,127.89995 18.999955,18.999955 0 0 1 107.15005,108.9 18.999955,18.999955 0 0 1 126.15,89.900045 18.999955,18.999955 0 0 1 145.14995,108.9 Z m 0,-74.75 A 18.999955,18.999955 0 0 1 126.15,53.149955 18.999955,18.999955 0 0 1 107.15005,34.15 18.999955,18.999955 0 0 1 126.15,15.150045 18.999955,18.999955 0 0 1 145.14995,34.15 Z"
/>
<path
style="stroke-width:13.8"
d="M 645.25,108.9 A 17.25,17.25 0 0 1 628,126.15 17.25,17.25 0 0 1 610.75,108.9 17.25,17.25 0 0 1 628,91.650002 17.25,17.25 0 0 1 645.25,108.9 Z"
/>
</svg>
</a>
</p>
</div>
</div>

View File

@ -398,17 +398,13 @@ main {
margin: .1em 0 0;
line-height: 1;
&.powered-by-gitea {
white-space: nowrap;
svg {
@media screen and (max-width: 420px) {
display: none;
}
&.powered-by-forgejo {
&, & svg {
height: 1em;
float: left;
margin-right: 6px;
}
a {
color: inherit;
}
}
}