From 942bc96b59e2d1395c4b196144e88e91d3f02b68 Mon Sep 17 00:00:00 2001 From: Mario Nachbaur Date: Mon, 13 Oct 2025 19:32:29 +0200 Subject: [PATCH] tweak styles --- src/main.py | 3 ++- src/static/editor.css | 6 ++++++ src/static/favicon-16.png | Bin 323 -> 358 bytes src/static/favicon-32.png | Bin 517 -> 572 bytes src/static/favicon-48.png | Bin 663 -> 716 bytes src/static/style.css | 9 ++++++--- src/templates/editor.html | 19 +++++++++++-------- src/templates/login.html | 2 +- src/templates/profile.html | 1 + 9 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/main.py b/src/main.py index b4bf1d5..f5c3c4f 100644 --- a/src/main.py +++ b/src/main.py @@ -75,7 +75,8 @@ async def page_profile(atid: str): # remove the ?reload parameter return redirect(request.path) - return render_template("profile.html", profile=profile, links=links) + athref = f"at://{did}/at.ligo.actor.links/self" + return render_template("profile.html", profile=profile, links=links, athref=athref) @app.get("/login") diff --git a/src/static/editor.css b/src/static/editor.css index 39e7090..2bd025d 100644 --- a/src/static/editor.css +++ b/src/static/editor.css @@ -4,6 +4,7 @@ link-editor-item { margin-left: -0.25em; margin-right: -0.25em; padding: 0.25em; + background: var(--color-background); border: 1px solid var(--color-border-secondary); border-radius: 2px; } @@ -22,6 +23,11 @@ link-editor-drag-handle { line-height: 100%; font-size: 1.5em; align-items: center; + cursor: grab; +} + +link-editor-drag-handle:active { + cursor: grabbing; } link-editor-buttons { diff --git a/src/static/favicon-16.png b/src/static/favicon-16.png index 28b0de46c6f9c1786d07be3f52a663f67248d949..cadf7edd4a66d8906840dd036c72d736e12caf6f 100644 GIT binary patch delta 281 zcmX@i^o(gjSp9EL7srqa#=Dd4UpEGd9N)h`zKeBZ*POlO$Z zZMtpt-Rg#q0j`GeuB&f8G-ci@9h>X0{;IoT__99j!u0Z+3MU=wJuW_AwV1KM`}ev_ zwpNq=3RX48U3s%cCF#&yU!{|bxeha|HeR?CGIw!Y_MsG0r#|<2{spTKHzrudFZPXH z{)*?{1a>c@vg^tWtud|Xn~!Q7Q>{Lv$hWJ#MD6J3#Vih3`%_`7@G-+lieBQBj0%PuJ5?(&!8fKB|} zUs4MG&jLhy-yL6^X|dqGbW;8to4sM~O*hu;%yx}y(%$fpVWnzQIUTr7_e zG@mUpIoV?h&nuN`t*I_EG#>cz7yVdL|MS%Q5@!8er+q5lnfe$Q7#KWV{an^LB{Ts5 DA-iiy diff --git a/src/static/favicon-32.png b/src/static/favicon-32.png index 03ec8d7af2c1d4050d475175984afd0ac23794da..884bd8718829ddd1ac804293bc396355a22c8fe8 100644 GIT binary patch delta 496 zcmZo=*~2m+tp1{>i(^Oy^0F#020(rJh&t(U$TAuk~`{C!_UC$-!CpGFsGfdv$+P2^A z{G$xB{UXU-{i!Ce{&vF0a3jEbcNml-J99M*Vau@Vh8)+wb}Iz@|?-m$7%0sczBO+PqM;Wc7{I zpc8VP+f)}YWxPK6pJ6W3C;qv7LaFKB6&AfxJp8IboGPE1!wQ@kH46I9 zDo@t)sGS>@$H8FvM>E{bFn-b;y{=UcpZP_UDU~p8nOFP##0H1_{7TO6=NA6V{MpMT zAF%e(#Kh}nVWItV^cXH$Jc+w_un)Ai`H zKEtiu*Vac?|J=gQ_s4REUPD=F(FVay|2jb7T+$FmdKI;Vst E031E$>Hq)$ delta 441 zcmdnP(#kR+tbUfKi(^Oy!tL8w^Nxc=egAzO>{Gi&zgPz?oIc| zm0N1%UFJXew(CK`t((!pkA;)xKa-Q6ceCPB?_;JpGO81&p5L%X>e!b#_dnR5)JiPY zUS>T#X=DvK7nrsp?4ST<{F} zb+|eC$Fe`C2+K_IN#aLyz`SO0AkTg?`!-Ypi%ol}KOL}fS__jk}#@EB*A4+VV`x$Ne zptqFevQ|;)`jcOdd}WyW&s_B#Gm`@Y2g7B?dkm_J+on}Er0if|U|{fc^>bP0l+XkK DWBk#^ diff --git a/src/static/favicon-48.png b/src/static/favicon-48.png index 877777a13554f1f09b245ebb023b01c6509d1336..d018c5401fe306da3a48700e43d653faf606312b 100644 GIT binary patch delta 641 zcmbQvdWLmESbd_Wi(^OyxJIQ2w%&+wW(sYhA4~ny%lS_)$&UGRF?Xt&+@#S7Bz$4>rzV4Is4D^jhC;y z-Ix2kqc!u~ylfW^?mR|6+n&cJp{ilK zF7N+6mGiEY$(gd(Z?e+=)$46%*e$nAFe37Teb@u9=a+7t6$>b}Y&iJ*7JFdR<})Af zFkLvD)>XMf33p9m%aF%!w)LozTCx7zvZOi z&D6}zeGi^l_-ab%#0Y;7@jp=dMNIE}@|E8+Hk{6O)Vuv8$dJ+Ea(<_Og~HO0|DJ7J zuekRFBckyyJqx~AoD<)jKryV$+Tq3}&x z69WVO{G2#D=%mT}U%$4UzVckh-t9lrM#tygN8i86m2_L)Qo?AVcXzqmyM~O94zn0U zY7YBtiLUS1@Ak~R{QA#(LI;Z&HEdq&U%o*9$a9T~%G`-!b2f)?Pvi7ZwSS>mFQhHb zccC;VY~qQK%OQ*>%Kun8evD{3EBy3(;Ezq&6Z^j|(q`~)-ciWQ^YycyWtHrcgvEPL zyKU=QBNpk-oiq2CpYU7n#oMo&WX|7Nw48BK)9zP4u4FiKnX57^=s5MRvqAbEi?)R8 zV$Maeo9noO@nAE%D67hfe=ym+y6DxpN@d^`zpCt81E88z>Dz s{whRFxp7YD6;hB^buiP_e;|H(*`>7mqL&017#J8lUHx3vIVCg!0GB`!%K!iX diff --git a/src/static/style.css b/src/static/style.css index f1639e5..0c56ae8 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -1,5 +1,5 @@ :root { - --color-alert: #aa0000; + --color-alert: #ee0000; --color-background: #fff; --color-background-secondary: #eee; --color-border: #bbb; @@ -128,8 +128,11 @@ li a { } .caption { - font-size: 14px; - line-height: 12px; + font-size: 0.8em; + line-height: 86%; +} + +.faded { color: var(--color-text-secondary); } diff --git a/src/templates/editor.html b/src/templates/editor.html index e1e884d..a3a07bf 100644 --- a/src/templates/editor.html +++ b/src/templates/editor.html @@ -38,7 +38,7 @@ {% if profile_from_bluesky %}

- Profile was fetched from Bluesky. On save it will use an independent, ligo.at only copy. + Profile was fetched from Bluesky. On save it will use an independent, ligo.at only copy.

{% endif %} - + Use your AT Protocol handle to log in. If you're unsure you can log in with Bluesky. diff --git a/src/templates/profile.html b/src/templates/profile.html index 0767c17..b323795 100644 --- a/src/templates/profile.html +++ b/src/templates/profile.html @@ -10,6 +10,7 @@ +
-- 2.51.2