From 4c057f4206350c22a42aa650f9b3de726610da08 Mon Sep 17 00:00:00 2001 From: wuminzhe Date: Mon, 18 Jul 2022 14:41:55 +0800 Subject: [PATCH] Update style --- src/css/custom.scss | 17 ++++++++++++++++- static/img/favicon.ico | Bin 3626 -> 0 bytes static/img/favicon.svg | 17 +++++------------ static/img/logo.svg | 1 - 4 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 static/img/favicon.ico delete mode 100644 static/img/logo.svg diff --git a/src/css/custom.scss b/src/css/custom.scss index 1bd5b331..5dd4f8c1 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -5,6 +5,8 @@ * work well for content-centric websites. */ +@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap'); + /* You can override the default Infima variables here. */ :root { --ifm-color-primary: #ec3783; @@ -14,7 +16,20 @@ --ifm-color-primary-light: #ef5293; --ifm-color-primary-lighter: #f05f9c; --ifm-color-primary-lightest: #f487b4; - --ifm-code-font-size: 95%; + + --ifm-code-font-size: 90%; + --ifm-font-family-base: 'Open Sans'; +} + +.menu__link--sublist:after { + content: ''; + min-width: 1.25rem; + background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem; + filter: var(--ifm-menu-link-sublist-icon-filter); + height: 1.25rem; + transform: rotate(180deg); + width: 1.25rem; + transition: transform var(--ifm-transition-fast) linear; } .docusaurus-highlight-code-line { diff --git a/static/img/favicon.ico b/static/img/favicon.ico deleted file mode 100644 index c01d54bcd39a5f853428f3cd5aa0f383d963c484..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3626 zcmb`Je@s(X6vrR`EK3%b%orErlDW({vnABqA zcfaS{d+xbU5JKp0*;0YOg+;Fl!eT)XRuapIwFLL`=imZCSon$`se`_<%@MB=M~KG+ z=EW^FL`w|Bo>*ktlaS^(fut!95`iG5u=SZ8nfDHO#GaTlH1-XG^;vsjUb^gWTVz0+ z^=WR1wv9-2oeR=_;fL0H7rNWqAzGtO(D;`~cX(RcN0w2v24Y8)6t`cS^_ghs`_ho? z{0ka~1Dgo8TfAP$r*ua?>$_V+kZ!-(TvEJ7O2f;Y#tezt$&R4 zLI}=-y@Z!grf*h3>}DUL{km4R>ya_I5Ag#{h_&?+HpKS!;$x3LC#CqUQ8&nM?X))Q zXAy2?`YL4FbC5CgJu(M&Q|>1st8XXLZ|5MgwgjP$m_2Vt0(J z&Gu7bOlkbGzGm2sh?X`){7w69Y$1#@P@7DF{ZE=4%T0NDS)iH`tiPSKpDNW)zmtn( zw;4$f>k)4$LBc>eBAaTZeCM2(iD+sHlj!qd z2GjRJ>f_Qes(+mnzdA^NH?^NB(^o-%Gmg$c8MNMq&`vm@9Ut;*&$xSD)PKH{wBCEC z4P9%NQ;n2s59ffMn8*5)5AAg4-93gBXBDX`A7S& zH-|%S3Wd%T79fk-e&l`{!?lve8_epXhE{d3Hn$Cg!t=-4D(t$cK~7f&4s?t7wr3ZP z*!SRQ-+tr|e1|hbc__J`k3S!rMy<0PHy&R`v#aJv?`Y?2{avK5sQz%=Us()jcNuZV z*$>auD4cEw>;t`+m>h?f?%VFJZj8D|Y1e_SjxG%J4{-AkFtT2+ZZS5UScS~%;dp!V>)7zi`w(xwSd*FS;Lml=f6hn#jq)2is4nkp+aTrV?)F6N z>DY#SU0IZ;*?Hu%tSj4edd~kYNHMFvS&5}#3-M;mBCOCZL3&;2obdG?qZ>rD|zC|Lu|sny76pn2xl|6sk~Hs{X9{8iBW zwiwgQt+@hi`FYMEhX2 - - favicon - - - - - - - - - - + + Crab-Background + + + \ No newline at end of file diff --git a/static/img/logo.svg b/static/img/logo.svg deleted file mode 100644 index 9db6d0d0..00000000 --- a/static/img/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file