From d8053e1dbfb1b0cbe7e3dfc25ba892c56505b096 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Sat, 9 May 2026 08:20:37 -0400 Subject: [PATCH] Adds favicons --- assets/css/site.css | 18 +++++++++--------- layouts/_default/baseof.html | 12 +++++++++++- static/favicon-32.png | Bin 0 -> 2661 bytes static/favicon.svg | 1 + static/img/nyc.ios.svg | 1 - 5 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 static/favicon-32.png create mode 100644 static/favicon.svg delete mode 100644 static/img/nyc.ios.svg diff --git a/assets/css/site.css b/assets/css/site.css index bed9223..76e5b6e 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -8,10 +8,10 @@ --primary: #00b0cd; --secondary: #80c0cc; - --yellow: #ECAF21; - --yellow-body: #E29900; + --yellow: #ecaf21; + --yellow-txt: #e29900; --red: #eb452b; - --red-body: #de342a; + --red-txt: #de342a; --blue: #0070C0; --black: #272727; --green: #03A653; @@ -657,10 +657,10 @@ nav { .problem { &:first-of-type mark { - --mark-color: var(--yellow-body); + --mark-color: var(--yellow-txt); } &:nth-of-type(2) mark { - --mark-color: var(--red-body); + --mark-color: var(--red-txt); } &:nth-of-type(3) mark { --mark-color: var(--green); @@ -776,11 +776,11 @@ mark { padding-bottom: 0.25rem; &[color="yellow"] { - --mark-color: var(--yellow-body); + --mark-color: var(--yellow-txt); } &[color="red"] { - --mark-color: var(--red-body); + --mark-color: var(--red-txt); } &[color="green"] { @@ -802,10 +802,10 @@ span[color="blue"] { color: var(--blue); } span[color="red"] { - color: var(--red-body); + color: var(--red-txt); } span[color="yellow"] { - color: var(--yellow-body); + color: var(--yellow-txt); } span[color="green"] { color: var(--green); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ff38d36..2e89171 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,6 +19,16 @@ {{ end }} + + {{ if fileExists "static/favicon-32.png" }} + + {{ end }} + {{ if fileExists "static/apple-touch-icon.png" }} + + {{ end }} + {{ if and (fileExists "static/android-chrome-192x192.png") (fileExists "static/android-chrome-512x512.png") }} + + {{ end }} {{ with resources.Get "css/site.css" | fingerprint }} {{ end }} @@ -91,4 +101,4 @@ {{ partial "footer.html" . }} - \ No newline at end of file + diff --git a/static/favicon-32.png b/static/favicon-32.png new file mode 100644 index 0000000000000000000000000000000000000000..40d6327b286bddf760a9a15c68d84860c7804464 GIT binary patch literal 2661 zcma)8eN@gqzAFdO#yi0*+YGpGz%GG9&TSt<>YhqBCi zBfudjCeCbBsS8kwk%#Iqg8-iD?1CAXMgXVtWNevHgyv(3#U?bhSguqT7pS8(a9pfM zjF}Gz^eClbnDw}U1SZp}fgArrWX!$AP z_~**tB!KfN%E(8MqM{;JQ5cIb=@3qIbTq=|B3v#LNH9r@fl`^71~SM_;p7mbq}qfT zDU2{M?3}7RqL326Fu)mep6QMArn>{ZrBQ%)SvRpcf4-|OIq(MJvRFvxfk)N*+-!AR+3iR?1yR@Jr zB5=Y4yaQ2$IlNtfq#}{RL})P_U}Q?dHilFpir_>?L@>E5jziX7Ilcljqj-iG17#;c zR{|dH3t;9eK!@#AFpR)}lh9sUzErQ$q3M{0%Ae<2xKBn6x)%X^h44cANTeAsP*bOU zhfc-?}!sIwR$1WA!<2*T!I2J23XiR7kBLO2YRSaSu zMR4huLg#5tBL;ba&~AXjC>&ixFT|;(^!8Ea<0^wr0GpW_RI4h)DL7WE+KZ_P!^_Og zF*wXE(8o9igP(|zARfyii*xQhUn@A~aGk+$j0In%wr5iS8%>0!P>pIF1qI1*q9mcE zic}_4r~?xrfQ4Eu2J&uUgt53_+btm~%0~gs;$~dh@yN?lw#;j1$cvUA&~x5_r3$t) zGQXa|VSd4*1~3UGu)cfVZ|6V|?OhDC^s-ilppdGQ?S7Zyw8mGJnV5SNF5~OqL*DuaL0T%rg_~{0o)+645T+bd@nmEZNufL1OEqp>xOh zXQk&=fmpL5ZEH-+{rGJ2uBZ#uH}oUEhV5Yw-Nx3a8Up?OF1AjKD;jY5u_xEGLF?DK zCDhoezwfEYY0-MgGO{bvud>d?&9vrxEuT31kw$;)<{@c0gXZ^UfZ8wa9j}U+YqB^& z+lSjq2u^8r@RhWl$(B4@V!fAT|7q4wr+?kDrN4&T)-pW%>~HB|yuO^~2dk}<{cYJl zY1FQ{=utPlCpRo9#7He~>J9VtvB#%df;+}=*PT<-pZOq3@)MOx zkL=1{ap-?eSHz{?zu6m|Q1qj$nooaU{>!X;wdUTZk$&rR-OUVN7w{rpX-v!{A;@!$ z{h>kiCj%hJg_Meg%8Y~ms*@EADEtmJ$kBlFjf2UO3l|PFUY68y6+J$pU{B%E#@hqE zDUzl}VI=&?Q&+mrp7CwQvE4W(45-3)g{ZeDxk=V3hGq1(l00EIf9dWwYp(d$WZg-7 za4CA~i?NAYo&`Ho-%FPK{OpOYpfCTh;kf(i@vY>hYtZHLmLo2cWe>$SdFrg8y1KRO zwNP^T5mO}NPYZ9v{}8VkBq2KTw|r#E+#lx28>uaedi;XVYN^yW;thIX&X4G0%6)_;Dm(h)%LU;<8&>3op57ESc4EZ!^+%j3 z=na}6aH4WGROCvtZhg|=-SvgpFKT1|t^SSS>W>g>(|fNQn{fmW8QGg{?os3GdpEykzVq7K zk3PMT^x&Pra%hkabxs`-d&T0Rd0n%DmHUri-_xJ;LDs<;l2e_blN>9hsX1TQmA!xO z-+v0V-k!Oe9i@{=@Q%Q2TBJ2DkP}ztLw$EHY)sjGd*;LDhb4XE?%mK1%jY|3*^o=t zDI*efV?1Y6n+(}TJf5Ao+Fmz`%3A@j}8o{>@2C6_VyPZ7|6|xJZt}VD3!>?pKQy0_kX%&xcdMA literal 0 HcmV?d00001 diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..0eb1c6a --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/nyc.ios.svg b/static/img/nyc.ios.svg deleted file mode 100644 index 8faa3da..0000000 --- a/static/img/nyc.ios.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file