damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

commit d6e65341dc1999a78eda86184bd607a389a0344a
parent 331eeb066b85f9a8b314e53c68c6ae0d1d2c0c5b
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 12 Nov 2022 13:50:05 -0800

web: decrease font sizes by 2px on mobile

looks a bit better

Diffstat:
Mweb/Makefile | 3+++
Mweb/css/styles.css | 5+++++
Mweb/index.html | 6+++---
3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/web/Makefile b/web/Makefile @@ -11,4 +11,7 @@ emojiregex: fake dist: rsync -avzP ./ charon:/www/damus.io/web/ +dist-staging: + rsync -avzP ./ charon:/www/damus.io/web-staging/ + .PHONY: fake diff --git a/web/css/styles.css b/web/css/styles.css @@ -353,6 +353,11 @@ input[type="text"].cw { @media (max-width: 800px){ :root { --navPadding: 2px; + + --fsSmall: 10px; + --fsNormal: 14px; + --fsReduced: 12px; + --fsEnlarged: 16px; } .pfp { diff --git a/web/index.html b/web/index.html @@ -4,15 +4,15 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Damus</title> - <link rel="stylesheet" href="css/styles.css?v=109"> + <link rel="stylesheet" href="css/styles.css?v=111"> <link rel="stylesheet" href="css/damus.css?v=211"> <link rel="stylesheet" href="css/fontawesome.css?v=2"> <script defer src="js/ui/util.js?v=1"></script> - <script defer src="js/ui/render.js?v=1"></script> + <script defer src="js/ui/render.js?v=2"></script> <script defer src="js/noble-secp256k1.js?v=1"></script> <script defer src="js/bech32.js?v=1"></script> <script defer src="js/nostr.js?v=6"></script> - <script defer src="js/damus.js?v=66"></script> + <script defer src="js/damus.js?v=67"></script> </head> <body> <script>