mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-25 08:18:14 +08:00
fix
This commit is contained in:
parent
32f2f71fd1
commit
7f912b2776
@ -716,6 +716,20 @@
|
|||||||
background-color: #21252b !important
|
background-color: #21252b !important
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.entry-content pre table.hljs-ln::-webkit-scrollbar {
|
||||||
|
height: 10x !important;
|
||||||
|
width: 10x !important;
|
||||||
|
background-color: #1d1f21 !important;
|
||||||
|
}
|
||||||
|
.entry-content pre table.hljs-ln::-webkit-scrollbar-track {
|
||||||
|
background-color: #41454a;
|
||||||
|
}
|
||||||
|
.entry-content pre table.hljs-ln::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 10px !important;
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .5) !important;
|
||||||
|
background-color: #21252b !important;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-content pre.highlight-wrap code {
|
.entry-content pre.highlight-wrap code {
|
||||||
background: #1d1f21;
|
background: #1d1f21;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -832,7 +846,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.entry-content pre .hljs-ln {
|
.entry-content pre .hljs-ln {
|
||||||
margin: 6px 0 0 6px !important
|
margin: 6px 0 0 0 !important
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-content pre td .hljs-ln-numbers {
|
.entry-content pre td .hljs-ln-numbers {
|
||||||
@ -853,8 +867,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.entry-content pre .hljs-ln-code .hljs-ln-line {
|
.entry-content pre .hljs-ln-code .hljs-ln-line {
|
||||||
margin-left: 6px;
|
margin-left: 22px;
|
||||||
padding-left: 16px
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-content pre .hljs-ln-code .hljs-ln-line:hover {
|
.entry-content pre .hljs-ln-code .hljs-ln-line:hover {
|
||||||
|
18
options.php
18
options.php
@ -43,11 +43,11 @@ function optionsframework_options() {
|
|||||||
|
|
||||||
// 复选框数组
|
// 复选框数组
|
||||||
$multicheck_array = array(
|
$multicheck_array = array(
|
||||||
'one' => __('椎名真白', 'options_framework_theme'),
|
'one' => __('1', 'options_framework_theme'),
|
||||||
'two' => __('时崎狂三', 'options_framework_theme'),
|
'two' => __('2', 'options_framework_theme'),
|
||||||
'three' => __('西木野真姬', 'options_framework_theme'),
|
'three' => __('3', 'options_framework_theme'),
|
||||||
'four' => __('黑泽露比', 'options_framework_theme'),
|
'four' => __('4', 'options_framework_theme'),
|
||||||
'five' => __('渡边曜', 'options_framework_theme')
|
'five' => __('5', 'options_framework_theme')
|
||||||
);
|
);
|
||||||
|
|
||||||
// 复选框默认值
|
// 复选框默认值
|
||||||
@ -59,7 +59,7 @@ function optionsframework_options() {
|
|||||||
// 背景默认值
|
// 背景默认值
|
||||||
$background_defaults = array(
|
$background_defaults = array(
|
||||||
'color' => '',
|
'color' => '',
|
||||||
'image' => '',
|
'image' => 'https://view.moezx.cc/images/2018/12/23/knights-of-the-frozen-throne-8k-qa.jpg',
|
||||||
'repeat' => 'repeat',
|
'repeat' => 'repeat',
|
||||||
'position' => 'top center',
|
'position' => 'top center',
|
||||||
'attachment'=>'scroll' );
|
'attachment'=>'scroll' );
|
||||||
@ -130,7 +130,7 @@ function optionsframework_options() {
|
|||||||
'name' => __("主题风格", 'akina'),
|
'name' => __("主题风格", 'akina'),
|
||||||
'id' => 'theme_skin',
|
'id' => 'theme_skin',
|
||||||
'std' => "#FE9600",
|
'std' => "#FE9600",
|
||||||
'desc' => __('自定义主题颜色(此功能没有优化,建议使用#FE9600)', ''),
|
'desc' => __('自定义主题颜色', ''),
|
||||||
'type' => "color"
|
'type' => "color"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -263,7 +263,7 @@ function optionsframework_options() {
|
|||||||
'name' => __('页脚信息', 'options_framework_theme'),
|
'name' => __('页脚信息', 'options_framework_theme'),
|
||||||
'desc' => __('页脚说明文字,支持HTML代码', 'options_framework_theme'),
|
'desc' => __('页脚说明文字,支持HTML代码', 'options_framework_theme'),
|
||||||
'id' => 'footer_info',
|
'id' => 'footer_info',
|
||||||
'std' => '© 2018',
|
'std' => 'Copyright © by Mashiro All Rights Reserved.',
|
||||||
'type' => 'textarea');
|
'type' => 'textarea');
|
||||||
|
|
||||||
$options[] = array(
|
$options[] = array(
|
||||||
@ -746,7 +746,7 @@ function optionsframework_options() {
|
|||||||
|
|
||||||
$options[] = array(
|
$options[] = array(
|
||||||
'name' => __('关于', 'options_framework_theme'),
|
'name' => __('关于', 'options_framework_theme'),
|
||||||
'desc' => __('Theme Sakura v'.SAKURA_VERSION.' | <a href="https://2heng.xin/theme-sakura/">主题说明</a> | <a href="https://github.com/mashirozx/Sakura/">源码</a>', 'options_framework_theme'),
|
'desc' => __('Theme Sakura v'.SAKURA_VERSION.' | <a href="https://2heng.xin/theme-sakura/">主题说明</a> | <a href="https://github.com/mashirozx/Sakura/">源码</a><a href="https://github.com/mashirozx/Sakura/releases/latest"><img src="https://img.shields.io/github/release/mashirozx/Sakura.svg?style=flat-square" alt="GitHub release"></a>', 'options_framework_theme'),
|
||||||
'id' => 'theme_intro',
|
'id' => 'theme_intro',
|
||||||
'std' => '',
|
'std' => '',
|
||||||
'type' => 'typography ');
|
'type' => 'typography ');
|
||||||
|
Loading…
Reference in New Issue
Block a user