mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Agg. Raccolte: Cose a caso, Videogiochi; Agg. Note
This commit is contained in:
@ -1,37 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
File=twemoji-amazing-local.css
|
||||
|
||||
mkdir -p Scripts.out/Twemoji
|
||||
cd Scripts.out/Twemoji
|
||||
|
||||
# Get latest Twemoji SVGs
|
||||
git clone --depth 1 "https://github.com/twitter/twemoji"
|
||||
mv twemoji/assets/svg svg
|
||||
rm -rf twemoji
|
||||
|
||||
# Get latest Twemoji-Amazing CSS
|
||||
wget https://nightly.link/SebastianAigner/twemoji-amazing/workflows/build_css/master/artifact.zip
|
||||
unzip artifact.zip
|
||||
rm artifact.zip
|
||||
mv twemoji-amazing.css $File
|
||||
|
||||
# Replace spaces with tabs, save space
|
||||
sed -i 's/ / /' $File
|
||||
# Blank out CDN URL
|
||||
sed -i 's/https:\/\/twemoji.maxcdn.com\/v\/latest\///' $File
|
||||
|
||||
# Personal CSS patches
|
||||
cat >> $File << [EOF]
|
||||
|
||||
/*
|
||||
Personal CSS patches from
|
||||
https://gitlab.com/octtspacc/sitoctt
|
||||
*/
|
||||
|
||||
.twa span {
|
||||
/* Prevents image and text emoji overlap */
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
[EOF]
|
Reference in New Issue
Block a user