move sourcecodepro to ui.css

This commit is contained in:
ed 2021-09-05 18:55:28 +02:00
parent 252c3a7985
commit 396c64ecf7
5 changed files with 7 additions and 11 deletions

View file

@ -814,8 +814,8 @@ if you don't need all the features, you can repack the sfx and save a bunch of s
the features you can opt to drop are
* `ogv`.js, the opus/vorbis decoder which is needed by apple devices to play foss audio files, saves ~192k
* `cm`/easymde, the "fancy" markdown editor, saves ~92k
* `no-fnt`, source-code-pro, the monospace font, saves ~9k
* `no-dd`, the custom mouse cursor for the media player tray tab, saves ~2k
* `fnt`, source-code-pro, the monospace font, saves ~9k
* `dd`, the custom mouse cursor for the media player tray tab, saves ~2k
for the `re`pack to work, first run one of the sfx'es once to unpack it

View file

@ -2,10 +2,6 @@
--grid-sz: 10em;
--grid-ln: 3;
}
@font-face {
font-family: 'scp';
src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), url(/.cpr/deps/scp.woff2) format('woff2');
}
* {
line-height: 1.2em;
}

View file

@ -1,7 +1,3 @@
@font-face {
font-family: 'scp';
src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), url(/.cpr/deps/scp.woff2) format('woff2');
}
html, body {
color: #333;
background: #eee;

View file

@ -1,3 +1,7 @@
@font-face {
font-family: 'scp';
src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), url(/.cpr/deps/scp.woff2) format('woff2');
}
html {
touch-action: manipulation;
}

View file

@ -217,7 +217,7 @@ done
[ $no_fnt ] && {
rm -f copyparty/web/deps/scp.woff2
f=copyparty/web/md.css
f=copyparty/web/ui.css
gzip -d "$f"
sed -r '/scp\.woff2/d' <$f >t
tmv "$f"