From 9d4d2a1fad27abe853b90cb4bab5ba9ea331fe23 Mon Sep 17 00:00:00 2001 From: Marie Date: Tue, 6 Aug 2024 15:35:52 +0000 Subject: [PATCH] upd: align font with new repo --- .../sharkey-icons/custom-sharkey-icons.svg | Bin 2261 -> 0 bytes .../sharkey-icons/custom-sharkey-icons.ttf | Bin 2180 -> 0 bytes .../sharkey-icons/custom-sharkey-icons.woff | Bin 1520 -> 0 bytes .../assets/fonts/sharkey-icons/shark-font.svg | Bin 0 -> 5213 bytes .../assets/fonts/sharkey-icons/shark-font.ttf | Bin 0 -> 2652 bytes .../fonts/sharkey-icons/shark-font.woff | Bin 0 -> 1736 bytes .../assets/fonts/sharkey-icons/style.css | 117 +++++++++++++++--- 7 files changed, 98 insertions(+), 19 deletions(-) delete mode 100644 packages/backend/assets/fonts/sharkey-icons/custom-sharkey-icons.svg delete mode 100644 packages/backend/assets/fonts/sharkey-icons/custom-sharkey-icons.ttf delete mode 100644 packages/backend/assets/fonts/sharkey-icons/custom-sharkey-icons.woff create mode 100644 packages/backend/assets/fonts/sharkey-icons/shark-font.svg create mode 100644 packages/backend/assets/fonts/sharkey-icons/shark-font.ttf create mode 100644 packages/backend/assets/fonts/sharkey-icons/shark-font.woff diff --git a/packages/backend/assets/fonts/sharkey-icons/custom-sharkey-icons.svg b/packages/backend/assets/fonts/sharkey-icons/custom-sharkey-icons.svg deleted file mode 100644 index 777fe5ab0576ca483d0e6ad6bd4508500fc54b2b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2261 zcmZ{mTW{k=429qGD_9li8?CuXBeiiBXtG!o=w*R!TlCS8oy4eY2bMS4gt!vPk(-V zFVp>veEjYEAAh)%O6&TMcv;t1pRVNB-#>_-`MQ4pb0yX7;c)kDT|YcL%pT%wx4)@B z>=$>p>tU)ftj&-^HO{=BEf33z5ayX&w$uE7jtA$QnVaEqbv<#p-fa)EUe2rG^K{s4 zbh=&a|5`ojdf08JN^W=i^^-1^_xfdCH9pu$JE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P(PYmR`O6kALt0ew2krZ(U!cm)4T6`?N`|EqQYDr2NRT@|9q!`i?hsT#Su==DW~*ZfezDmBo+M z@5GkS!-F9)uX==?>fz||=(*v!m_~b3(8pGt*NpZf>?OOg;|?R)a;<@_)aJ4iw3g{6 z!CHO8Qru&R0*mBX0d)CTajBEbhg68V&Jd@Gs3l{+#B$AyR+5fZ))dE+np1hE9LrNh zVC733cyn++Lx3Z>^_A}Y!?S%*NpGaV{`PR+9`5m|+#c@#*5R&2>t{IGzjAC7tiqid z6f1M;pTW83(*~oFwGIL2xxdHC%OGA9K7n@J!|S~s?vgUl$fx$q{sMN|NG=VkUymh6fRjGq^HpP*sg5c-bg_;AOEC z97{z8?lUenr}z=8C8`^7vop`7@03aC$sQ$ct$f5((coWh7!LbUHBxnAPi)pw$w*i4 zLTlY#3^33AvG`Wis)@(oVyYp6;wD32Q9+OXAJ#z42L%q5D-S9KM~%U-0C^~D#8LlK zN-vYY%O#jE9ZFnHX^D$`C>3l_y*<=UWl>cyNfdn&E*9{5S*Xl!wi)A6tF&0%`x1eS wKa6~`e(EY^w55`TRr(lfrU$p*-tD*d@4mhLnSN8_r@7hq+uXi>s=IgRFJYucc>n+a literal 0 HcmV?d00001 diff --git a/packages/backend/assets/fonts/sharkey-icons/shark-font.ttf b/packages/backend/assets/fonts/sharkey-icons/shark-font.ttf new file mode 100644 index 0000000000000000000000000000000000000000..0fdf04df082cc5724a7c94b19b299cfd5a317040 GIT binary patch literal 2652 zcmd5-OKcle6uo!8@z}AQ#J@C6JaL+FYsXIFG&X9R{%8^?MMOAUGQ5+l|V?{fYfr{WTGTegjlfPjqkkk z?mh3m_wKvCLrg?ox=Jz)O-`Ra+I!0yCgLZcegC=X!Q51M{5;0@F}^TUEiU=)zVii< zbQN-AuCh}4UX4x*z7JCkV5ALs!d>IObr4HaPA-l@e<`oS9T;czzN^PcS z9QQOaKZvnaEnZpTI9f`p1})U8*&j*MI-zA(7`t*k2{=T>{wj z7N^a(_zun?+HGhB8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*oo@Xpl#*T7P4E$jxS zhFFSWJBvIgPt23TXI0H3k^_{ERmO{d(&4Xh+E-9+GZvDcOzstj+|djS+1qr#v7gJ% z;})GZihSXuS6=0nRgNb0?1>kYHUFNwW*m8sA8}q|5U%@tcXF@6!DaZ=tw(4m1>?H^ zBo)oAB)d{gaAbP#mLsc9p_tXreiv?pBQBawJ=T{e@Mtt&O-e=Grh(inf5(+0R@V1a z{8pFWXn*^e5ig3GU9EYRz{FRsjp?%Cij~%g_z1BiT%PCE>%I@Ezdq!;);)aNgDS#fgfE@z8;>zn%Ab7%Kd!Sq_j`6yy>-`{ z1F&t!K-hoATMK?Q?OzPaL_Tp5No^Xdla-|}pPbpRzAG_3Tao_fzSKiif1F>sxSvO# zbZOfZTxcz)9jR@M4z-9Y&Q=6`^Lmv2Ncx*;!1D_OwH+CYn4oFw(J{S!#Hu1nQRA0b ziR-s)Q{_Ro=8}TVLn2(cI>!14{e_#XJzU_ajT7p$j4(;f*T!i<4NJa^@msI&&mEup z)i65vSz+XzW@?lIKS!zxl+vP$+t>@V<6q+kwEbduDUQkx)!}$5?NukCCuQv!_Z_3F zOGo1iR?L>+j{k<4f`|L}n}uczCTzy%l!8tNA#9Ie0tqFNVm(z1%LKaRkDd7^j|-t_ z4+eA8^B@!s+WB`qf*_tf^JoY)2&rzL2jyB9oGf8(m_yOmu_OP~61jK|5(lBk<_feY zuHXZ500ZfKgUSIj2+Cc8dfoNBTh_dO&_Rn660V7H{MEf-p_Zp5e*`&_~*Egf-5e_rASHNVM+Uf_Sap%6I=yO&C2SwFFX!RYl!)! zFE$+fukHuxIp%uqW0^M93!M~S`#@~|rLNSm+v%3)N~PI0#?C4dsidmlt1oNC<)2sP q%NS9*&0apFlp{*`UkxPLD>Ksqd7qd(d)L{IW@h{Spa#q$(*FV$r^5aK literal 0 HcmV?d00001 diff --git a/packages/backend/assets/fonts/sharkey-icons/style.css b/packages/backend/assets/fonts/sharkey-icons/style.css index 4cae7787d4..593337e992 100644 --- a/packages/backend/assets/fonts/sharkey-icons/style.css +++ b/packages/backend/assets/fonts/sharkey-icons/style.css @@ -1,35 +1,114 @@ -@charset "UTF-8"; - @font-face { - font-family: "custom-sharkey-icons"; - src: url("./custom-sharkey-icons.woff") format("woff"), - url("./custom-sharkey-icons.ttf") format("truetype"), - url("./custom-sharkey-icons.svg#custom-sharkey-icons") format("svg"); - font-weight: normal; + font-display: auto; + font-family: "shark-font"; font-style: normal; - font-display: block; + font-weight: normal; + + src: url("./shark-font.woff") format("woff"), url("./shark-font.ttf") format("truetype"), url("./shark-font.svg#shark-font") format("svg"); } .sk-icons { - font-family: "custom-sharkey-icons" !important; - font-style: normal; + display: inline-block; + font-family: "shark-font"; font-weight: normal; + font-style: normal; font-variant: normal; - text-transform: none; + text-rendering: auto; line-height: 1; - speak: none; - -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; } -.sk-icons.sk-shark:before { - content: "\61"; +.sk-icons-lg { + font-size: 1.33333em; + line-height: 0.75em; + vertical-align: -0.0667em; } -.sk-icons.sk-misskey:before { - content: "\62"; +.sk-icons-xs { + font-size: 0.75em; } -.sk-icons.sk-foldermove:before { - content: "\63"; +.sk-icons-sm { + font-size: 0.875em; } + +.sk-icons-1x { + font-size: 1em; +} + +.sk-icons-2x { + font-size: 2em; +} + +.sk-icons-3x { + font-size: 3em; +} + +.sk-icons-4x { + font-size: 4em; +} + +.sk-icons-5x { + font-size: 5em; +} + +.sk-icons-6x { + font-size: 6em; +} + +.sk-icons-7x { + font-size: 7em; +} + +.sk-icons-8x { + font-size: 8em; +} + +.sk-icons-9x { + font-size: 9em; +} + +.sk-icons-10x { + font-size: 10em; +} + +.sk-icons-fw { + text-align: center; + width: 1.25em; +} + +.sk-icons-border { + border: solid 0.08em #eee; + border-radius: 0.1em; + padding: 0.2em 0.25em 0.15em; +} + +.sk-icons-pull-left { + float: left; +} + +.sk-icons-pull-right { + float: right; +} + +.sk-icons.sk-icons-pull-left { + margin-right: 0.3em; +} + +.sk-icons.sk-icons-pull-right { + margin-left: 0.3em; +} + + +.sk-icons.sk-foldermove::before { + content: "\ea01"; +} + +.sk-icons.sk-misskey::before { + content: "\ea02"; +} + +.sk-icons.sk-shark::before { + content: "\ea03"; +} \ No newline at end of file