Merge pull request #71 from mashirozx/origin
fix logo on login page & homepage cover title
This commit is contained in:
commit
002ace49f6
|
@ -768,7 +768,7 @@ function custom_html() {
|
|||
$(document).ready(function(){
|
||||
$( \'<p><div id="verification-slider"><div id="slider"><div id="slider_bg"></div><span id="label">»</span><span id="labelTip">Slide to Verificate</span></div><input type="hidden" name="verification" value="verification" /></div><p>\' ).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(\'<p class="forgetmenot">Remember Me<input name="rememberme" id="rememberme" value="forever" type="checkbox"><label for="rememberme" style="float: right;margin-top: 5px;transform: scale(2);margin-right: -10px;"></label></p>\');
|
||||
});
|
||||
</script>';
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
<figure id="centerbg" class="centerbg">
|
||||
<?php if ( !akina_option('focus_infos') ){ ?>
|
||||
<div class="focusinfo">
|
||||
<?php if (akina_option('focus_logo')):?>
|
||||
<?php if (akina_option('focus_logo_text')):?>
|
||||
<h1 class="center-text glitch is-glitching Ubuntu-font" data-text="<?php echo akina_option('focus_logo_text', ''); ?>"><?php echo akina_option('focus_logo_text', ''); ?></h1>
|
||||
<?php elseif (akina_option('focus_logo')):?>
|
||||
<div class="header-tou"><a href="<?php bloginfo('url');?>" ><img src="<?php echo akina_option('focus_logo', ''); ?>"></a></div>
|
||||
<?php else :?>
|
||||
<div class="header-tou" ><a href="<?php bloginfo('url');?>"><img src="<?php bloginfo('template_url'); ?>/images/avatar.jpg"></a></div>
|
||||
|
|
16
options.php
16
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'),
|
||||
|
|
15
style.css
15
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue