mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Data di creazione e modifica nelle pagine dei post
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
File=twemoji-amazing-local.css
|
||||
|
||||
mkdir -p Scripts.out/Twemoji
|
||||
cd Scripts.out/Twemoji
|
||||
|
||||
@ -12,33 +14,24 @@ rm -rf twemoji
|
||||
wget https://nightly.link/SebastianAigner/twemoji-amazing/workflows/build_css/master/artifact.zip
|
||||
unzip artifact.zip
|
||||
rm artifact.zip
|
||||
mv twemoji-amazing.css twemoji-amazing-local.css
|
||||
mv twemoji-amazing.css $File
|
||||
|
||||
# Replace spaces with tabs, save space
|
||||
sed -i 's/ / /' twemoji-amazing-local.css
|
||||
sed -i 's/ / /' $File
|
||||
# Blank out CDN URL
|
||||
sed -i 's/https:\/\/twemoji.maxcdn.com\/v\/latest\///' twemoji-amazing-local.css
|
||||
sed -i 's/https:\/\/twemoji.maxcdn.com\/v\/latest\///' $File
|
||||
|
||||
# Personal CSS patches
|
||||
cat >> twemoji-amazing-local.css << [EOF]
|
||||
cat >> $File << [EOF]
|
||||
|
||||
/*
|
||||
Personal CSS patches from
|
||||
https://gitlab.com/octtspacc/postoctt
|
||||
https://gitlab.com/octtspacc/sitoctt
|
||||
*/
|
||||
|
||||
.twa span {
|
||||
/* Prevents image and text emoji overlap */
|
||||
font-size: 0px;
|
||||
/* Prevents image and text emoji overlap */
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
[EOF]
|
||||
|
||||
#wget -O "twemoji-amazing-local.css" "https://octtspacc.gitlab.io/sitoctt-assets/twemoji-amazing.css"
|
||||
#sed -i 's/https:\/\/twemoji.maxcdn.com\/v\/latest\///' twemoji-amazing-local.css
|
||||
|
||||
#From="https://twemoji.maxcdn.com/v/latest/svg"
|
||||
#for i in $(grep " background-image: url(" "twemoji-amazing-local.css" | cut -c30- | cut -c${#From}- | rev | cut -c3- | rev)
|
||||
#do
|
||||
# wget -O "$i" "$From/$i"
|
||||
#done
|
||||
|
Reference in New Issue
Block a user