From ab31dbd9f1a9dd059d2481d2dfc8181eca157c22 Mon Sep 17 00:00:00 2001 From: EpicKiwi Date: Sun, 29 Oct 2023 13:46:51 +0100 Subject: [PATCH] Added customizations --- custom/public/css/lol-global.css | 24 +++ custom/public/img/apple-touch-icon.png | Bin 0 -> 1344 bytes .../public/img/apple-touch-icon.svg | 49 +++--- custom/public/img/favicon.png | Bin 0 -> 4069 bytes logo-2.svg => custom/public/img/favicon.svg | 24 +-- custom/public/img/logo.png | Bin 0 -> 5799 bytes logo-4.svg => custom/public/img/logo.svg | 0 custom/templates/custom/extra_links.tmpl | 1 + custom/templates/custom/header.tmpl | 1 + install.sh | 17 +++ logo-1.svg | 113 -------------- logo-3.svg | 114 -------------- logo.svg | 143 ------------------ 13 files changed, 81 insertions(+), 405 deletions(-) create mode 100644 custom/public/css/lol-global.css create mode 100644 custom/public/img/apple-touch-icon.png rename logo-5.svg => custom/public/img/apple-touch-icon.svg (69%) create mode 100644 custom/public/img/favicon.png rename logo-2.svg => custom/public/img/favicon.svg (74%) create mode 100644 custom/public/img/logo.png rename logo-4.svg => custom/public/img/logo.svg (100%) create mode 100644 custom/templates/custom/extra_links.tmpl create mode 100644 custom/templates/custom/header.tmpl create mode 100755 install.sh delete mode 100644 logo-1.svg delete mode 100644 logo-3.svg delete mode 100644 logo.svg diff --git a/custom/public/css/lol-global.css b/custom/public/css/lol-global.css new file mode 100644 index 0000000..628903f --- /dev/null +++ b/custom/public/css/lol-global.css @@ -0,0 +1,24 @@ +#navbar { + background: black; + border-bottom: 2px solid yellow; + box-shadow: 0 0 15px rgba(0,0,0,0.5); + margin-bottom: 25px !important;; +} + +#navbar > .item { + --color-text: yellow; +} + +#navbar > .item.active { + text-decoration: underline; +} + +#navbar > a.item:hover { + background: none; + text-decoration: underline; +} + +#navbar > .right.menu > .item .text { + --color-text: white; + color: var(--color-text); +} diff --git a/custom/public/img/apple-touch-icon.png b/custom/public/img/apple-touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e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YpUmB^=#|qs;Ux>^ZmEDeVMuZ{j=@w z-rl}&>Cyg`hWYdU=Uw~y`oq`kIm&vn=Z>;feBFclO%L%N`5$B}p&3 z(PmM6X5H%MWy{{2=HdPMz0cb~J?Z>h?!SKx>g&EeRZ~m2ZT8=;(DOMkdF-?-&-k#u z`1vmXvqtJk>Az3-&q!TcsI<-HaOVx + - diff --git a/custom/public/img/favicon.png b/custom/public/img/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..93087b968758f3ef049fa6552ecb25f38d8ab3fb GIT binary patch literal 4069 zcmb7HcT`i)wmtzu6{JT|ib|2FfQo{Vsv<-rv`|73Q27C(bPNh6AXS~wpfezS5 z!di>n$=vJ{Y!;iN4dlR19M1hM-EZlh^;SJL<6UM|tj#4^^}jJ(f>z9MzX1x5c1Dh5@a$~Nz^`aPp(@{aYOY5S?+o-e z73WN}V;EJ6W`tahvn8Jyt5EO7A56OgLum>#T&|=0{xXg%VdQ|&ftG5|P<^S@Y9paw zOSw{)z>N&!FJ;6s;fQg7nEt~v4GLXem2OpIwvo^3`5dyC;o=7pwy)UJblG)swahTM zZb0x{N`H#9DsU-Y{>v}-5#$4wd%B#%l;x&XIFj~C0EaU~(Z5EayjUn9?h1M)L`L{F ztFJ}e?^h!h^sC9GGUGUd!!FM-!)hVRqe1wQen9XToJl}iwrJazKxF0!R6Hj?z!O5k zb4UP*ci~J^SHR$T-p{#)H>z%IzAi1P%A3`npGyQ#jC=Y*($qpPCYxA@X~G-o+3wB< zFGx3aKAtEUacaG6T@8W5>CU3I-WlVsse?&vfNTD9iJ>yFfuc}n&!#E4-?>i@#J_8>?`+sAB-)wMG!3VKd~;I>@g+n=q4oTd4I!astyiE+ zK=NV9-qk=s6|3iG;{;^iJm7n!!EwUYMnTvRju$`P$u@0fDm1zw8Su@*mE4Jlvo@ub zqp^z1bm#!GY_RziDng#g5WzHY_) zKisOiU5=7bDxk*~*}H(bVAU|cqgobKpajY8C4W*&IUauX143`()~#&VgDdwz{QMYK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VnSUw=Pc zQ~yeTA8#YpRr1XOETJg>|8v3o7s}D|*0M88e7)~*uZi~#jN&A9IML2#<3G5j{!5g9 d-eY&A$z%@?!!P@8fmd_@sfW7s=7QtHe*iG#>sSB) literal 0 HcmV?d00001 diff --git a/logo-2.svg b/custom/public/img/favicon.svg similarity index 74% rename from logo-2.svg rename to custom/public/img/favicon.svg index 5e7b1f7..acac578 100644 --- a/logo-2.svg +++ b/custom/public/img/favicon.svg @@ -5,9 +5,9 @@ id="svg2" version="1.1" inkscape:version="1.2.2 (b0a8486541, 2022-12-01)" - width="94.468437" - height="67.160767" - viewBox="0 0 94.468437 67.160767" + width="67.161003" + height="67.161003" + viewBox="0 0 67.161003 67.161004" sodipodi:docname="logo-2.svg" inkscape:export-filename="/home/nwa/Documents/Lyon Open Lab/Collectif LOL/parallax and responsive/images/logo.png" inkscape:export-xdpi="90" @@ -48,13 +48,13 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1485" + inkscape:window-width="1341" inkscape:window-height="927" id="namedview4" showgrid="false" inkscape:zoom="3.5608278" - inkscape:cx="11.37376" - inkscape:cy="15.024596" + inkscape:cx="-2.2466686" + inkscape:cy="15.30543" inkscape:current-layer="svg2" inkscape:window-x="56" inkscape:window-y="50" @@ -67,15 +67,15 @@ inkscape:pagecheckerboard="1" inkscape:deskcolor="#d1d1d1" /> + width="63.193001" + height="63.193001" + x="1.984" + y="1.984" /> diff --git a/custom/public/img/logo.png b/custom/public/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..5205da52d0176e96b489a3206dbb80a7f472c5b0 GIT binary patch literal 5799 zcmeHLYh039w|}&(F~_VayIRzwGO0MyB&Y-`m`*iiWkG7* zEysGx6wQ8D+*Hr=}7t>cKIWw*NX_H8OvI6qc2F14%C?u3sh ztEe0nzBmG}S`u(}C**e2e!B|AbirOky&PG%=R0VsZu?TW zzfp`f&gnY{PlD%8)ccy~LqvgNp+58of=c#-&9*T8_uyY`f^E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QGO9z*_7Xo0wqiIJ3}o2G?N* z7_+@we@ypN@l;o9vRmhe060t?h9N!FeeVf%#<6GJvArib1&)Qt;WRzY-R(^IME%Ag zRH(PF({_SJ*=~ZlP(|q0HW?*~E*HIQ(1)&H)F{O-hA6u`e2!I|AFp0WtRi;(it05z zp~a2zLXHusb705{U0{-M1f=1lVI$^2=y2P|u*u5^Q`H#1D5JS3*~W43XL0XosoK5) zHvdDev!kPGH2lr=Zq1lRBc5!fdQlsOUipT-2Ii6gJb{u3&qn4V@k1SG z;{(b6Ky%R~$NJen#4#Au*|y%<72p_$L$rL+fS|?hit&xrfUu+n2nZ24KFCswV4ef= zBJs;b)auhc+6WloS7m=6z#5i(6T*WQ$)N!F$;VB5Y|b?yCu2X~=lpg}s;z0wUMOPK zBV_wWYe>r0nQ^^-Kd3Wdjn%omyTd^JQNyLUD58tF82SktQZisU@{;G_Uh-%yz|>-G z@* zr)o63D5&29s(NSNX9@s)p;l)qteFq(vaP%-Sx&i*yFoEOwIQ_|w=DIh&B^^(X$8lw z=SIO&t!W=oDsJ0N^?)6E=(C-d%<$v8#8)=vebiaE9Vk5m^rUz`NMc-A^LqJTbX%v>2~@oRCc@*-{1rD8!XO>T;weyq40p~-}AONy2tD@;ABzk9}*(nP`3p70#@ykYs$|>E{?iGJe zqv~aq)$wD*ee2okGhc1Oi>;U?a=`uFGra%HueQSD#C;>e6#TPO?h@nwbPWV+HUhzX zP*d6XY{9{mpz8hO4d=%CvViz@K(j)X-V34&886@05Mj&NpD)aq}~|>nGWLabolyon.fr \ No newline at end of file diff --git a/custom/templates/custom/header.tmpl b/custom/templates/custom/header.tmpl new file mode 100644 index 0000000..6affa03 --- /dev/null +++ b/custom/templates/custom/header.tmpl @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..c8fa087 --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +#!/bin/bash +if [ "$GITEA_CUSTOM" == "" ]; then + GITEA_CUSTOM="/var/lib/gitea/custom" +fi + +echo "" +echo "Customizations will be installed into $GITEA_CUSTOM" +echo "(define GITEA_CUSTOM env to change it)" +echo "" +read -p "Continue (y/N)?" confirm +case "$confirm" in + y|Y ) echo "yes";; + * ) exit 1;; +esac + +mkdir -p "$GITEA_CUSTOM" +cp -v -f "./custom/*" "$GITEA_CUSTOM/" \ No newline at end of file diff --git a/logo-1.svg b/logo-1.svg deleted file mode 100644 index 92fd9eb..0000000 --- a/logo-1.svg +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/logo-3.svg b/logo-3.svg deleted file mode 100644 index 81341d5..0000000 --- a/logo-3.svg +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/logo.svg b/logo.svg deleted file mode 100644 index cd20ac5..0000000 --- a/logo.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - -