Compare commits

...

4 Commits

Author SHA1 Message Date
epickiwi 2284bbe43f Updated 2023-12-05 21:05:05 +01:00
epickiwi ecef3c0c26 Added readme 2023-10-29 13:55:17 +01:00
epickiwi c87904b996 Added restart 2023-10-29 13:50:37 +01:00
epickiwi a1499ce26d fi 2023-10-29 13:49:30 +01:00
3 changed files with 17 additions and 9 deletions
+7 -2
View File
@@ -1,3 +1,8 @@
# gitea-customizations # Gitea Customizations
Customizations de git.labolyon.fr Ensemble de customizations pour le gitea du LOL
## Installation
Pour installer les customizations, lancez simplement le script `./install.sh`.
Il s'occupera de copier les fichiers dans `GITEA_CUSTOM`.
+4 -6
View File
@@ -2,11 +2,9 @@
background: black; background: black;
border-bottom: 2px solid yellow; border-bottom: 2px solid yellow;
box-shadow: 0 0 15px rgba(0,0,0,0.5); box-shadow: 0 0 15px rgba(0,0,0,0.5);
margin-bottom: 25px !important;; margin-bottom: 25px !important;
} --color-nav-text: yellow;
--color-nav-hover-bg: rgba(255,255,255,0.5);
#navbar > .item {
--color-text: yellow;
} }
#navbar > .item.active { #navbar > .item.active {
@@ -14,7 +12,7 @@
} }
#navbar > a.item:hover { #navbar > a.item:hover {
background: none; background: none !important;
text-decoration: underline; text-decoration: underline;
} }
+6 -1
View File
@@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
if [ "$GITEA_CUSTOM" == "" ]; then if [ "$GITEA_CUSTOM" == "" ]; then
GITEA_CUSTOM="/var/lib/gitea/custom" GITEA_CUSTOM="/var/lib/gitea/custom"
fi fi
@@ -14,4 +17,6 @@ case "$confirm" in
esac esac
mkdir -p "$GITEA_CUSTOM" mkdir -p "$GITEA_CUSTOM"
cp -v -f "./custom/*" "$GITEA_CUSTOM/" cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
systemctl restart gitea