mirror of
https://ghproxy.net/https://github.com/AlxMedia/microtype.git
synced 2025-08-27 01:06:46 +08:00
More tweaks
This commit is contained in:
parent
cfd3a7cc54
commit
07be31b057
4 changed files with 19 additions and 10 deletions
5
dark.css
5
dark.css
|
@ -22,6 +22,7 @@ body:where(.dark) .box a { border-top: 1px solid rgba(255,255,255,0.06); }
|
|||
body:where(.dark) .box a:hover { background: rgba(0,0,0,0.12); }
|
||||
body:where(.dark) .box-title { color: #fff; }
|
||||
body:where(.dark) .box-date { color: rgba(255,255,255,0.3); }
|
||||
body:where(.dark) .box a:hover .thumb-icon { color: #1f2128; }
|
||||
body:where(.dark) .front-widgets { background: rgba(0,0,0,0.12); border-top: 1px solid rgba(255,255,255,0.06); }
|
||||
|
||||
/* header */
|
||||
|
@ -106,13 +107,13 @@ body:where(.dark) .themeform input[type="reset"],
|
|||
body:where(.dark) .themeform input[type="submit"],
|
||||
body:where(.dark) .themeform button[type="button"],
|
||||
body:where(.dark) .themeform button[type="reset"],
|
||||
body:where(.dark) .themeform button[type="submit"] { background: #fff; color: #000; }
|
||||
body:where(.dark) .themeform button[type="submit"] { }
|
||||
body:where(.dark) .themeform input[type="button"]:hover,
|
||||
body:where(.dark) .themeform input[type="reset"]:hover,
|
||||
body:where(.dark) .themeform input[type="submit"]:hover,
|
||||
body:where(.dark) .themeform button[type="button"]:hover,
|
||||
body:where(.dark) .themeform button[type="reset"]:hover,
|
||||
body:where(.dark) .themeform button[type="submit"]:hover { background: #fff; }
|
||||
body:where(.dark) .themeform button[type="submit"]:hover { }
|
||||
|
||||
body:where(.dark) .themeform.searchform div input { background: #1f2128; }
|
||||
|
||||
|
|
|
@ -138,7 +138,8 @@ if ( ! function_exists( 'microtype_dynamic_css' ) ) {
|
|||
.alx-posts .post-item-category a,
|
||||
.alx-tab li:hover .tab-item-title a,
|
||||
.alx-tab li:hover .tab-item-comment a,
|
||||
.alx-posts li:hover .post-item-title a { color: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
.alx-posts li:hover .post-item-title a,
|
||||
.themeform label .required { color: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
.page-title-inner:before,
|
||||
#theme-toggle-btn:before,
|
||||
#profile-image,
|
||||
|
@ -153,7 +154,13 @@ if ( ! function_exists( 'microtype_dynamic_css' ) ) {
|
|||
.commentlist li.bypostauthor > .comment-body:after,
|
||||
.commentlist li.comment-author-admin > .comment-body:after,
|
||||
.post-tags a:hover,
|
||||
.comment-tabs li.active a { background: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
.comment-tabs li.active a,
|
||||
.themeform input[type="button"],
|
||||
.themeform input[type="reset"],
|
||||
.themeform input[type="submit"],
|
||||
.themeform button[type="button"],
|
||||
.themeform button[type="reset"],
|
||||
.themeform button[type="submit"] { background: '.esc_attr( get_theme_mod('color-1') ).'; }
|
||||
'."\n";
|
||||
}
|
||||
// background color
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<?php if ( $related->have_posts() ): ?>
|
||||
|
||||
<h4 class="heading">
|
||||
<i class="fas fa-hand-point-right"></i><?php esc_html_e('You may also like...','microtype'); ?>
|
||||
<?php esc_html_e('You may also like...','microtype'); ?>
|
||||
</h4>
|
||||
|
||||
<ul class="related-posts group">
|
||||
|
|
11
style.css
11
style.css
|
@ -197,19 +197,19 @@ input, textarea, button, select, label { font-family: inherit; }
|
|||
.themeform input[type="number"]:focus,
|
||||
.themeform select:focus,
|
||||
.themeform textarea:focus { border-color: #ddd; color: #333; -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); box-shadow: 0 0 3px rgba(0,0,0,0.1); }
|
||||
.themeform label .required { color: #333; }
|
||||
.themeform label .required { color: #1da9ff; }
|
||||
.themeform input[type="button"],
|
||||
.themeform input[type="reset"],
|
||||
.themeform input[type="submit"],
|
||||
.themeform button[type="button"],
|
||||
.themeform button[type="reset"],
|
||||
.themeform button[type="submit"] { background: #333; color: #fff; padding: 8px 14px; font-weight: 600; display: inline-block; border: none; cursor: pointer; -webkit-border-radius: 3px; border-radius: 3px; }
|
||||
.themeform button[type="submit"] { background: #1da9ff; color: #fff; font-size: 13px; padding: 10px 14px; font-weight: 800; text-transform: uppercase; display: inline-block; border: none; cursor: pointer; border-radius: 3px; }
|
||||
.themeform input[type="button"]:hover,
|
||||
.themeform input[type="reset"]:hover,
|
||||
.themeform input[type="submit"]:hover,
|
||||
.themeform button[type="button"]:hover,
|
||||
.themeform button[type="reset"]:hover,
|
||||
.themeform button[type="submit"]:hover { background: #333; }
|
||||
.themeform button[type="submit"]:hover { }
|
||||
|
||||
.themeform.searchform div { position: relative; }
|
||||
.themeform.searchform div input { background: #fff; padding-left: 26px; line-height: 20px; }
|
||||
|
@ -869,6 +869,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
.box-comments { opacity: 0; color: #1da9ff; font-size: 30px; width: 30px; position: absolute; right: 0; top: -12px; margin-left: 10px; transition: all 0.3s ease; }
|
||||
.box-comments span { font-size: 12px; font-weight: 600; color: #fff; line-height: 26px; position: absolute; right: 0; top: 0; width: 100%; text-align: center; transition: all 0.3s ease; }
|
||||
.box a:hover .box-comments { opacity: 1; right: 20px; }
|
||||
.box a:hover .thumb-icon { background: #fff; color: #333; }
|
||||
|
||||
.slick-image-slide-wrapper { position: relative; }
|
||||
.slick-image-slide { background: #333; }
|
||||
|
@ -1018,7 +1019,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
|
|||
|
||||
/* single : post-nav
|
||||
/* ------------------------------------ */
|
||||
.post-nav { background: #f4f4f4; border-radius: 3px; margin-bottom: 40px; }
|
||||
.post-nav { background: #f4f4f4; border-radius: 3px; margin-bottom: 60px; }
|
||||
.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 +1228,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-size: 13px; text-transform: uppercase; font-weight: 800; 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: 8px 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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue