2018-05-26 10:59:29 +00:00
|
|
|
<?php
|
|
|
|
function customizer_css() { ?>
|
|
|
|
<style type="text/css">
|
|
|
|
<?php // Style Settings
|
|
|
|
if ( akina_option('shownav') ) { ?>
|
|
|
|
.site-top .lower nav {display: block !important;}
|
|
|
|
<?php } // Style Settings ?>
|
|
|
|
<?php // theme-skin
|
|
|
|
if ( akina_option('theme_skin') ) { ?>
|
|
|
|
.author-profile i , .post-like a , .post-share .show-share , .sub-text , .we-info a , span.sitename , .post-more i:hover , #pagination a:hover , .post-content a:hover , .float-content i:hover{ color: <?php echo akina_option('theme_skin'); ?> }
|
|
|
|
.feature i , /*.feature-title span ,*/ .download , .navigator i:hover , .links ul li:before , .ar-time i , span.ar-circle , .object , .comment .comment-reply-link , .siren-checkbox-radio:checked + .siren-checkbox-radioInput:after { background: <?php echo akina_option('theme_skin'); ?> }
|
|
|
|
::-webkit-scrollbar-thumb { background: <?php echo akina_option('theme_skin'); ?> }
|
|
|
|
.download , .navigator i:hover , .link-title , .links ul li:hover , #pagination a:hover , .comment-respond input[type='submit']:hover { border-color: <?php echo akina_option('theme_skin'); ?> }
|
2019-01-25 03:27:53 +00:00
|
|
|
.entry-content a:hover , .site-info a:hover , .comment h4 a , #comments-navi a.prev , #comments-navi a.next , .comment h4 a:hover , .site-top ul li a:hover , .entry-title a:hover , #archives-temp h3 , span.page-numbers.current , .sorry li a:hover , .site-title a:hover , i.iconfont.js-toggle-search.iconsearch:hover , .comment-respond input[type='submit']:hover, blockquote:before, blockquote:after { color: <?php echo akina_option('theme_skin'); ?> }
|
|
|
|
|
|
|
|
#aplayer-float .aplayer-lrc-current { color: <?php echo akina_option('theme_skin'); ?> !important}
|
2019-01-02 04:34:58 +00:00
|
|
|
|
|
|
|
.is-active-link::before {
|
|
|
|
background-color: <?php echo akina_option('theme_skin'); ?> !important
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:56:17 +00:00
|
|
|
.insert-image-tips:hover, .insert-image-tips-hover{
|
2019-01-02 04:34:58 +00:00
|
|
|
color: <?php echo akina_option('theme_skin'); ?>;
|
|
|
|
border: 1px solid <?php echo akina_option('theme_skin'); ?>
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:56:17 +00:00
|
|
|
.site-top ul li a:after {
|
2019-01-26 03:25:53 +00:00
|
|
|
background-color: <?php echo akina_option('theme_skin'); ?>
|
2019-01-02 04:56:17 +00:00
|
|
|
}
|
|
|
|
|
2019-01-02 05:15:14 +00:00
|
|
|
.scrollbar,.butterBar-message {
|
2019-01-24 09:01:27 +00:00
|
|
|
background: <?php echo akina_option('theme_skin'); ?> !important
|
2019-01-02 04:56:17 +00:00
|
|
|
}
|
|
|
|
|
2019-01-02 04:34:58 +00:00
|
|
|
#nprogress .spinner-icon{
|
|
|
|
border-top-color: <?php echo akina_option('theme_skin'); ?>;
|
|
|
|
border-left-color: <?php echo akina_option('theme_skin'); ?>
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:56:17 +00:00
|
|
|
#nprogress .bar {
|
|
|
|
background: <?php echo akina_option('theme_skin'); ?>
|
|
|
|
}
|
|
|
|
|
2019-01-26 03:25:53 +00:00
|
|
|
<?php if(akina_option('entry_content_theme') == "sakura"){ ?>
|
|
|
|
.entry-content th {
|
|
|
|
background-color: <?php echo akina_option('theme_skin'); ?>
|
|
|
|
}
|
|
|
|
<?php } ?>
|
|
|
|
|
2018-05-26 10:59:29 +00:00
|
|
|
<?php } // theme-skin ?>
|
|
|
|
<?php // Custom style
|
|
|
|
if ( akina_option('site_custom_style') ) {
|
|
|
|
echo akina_option('site_custom_style');
|
|
|
|
}
|
|
|
|
// Custom style end ?>
|
|
|
|
<?php // liststyle
|
|
|
|
if ( akina_option('list_type') == 'square') { ?>
|
|
|
|
.feature img{ border-radius: 0px; !important; }
|
|
|
|
.feature i { border-radius: 0px; !important; }
|
|
|
|
<?php } // liststyle ?>
|
|
|
|
<?php // comments
|
|
|
|
if ( akina_option('toggle-menu') == 'no') { ?>
|
|
|
|
.comments .comments-main {display:block !important;}
|
|
|
|
.comments .comments-hidden {display:none !important;}
|
|
|
|
<?php } // comments ?>
|
|
|
|
<?php
|
|
|
|
|
2019-01-02 04:03:38 +00:00
|
|
|
if (akina_option('cover_img')) {
|
|
|
|
$imgurl = akina_option('cover_img');
|
|
|
|
} else {
|
2019-01-02 12:59:31 +00:00
|
|
|
$imgurl = get_site_url()."/wp-content/themes/Sakura/cover/index.php";
|
2019-01-02 04:03:38 +00:00
|
|
|
}
|
|
|
|
|
2018-05-26 10:59:29 +00:00
|
|
|
|
|
|
|
$image_api = 'background-image: url("'.$imgurl.'");';
|
|
|
|
$bg_style = akina_option('focus_height') ? 'background-position: center center;background-attachment: inherit;' : '';
|
|
|
|
?>
|
|
|
|
.centerbg{<?php echo $image_api.$bg_style ?>background-position: center center;background-attachment: inherit;}
|
|
|
|
.rotating {
|
|
|
|
-webkit-animation: rotating 6s linear infinite;
|
|
|
|
-moz-animation: rotating 6s linear infinite;
|
|
|
|
-ms-animation: rotating 6s linear infinite;
|
|
|
|
-o-animation: rotating 6s linear infinite;
|
|
|
|
animation: rotating 6s linear infinite;
|
|
|
|
}
|
2018-06-26 07:43:54 +00:00
|
|
|
<?php if(akina_option('comment_info_box_width', '')): ?>
|
|
|
|
.cmt-popup {
|
|
|
|
--widthA: <?php echo akina_option('comment_info_box_width', ''); ?>%;
|
|
|
|
--widthB: calc(var(--widthA) - 71px);
|
|
|
|
--widthC: calc(var(--widthB) / 3);
|
|
|
|
width: var(--widthC);
|
|
|
|
}
|
|
|
|
<?php endif;?>
|
2018-05-26 10:59:29 +00:00
|
|
|
</style>
|
|
|
|
<?php }
|
2019-01-02 12:39:04 +00:00
|
|
|
add_action('wp_head', 'customizer_css');
|