mirror of
https://ghproxy.net/https://github.com/AlxMedia/microtype.git
synced 2025-08-27 01:06:46 +08:00
Fix post nav styling
This commit is contained in:
parent
a078178934
commit
5301962f58
2 changed files with 2 additions and 3 deletions
1
dark.css
1
dark.css
|
@ -136,7 +136,6 @@ body:where(.dark) .post-nav li a strong { color: rgba(255,255,255,0.4); }
|
|||
body:where(.dark) .post-nav li a span { color: #fff; }
|
||||
body:where(.dark) .post-nav li a:hover span { color: #fff; }
|
||||
body:where(.dark) .post-nav li a:hover i { color: #fff; }
|
||||
body:where(.dark) .post-nav li.next a { border-left: 1px solid rgba(255,255,255,0.08); }
|
||||
|
||||
@media only screen and (max-width: 719px) {
|
||||
body:where(.dark) .post-nav li.previous { border-top: 1px solid rgba(255,255,255,0.08); }
|
||||
|
|
|
@ -1022,7 +1022,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
/* ------------------------------------ */
|
||||
.post-nav { background: #f4f4f4; margin-bottom: 40px; }
|
||||
.post-nav li { width: 50%; display: inline; float: left; }
|
||||
.post-nav li a { position: relative; display: block; padding-top: 10px; padding-bottom: 20px; }
|
||||
.post-nav li a { position: relative; display: block; padding-top: 20px; padding-bottom: 20px; }
|
||||
.post-nav li i { color: rgba(0,0,0,0.4); font-size: 18px; position: absolute; top: 50%; margin-top: -10px; }
|
||||
.post-nav li a strong { display: block; font-size: 12px; color: rgba(0,0,0,0.4); letter-spacing: 0.5px; font-weight: normal; text-transform: uppercase; }
|
||||
.post-nav li a span { font-size: 16px; font-weight: 600; color: #333; display: block; overflow: hidden; }
|
||||
|
@ -1031,7 +1031,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
.post-nav li.previous { float: left; }
|
||||
.post-nav li.next { float: right; }
|
||||
.post-nav li.previous a { padding-left: 40px; padding-right: 20px; }
|
||||
.post-nav li.next a { border-left: 1px solid rgba(0,0,0,0.08); padding-left: 20px; padding-right: 40px; }
|
||||
.post-nav li.next a { padding-left: 20px; padding-right: 40px; }
|
||||
.post-nav li.previous i { left: 10px; }
|
||||
.post-nav li.next i { right: 10px; }
|
||||
.post-nav li a span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue