From 33c4519c8995d158973c5e41ada0c3c1b0842623 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Sun, 21 Apr 2019 03:45:03 +0800 Subject: [PATCH] fix --- functions.php | 2 +- layouts/imgbox.php | 4 +++- options.php | 16 ++++++++-------- style.css | 15 ++++++++++----- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/functions.php b/functions.php index e90b0cc..c7bbabe 100644 --- a/functions.php +++ b/functions.php @@ -768,7 +768,7 @@ function custom_html() { $(document).ready(function(){ $( \'

»Slide to Verificate

\' ).insertBefore( $( ".submit" ) ); $(\'form\').attr(\'onsubmit\',\'return verificationOK();\'); - $(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); \'); + $(\'h1 a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); \'); $(".forgetmenot").replaceWith(\'

Remember Me

\'); }); '; diff --git a/layouts/imgbox.php b/layouts/imgbox.php index d270858..2393adf 100644 --- a/layouts/imgbox.php +++ b/layouts/imgbox.php @@ -6,7 +6,9 @@
- + +

+
diff --git a/options.php b/options.php index be1a031..64ae758 100644 --- a/options.php +++ b/options.php @@ -139,6 +139,13 @@ function optionsframework_options() { 'desc' => __('最佳高度尺寸130*130px。', 'options_framework_theme'), 'id' => 'focus_logo', 'type' => 'upload'); + + $options[] = array( + 'name' => __('文字版LOGO', 'options_framework_theme'), + 'desc' => __('首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议不要过长,16个字节左右为宜。', 'options_framework_theme'), + 'id' => 'focus_logo_text', + 'std' => '', + 'type' => 'text'); $options[] = array( 'name' => __('logo', 'options_framework_theme'), @@ -201,7 +208,7 @@ function optionsframework_options() { $options[] = array( 'name' => __('首页文章风格', 'akina'), 'id' => 'post_list_style', - 'std' => "standard", + 'std' => "imageflow", 'type' => "radio", 'options' => array( 'standard' => __('标准', ''), @@ -234,13 +241,6 @@ function optionsframework_options() { 'yes' => __('开启', ''), 'no' => __('关闭', '') )); - - $options[] = array( - 'name' => __('评论信息栏宽度调整', 'options_framework_theme'), - 'desc' => __('不知道为什么有人老会搞出问题,求你们不要用那些莫名其妙的插件。。如果出问题了在这里调整,输入一个介于0到100的数字以调整宽度,以免出现框框换行的情况,正常情况下97左右比较正常吧。。如果本来就显示正常的请务必留空!', 'options_framework_theme'), - 'id' => 'comment_info_box_width', - 'std' => '', - 'type' => 'text'); $options[] = array( 'name' => __('文章末尾显示作者信息?', 'options_framework_theme'), diff --git a/style.css b/style.css index e4d3021..962fda6 100644 --- a/style.css +++ b/style.css @@ -3963,7 +3963,7 @@ li.feature-2 { box-sizing: initial; white-space: nowrap } - +/* .header-info:before { content: ""; position: absolute; @@ -3974,7 +3974,7 @@ li.feature-2 { border-style: solid; border-color: transparent transparent rgba(0, 0, 0, .5) transparent } - +*/ .header-info p { margin: 0; font-family: Ubuntu, sans-serif; @@ -8324,9 +8324,13 @@ td.hljs-ln-numbers { font-size: 15px; font-weight: 700 } +.aplayer .aplayer-lrc{ + pointer-events: none; + background:transparent !important +} -.aplayer-lrc { - pointer-events: none +#aplayer-float{ + background:transparent !important } /*cover video*/ @@ -8348,4 +8352,5 @@ td.hljs-ln-numbers { #coverVideo-btn:hover { background: #ddd; color: black; -} \ No newline at end of file +} +