mirror of
https://ghproxy.net/https://github.com/AlxMedia/shapebox.git
synced 2025-08-26 16:35:56 +08:00
Simplify theme-toggle css
This commit is contained in:
parent
ac2c3b86f2
commit
09e4ae4c28
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@
|
|||
#theme-toggle { position: absolute; top: -39px; left: 70px; margin: 0; }
|
||||
#theme-toggle i { float: left; margin: 4px 0 0; }
|
||||
#theme-toggle-btn { width: 64px; height: 32px; margin-left: 32px; }
|
||||
body.dark #theme-toggle-btn:before { top: 2px; left: 34px; margin: 0; }
|
||||
body.dark #theme-toggle-btn:before { top: 2px; left: 34px; }
|
||||
|
||||
.s2 { box-shadow: none; position: relative; width: 100%; text-align: center; top: 0!important; }
|
||||
.s2 .social-links li:before { display: none; }
|
||||
|
|
|
@ -683,7 +683,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
|||
body.dark #theme-toggle .fa-sun { display: none; }
|
||||
body.dark #theme-toggle .fa-moon { display: block; }
|
||||
body.dark #theme-toggle-btn { background: #212226; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
|
||||
body.dark #theme-toggle-btn:before { border-color: #141416; top: 100%; margin-top: -30px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 0 rgba(255,255,255,0.1); }
|
||||
body.dark #theme-toggle-btn:before { border-color: #141416; top: 34px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 0 rgba(255,255,255,0.1); }
|
||||
|
||||
.site-title { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; float: left; line-height: 60px; padding: 10px 0 10px 0; position: relative; z-index: 2; }
|
||||
.site-title a { display: block; color: #333; max-width: 100%; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue