Compare commits
4 Commits
ab31dbd9f1
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
2284bbe43f
|
|||
|
ecef3c0c26
|
|||
|
c87904b996
|
|||
|
a1499ce26d
|
@@ -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`.
|
||||||
@@ -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
@@ -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
|
||||||
Reference in New Issue
Block a user