mirror of
https://ghproxy.net/https://github.com/AlxMedia/microtype.git
synced 2025-08-27 01:06:46 +08:00
Styling tweaks
This commit is contained in:
parent
7989f78b8b
commit
a585eb296a
2 changed files with 10 additions and 7 deletions
|
@ -148,7 +148,10 @@ if ( ! function_exists( 'microtype_dynamic_css' ) ) {
|
|||
.alx-tabs-nav li.active a,
|
||||
.wp-pagenavi a:hover,
|
||||
.wp-pagenavi a:active,
|
||||
.wp-pagenavi span.current { background: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
.wp-pagenavi span.current,
|
||||
.author-bio .bio-avatar:after,
|
||||
.commentlist li.bypostauthor > .comment-body:after,
|
||||
.commentlist li.comment-author-admin > .comment-body:after { background: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
'."\n";
|
||||
}
|
||||
// background color
|
||||
|
|
12
style.css
12
style.css
|
@ -296,7 +296,7 @@ transition: all .2s ease;
|
|||
/* base : headings
|
||||
/* ------------------------------------ */
|
||||
.heading,
|
||||
#reply-title { font-weight: normal; font-size: 18px; font-weight: 600; margin-bottom: 1em; }
|
||||
#reply-title { font-weight: normal; font-size: 18px; text-transform: uppercase; font-weight: 800; margin-bottom: 1em; }
|
||||
.heading i { font-size: 22px; margin-right: 6px; }
|
||||
|
||||
|
||||
|
@ -976,7 +976,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
|
||||
.sharrre-footer .sharrre .share { font-weight: 600; text-transform: uppercase; }
|
||||
.sharrre-footer .sharrre .share span { color: rgba(255,255,255,0.7); }
|
||||
.sharrre-footer .sharrre .share i { font-size: 22px; margin-right: 6px; float: left; position: relative; bottom: -2px; }
|
||||
.sharrre-footer .sharrre .share i { font-size: 22px; margin-right: 6px; float: left; position: relative; }
|
||||
.sharrre-footer .sharrre .count { background: rgba(255,255,255,0.15); float: right; min-width: 10px; padding: 0 10px; text-align: center; border-radius: 3px; }
|
||||
.sharrre-footer .sharrre .count i { font-size: 18px; margin: 3px 0 0; float: none; }
|
||||
|
||||
|
@ -996,7 +996,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
/* ------------------------------------ */
|
||||
.author-bio { background: #f4f4f4; padding: 0 20px 20px; border-radius: 3px; position: relative; color: #777; margin: 40px 0; text-align: center; }
|
||||
.author-bio .bio-avatar { width: 64px; height: auto; position: relative; display: inline-block; margin-top: -32px; }
|
||||
.author-bio .bio-avatar:after { background: #333; position: absolute; right: 0; bottom: 0; padding: 4px 4px; content: "\f303"; color: #fff; font-size: 10px; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; border-radius: 100%; }
|
||||
.author-bio .bio-avatar:after { background: #1da9ff; position: absolute; right: 0; bottom: 0; padding: 4px 4px; content: "\f303"; color: #fff; font-size: 10px; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; border-radius: 100%; }
|
||||
.author-bio .bio-avatar img { display: block; width: 100%; height: auto; border-radius: 100%; }
|
||||
.author-bio p { margin-bottom: 8px; }
|
||||
.author-bio .bio-name { color: #333; font-size: 18px; font-weight: 600; margin: 10px 0; }
|
||||
|
@ -1018,7 +1018,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
|
||||
/* single : post-nav
|
||||
/* ------------------------------------ */
|
||||
.post-nav { background: #f4f4f4; margin-bottom: 40px; }
|
||||
.post-nav { background: #f4f4f4; border-radius: 3px; margin-bottom: 40px; }
|
||||
.post-nav li { width: 50%; display: inline; float: left; }
|
||||
.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; }
|
||||
|
@ -1227,7 +1227,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
|
||||
.comment-tabs { margin-bottom: 30px; }
|
||||
.comment-tabs li { float: left; }
|
||||
.comment-tabs li a { background: #f4f4f4; border-radius: 3px; font-weight: 600; padding: 10px 14px; margin-bottom: 4px; display: block; color: #aaa; }
|
||||
.comment-tabs li a { background: #f4f4f4; border-radius: 3px; font-size: 13px; text-transform: uppercase; font-weight: 800; padding: 10px 14px; margin-bottom: 4px; display: block; color: #aaa; }
|
||||
.comment-tabs li:first-child a { margin-right: 4px; }
|
||||
.comment-tabs li a:hover { color: #333; }
|
||||
.comment-tabs li span { background-color: #fff; padding: 0 6px; margin-left: 8px; -webkit-border-radius: 4px; border-radius: 4px; }
|
||||
|
@ -1263,7 +1263,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
|
||||
/* post author & admin comment */
|
||||
.commentlist li.bypostauthor > .comment-body:after,
|
||||
.commentlist li.comment-author-admin > .comment-body:after { background: #333; display: block; position: absolute; content: "\f303"; color: #fff; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; }
|
||||
.commentlist li.comment-author-admin > .comment-body:after { background: #1da9ff; display: block; position: absolute; content: "\f303"; color: #fff; line-height: 12px; width: 12px; font-style: normal; font-family: "Font Awesome 5 Free"; font-weight: 900; text-align: center; }
|
||||
.commentlist li.comment-author-admin > .comment-body:after { content: "\f005"; /* star for admin */ }
|
||||
.commentlist li.bypostauthor > .comment-body:after,
|
||||
.commentlist li.comment-author-admin > .comment-body:after { top: 32px; left: -28px; font-size: 8px; padding: 2px; border-radius: 100%; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue