This commit is contained in:
24
KirinShiKi/LICENSE
Normal file
24
KirinShiKi/LICENSE
Normal file
@@ -0,0 +1,24 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <http://unlicense.org>
|
||||
207
KirinShiKi/Plugin.php
Normal file
207
KirinShiKi/Plugin.php
Normal file
@@ -0,0 +1,207 @@
|
||||
<?php
|
||||
// if (!defined('__TYPECHO_ROOT_DIR__')) exit;
|
||||
/**
|
||||
* 基于<a href="https://www.ihewro.com/archives/489/">handsome主题</a>的<a href="https://moe.best/">神代綺凜</a>式魔改主题 </br> 更新时间: <span style="color:red">2020-12-26</span>
|
||||
*
|
||||
* @package KirinShiKi
|
||||
* @author Sanakey,JeffersonQin
|
||||
* @version 3.1.1
|
||||
* @link https://github.com/JeffersonQin/KirinShiKi
|
||||
*/
|
||||
class KirinShiKi_Plugin implements Typecho_Plugin_Interface
|
||||
{
|
||||
/**
|
||||
* 激活插件方法,如果激活失败,直接抛出异常
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @throws Typecho_Plugin_Exception
|
||||
*/
|
||||
public static function activate()
|
||||
{
|
||||
Typecho_Plugin::factory('Widget_Archive')->footer = array(__CLASS__, 'footer');
|
||||
return "插件启动成功";
|
||||
}
|
||||
/**
|
||||
* 禁用插件方法,如果禁用失败,直接抛出异常
|
||||
*
|
||||
* @static
|
||||
* @access public
|
||||
* @return void
|
||||
* @throws Typecho_Plugin_Exception
|
||||
*/
|
||||
public static function deactivate()
|
||||
{
|
||||
return "插件禁用成功";
|
||||
}
|
||||
/**
|
||||
* 获取插件配置面板
|
||||
*
|
||||
* @access public
|
||||
* @param Typecho_Widget_Helper_Form $form 配置面板
|
||||
* @return void
|
||||
*/
|
||||
public static function config(Typecho_Widget_Helper_Form $form)
|
||||
{
|
||||
// 插件信息与更新检测
|
||||
$check_update = function($version)
|
||||
{
|
||||
echo "<style>.info{text-align:center; margin:20px 0;} .info > *{margin:0 0 15px} .buttons a{background:#467b96; color:#fff; border-radius:4px; padding: 8px 10px; display:inline-block;}.buttons a+a{margin-left:10px}</style>";
|
||||
echo "<div class='info'>";
|
||||
echo "<h2>神代綺凜式魔改主题插件 (" . $version . ")</h2>";
|
||||
echo "<p>By: <a href='https://github.com/Sanakey'>Sanakey</a>, Modified By: <a href='https://github.com/JeffersonQin/'>JeffersonQin</a></p>";
|
||||
echo "<p class='buttons'><a href='https://keymoe.com/archives/31/'>原插件说明</a>
|
||||
<a href='https://github.com/JeffersonQin/'>查看更新</a></p>";
|
||||
echo "<p>更多说明请点击插件说明或<a href='https://github.com/JeffersonQin/'>点击前往github查看</a>~</p>";
|
||||
|
||||
echo "</div>";
|
||||
};
|
||||
$check_update("3.1.1");
|
||||
|
||||
// 自定义pc背景
|
||||
$pcBg = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'pcBg',
|
||||
NULL,
|
||||
'https://api.btstu.cn/sjbz/?lx=dongman',
|
||||
_t('pc端背景图:'),
|
||||
_t('pc端背景图,请输入图片的地址,为空时不设置背景图片。默认提供随机动漫背景图,<a href="https://www.lxzzz.cn/337.html">想要更多风格请点击</a>')
|
||||
);
|
||||
$form->addInput($pcBg);
|
||||
|
||||
// 自定义手机端背景
|
||||
$mpBg = new Typecho_Widget_Helper_Form_Element_Text(
|
||||
'mpBg',
|
||||
NULL,
|
||||
'https://api.btstu.cn/sjbz/?lx=m_dongman',
|
||||
_t('手机端背景图:'),
|
||||
_t('手机端背景图,请输入图片的地址,为空时不设置背景图片。默认提供随机动漫背景图,<a href="https://www.lxzzz.cn/337.html">想要更多风格请点击</a>')
|
||||
);
|
||||
$form->addInput($mpBg);
|
||||
|
||||
// 是否启用标题卖萌
|
||||
$moeTitle = new Typecho_Widget_Helper_Form_Element_Radio(
|
||||
'moeTitle',
|
||||
array(
|
||||
'0' => _t('否'),
|
||||
'1' => _t('是'),
|
||||
),
|
||||
'1',
|
||||
_t('是否启用标题卖萌'),
|
||||
_t('此选项控制浏览器标签是否启用卖萌标题。')
|
||||
);
|
||||
$form->addInput($moeTitle);
|
||||
|
||||
// 是否启用复制版权提醒
|
||||
$copyTips = new Typecho_Widget_Helper_Form_Element_Radio(
|
||||
'copyTips',
|
||||
array(
|
||||
'0' => _t('否'),
|
||||
'1' => _t('是'),
|
||||
),
|
||||
'1',
|
||||
_t('是否启用复制版权提醒'),
|
||||
_t('开启此选项时,用户在博客内复制时将会弹出版权提醒')
|
||||
);
|
||||
$form->addInput($copyTips);
|
||||
|
||||
// 右下角版权样式
|
||||
$copyrightType = new Typecho_Widget_Helper_Form_Element_Radio(
|
||||
'copyrightType',
|
||||
array(
|
||||
'0' => _t('美化样式'),
|
||||
'1' => _t('文本样式'),
|
||||
),
|
||||
'0',
|
||||
_t('右下角版权样式')
|
||||
);
|
||||
$form->addInput($copyrightType);
|
||||
|
||||
$colorfultags = new Typecho_Widget_Helper_Form_Element_Radio(
|
||||
'colorfultags',
|
||||
array(
|
||||
'0' => _t('否'),
|
||||
'1' => _t('是'),
|
||||
),
|
||||
'1',
|
||||
_t('启用彩色标签云')
|
||||
);
|
||||
$form->addInput($colorfultags);
|
||||
|
||||
// 是否启用了pjax
|
||||
$pjax = new Typecho_Widget_Helper_Form_Element_Radio(
|
||||
'pjax',
|
||||
array(
|
||||
'0' => _t('否'),
|
||||
'1' => _t('是'),
|
||||
),
|
||||
'1',
|
||||
_t('是否启用了PJAX'),
|
||||
_t('如果你启用了pjax,函数将会每次在pjax回调内执行。如果没启用,函数将在页面加载完时执行一次。<b style="color:#f23232">如果你不懂此选项的含义,请跟着handsome主题是否设置了pjax来设置此选项。</b>')
|
||||
);
|
||||
$form->addInput($pjax);
|
||||
}
|
||||
/**
|
||||
* 个人用户的配置面板
|
||||
*
|
||||
* @access public
|
||||
* @param Typecho_Widget_Helper_Form $form
|
||||
* @return void
|
||||
*/
|
||||
public static function personalConfig(Typecho_Widget_Helper_Form $form)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* 页脚输出相关代码
|
||||
*
|
||||
* @access public
|
||||
* @param unknown render
|
||||
* @return unknown
|
||||
*/
|
||||
public static function footer()
|
||||
{
|
||||
// 获取用户配置
|
||||
$options = Helper::options();
|
||||
$pcBg = $options->plugin('KirinShiKi')->pcBg;
|
||||
$mpBg = $options->plugin('KirinShiKi')->mpBg;
|
||||
$moeTitle = $options->plugin('KirinShiKi')->moeTitle;
|
||||
$copyTips = $options->plugin('KirinShiKi')->copyTips;
|
||||
$copyrightType = $options->plugin('KirinShiKi')->copyrightType;
|
||||
// 输出css文件
|
||||
$path = $options->pluginUrl . '/KirinShiKi/';
|
||||
echo '<link rel="stylesheet" type="text/css" href="' . $path . 'css/kirin.css" />';
|
||||
// 输出js文件
|
||||
$src = $options->pluginUrl . '/KirinShiKi/js/kirin.min.js';
|
||||
echo "<script src='$src'></script>";
|
||||
// echo '<script type="text/javascript" src="' . $src . '"></script>';
|
||||
|
||||
$colorfultags = $options->plugin('KirinShiKi')->colorfultags;
|
||||
|
||||
$code = 'setHref(getHref());';
|
||||
if ($colorfultags) {
|
||||
$code .= 'colorfulTags();';
|
||||
}
|
||||
$code .= ($moeTitle ? 'moeTitle();' : '') . ($copyTips ? 'copyTips();' : '');
|
||||
|
||||
$pjax = $options->plugin('KirinShiKi')->pjax;
|
||||
$script = '<script> setCopyright(' . $copyrightType . ');';
|
||||
if ($pjax) { //开启pjax
|
||||
$script .= '$(document).on("ready pjax:end", ' . 'function() { ' . $code . '});';
|
||||
} else {
|
||||
$script .= '$(document).ready(function() {' . $code . '});';
|
||||
}
|
||||
$script .= '</script>';
|
||||
// $script = '<script>$(document).on("ready pjax:end", ' . 'function() {needpjax()});</script>';
|
||||
$css = '<style>
|
||||
#mybg{background-image:url(' . $pcBg . ');}
|
||||
@media screen and (max-width:991px) {
|
||||
#mybg {
|
||||
background-image:url(' . $mpBg . ');
|
||||
}
|
||||
}
|
||||
</style>';
|
||||
|
||||
echo $css;
|
||||
echo $script;
|
||||
}
|
||||
}
|
||||
65
KirinShiKi/README.md
Normal file
65
KirinShiKi/README.md
Normal file
@@ -0,0 +1,65 @@
|
||||
# KirinShiKi
|
||||
|
||||
基于 handsome 主题的神代綺凜式魔改主题插件.
|
||||
|
||||
这是一个Fork后因为与原作者有不同的想法Detach的项目,原址[Sanakey/KirinShiKi](https://github.com/Sanakey/KirinShiKi)。本项目基于原项目进行了进一步修改,修复了时光机的背景问题、限宽问题、以及侧边栏的透明问题和鼠标悬浮效果。如果你有任何疑问,欢迎来我的博客gyrojeff.top或者发送邮件到1247006353@qq.com咨询我。
|
||||
|
||||
## 食用方法
|
||||
|
||||
- 点击右上角绿色的`Clone or download`按钮,`Download ZIP`, 解压文件。
|
||||
- 重命名文件夹为`KirinShiKi`。
|
||||
- 将`KirinShiKi`文件夹上传至 typecho 的插件`usr/plugins`目录。
|
||||
- 登录后台启用`KirinShiKi`插件即可正确食用。
|
||||
|
||||
## 更新
|
||||
|
||||
### 3.1.1
|
||||
|
||||
见博客:
|
||||
- https://gyrojeff.top/index.php/archives/14/
|
||||
- https://gyrojeff.top/index.php/archives/152/
|
||||
|
||||
### 3.0.1
|
||||
|
||||
- 修复背景设置无效的问题
|
||||
|
||||
### 3.0.0
|
||||
|
||||
- 小细节适配 handsome 7.2.1
|
||||
- 适配深色模式,优化深色模式显示
|
||||
- 支持开启盒子模型 (支持 handsome 6.0 以上的版本)
|
||||
- 支持首页不设置头图
|
||||
|
||||
### 2.2.0
|
||||
|
||||
- 添加右下角版权样式切换功能
|
||||
|
||||
### 2.1.0
|
||||
|
||||
- 优化部分代码
|
||||
- 修复文章内没有目录时,右侧栏会自动隐藏的 bug
|
||||
|
||||
### 2.0.0
|
||||
|
||||
- 修复首页两个小头图并行显示中间没有间隔的 bug
|
||||
- 修复已知的 handsome 6.0.0 冲突问题
|
||||
- 优化左上角博客头像边框动画,适应 handsome 6.0.0
|
||||
- 添加文章内图片悬浮放大功能
|
||||
- 添加版权复制提醒,可在插件设置内自行开关
|
||||
- 添加赞赏卖萌背景图
|
||||
- 美化部分字体图标
|
||||
- 以及更多细节优化
|
||||
|
||||
### 1.1.0
|
||||
|
||||
- 删除原打字特效代码,推荐使用更强大的[ActivatePowerMode](https://github.com/AlanDecode/Typecho-Plugin-ActivatePowerMode)。
|
||||
- 添加关闭标题卖萌选项。
|
||||
|
||||
## 主题
|
||||
|
||||
- 预览效果: [Sanakey の小站](https://keymoe.com)
|
||||
- 预览效果: [打工人的奶茶铺](https://gyrojeff.top)
|
||||
|
||||
## 感谢
|
||||
|
||||
[神代綺凜](https://moe.best)
|
||||
252
KirinShiKi/css/kirin.css
Normal file
252
KirinShiKi/css/kirin.css
Normal file
@@ -0,0 +1,252 @@
|
||||
@charset"utf8";
|
||||
.bg-white{max-width:1024px;margin:auto}
|
||||
.comment-respond .panel-default{max-width:1024px;margin:auto}
|
||||
aside.col.w-md.no-border-xs{background:rgba(255,255,255,.9)}
|
||||
aside.col.w-md.no-border-xs:hover{background:rgba(255,255,255,.98)}
|
||||
html.theme-dark .col.asideBar.w-md:hover{background:rgba(0,0,0,.98)}
|
||||
.bg-white{max-width:1024px;margin:auto}
|
||||
.comment-respond .panel-default{max-width:1024px;margin:auto}
|
||||
.wrapper-md>.timeline{max-width:810px;margin-left:auto;margin-right:auto}
|
||||
.badge{color:#fff;background-color:#23b7e5;border-radius:.25em}
|
||||
html.theme-dark .badge{color:#fff;background-color:#23b7e5}
|
||||
.post-tags a{background-color:#23b7e5;color:#fff;border-radius:.25em}
|
||||
html.theme-dark .post-tags a{background-color:#23b7e5;color:#fff}
|
||||
::selection{background:#e74c3c;color:#fff}
|
||||
::-moz-selection{background:#e74c3c;color:#fff}
|
||||
hr{border-top:2px dotted #f05050}
|
||||
#post-content{font-size:15px}
|
||||
#post-content a:not(.btn-rounded){border-bottom:none!important;background-color:transparent;color:#0366d6!important;text-decoration:none}
|
||||
#post-content a:hover:not(.btn-rounded){border-bottom:1px solid #0366d6!important}
|
||||
#post-content a:active:not(.btn-rounded),#post-content a:hover:not(.btn-rounded){outline-width:0}
|
||||
#post-content strong{font-weight:bolder}
|
||||
#post-content{color:#24292e}
|
||||
#post-content p{margin:10px 0 10px 0}
|
||||
#post-content li>p,#post-content ul{margin:0}
|
||||
.no-margin{margin:0!important}
|
||||
::-webkit-scrollbar{width:8px!important;height:8px!important}
|
||||
::-webkit-scrollbar-thumb{border-radius:4px;background-color:#999!important}
|
||||
::-webkit-scrollbar-track-piece{background:#eee!important}
|
||||
::-webkit-scrollbar-thumb:hover{background-color:#777!important}
|
||||
::-webkit-scrollbar-thumb:active{background-color:#555!important}
|
||||
html.theme-dark ::-webkit-scrollbar-track-piece{background:#191919!important}
|
||||
#sidebar>section:not(#tag_toc){opacity:1}
|
||||
.ophide{opacity:0!important}
|
||||
#toc{max-height:calc(100vh - 120px)!important}
|
||||
.navbar-header{box-shadow:-2px 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05)}
|
||||
#header>.collapse{box-shadow:2px 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05)}
|
||||
.entry-content{background-color:transparent}
|
||||
.panel-small .pos50t-meta{padding-left:25px;padding-right:25px}
|
||||
.b-light{border-color:#bbb4}
|
||||
.tip:before{margin-top:0!important}
|
||||
#post-panel>div.blog-post>.panel-small,#post-panel>div.blog-post>.panel:not(.b-a){transition:all .2s;box-shadow:1px 1px 3px 1px rgba(0,0,0,.2)!important}
|
||||
#post-panel>div.blog-post>.panel-small:hover,#post-panel>div.blog-post>.panel:not(.b-a):hover{box-shadow:1px 1px 5px 2px rgba(0,0,0,.3)!important}
|
||||
.list-group-item{background-color:rgba(255,255,255,.8)}
|
||||
#post-content,#post-panel,#sidebar,#tag_toc,#widget-tabs-4-comments .list-group-item{background-color:transparent!important}
|
||||
#alllayout.app-aside-folded .tooltip{display:none!important}
|
||||
#mybg{background-image:url(https://api.btstu.cn/sjbz/?lx=dongman);background-size:cover;background-position:right bottom;background-repeat:no-repeat;position:fixed;z-index:-1;top:50px;left:0;right:0;bottom:0}
|
||||
.standpage{width:100%;height:calc(100% - 50px);position:fixed;top:50px;left:0}
|
||||
.standpage,aside,aside *{transition:all .3s}
|
||||
@media screen and (min-width:768px){
|
||||
#mybg,.standpage{left:200px}
|
||||
.standpage{height:calc(100% - 101px);width:calc(100% - 200px)}
|
||||
.app-aside-folded #mybg,.app-aside-folded .standpage{left:60px}
|
||||
.app-aside-folded .standpage{width:calc(100% - 60px)}
|
||||
}
|
||||
.m-t-lg.m-b-lg,.wrapper-md>#comments,.wrapper-md>.blog-post,.wrapper-md>.breadcrumb,.wrapper-md>.no_search_result{max-width:810px;margin-left:auto;margin-right:auto}
|
||||
#post-panel>div.blog-post>.panel,#post-panel>div.blog-post>.panel-small,.wrapper-md>#comments,.wrapper-md>.breadcrumb{background-color:rgba(255,255,255,.9)}
|
||||
html.theme-dark #alllayout.container #aside,html.theme-dark #post-panel>div.blog-post>.panel,html.theme-dark #post-panel>div.blog-post>.panel-small,html.theme-dark .col.asideBar.w-md,html.theme-dark .navbar-collapse.collapse,html.theme-dark .wrapper-md>#comments,html.theme-dark .wrapper-md>.breadcrumb{background-color:rgba(0,0,0,.8)}
|
||||
html.theme-dark #toc{background:rgba(0,0,0,.3)}
|
||||
html.theme-dark body{color:#c1c1c1}
|
||||
.nav-tabs li:nth-child(1) svg{color:#ef002c}
|
||||
.nav-tabs li:nth-child(2) svg{color:#71bef1}
|
||||
.nav-tabs li:nth-child(3) svg{color:#53e5d8}
|
||||
.app:before,html.theme-dark .app:before{background-color:transparent}
|
||||
#mybg{display:none}
|
||||
.bg #mybg{left:0;display:block;top:0;background-position:left top}
|
||||
#alllayout.container #mybg{display:none}
|
||||
#alllayout.no-container #mybg{display:block}
|
||||
.wrapper-md article,.wrapper-md>#comments{border-radius:5px;overflow:hidden}
|
||||
.bg-auto:before{bottom:51px;background-color:initial}
|
||||
@media screen and (max-width:991px){
|
||||
#mybg{background-image:url(https://api.btstu.cn/sjbz/?lx=m_dongman);background-position:center center}
|
||||
aside.col.no-border-xs{border:0;opacity:1!important;background-color:rgba(255,255,255,.8)}
|
||||
}
|
||||
@media screen and (min-width:992px){
|
||||
aside.col.w-md.b-l{background-color:rgba(255,255,255,.9)}
|
||||
aside.col.w-md.b-l:hover{background-color:#fff}
|
||||
}
|
||||
header.wrapper-md{background-color:rgba(246,248,248,.93)!important}
|
||||
.blog-post>.panel,.blog-post>.panel-small{border:0;border-radius:5px}
|
||||
.index-post-img{border-top-left-radius:5px;border-top-right-radius:5px;overflow:hidden}
|
||||
.index-post-img-small{overflow:hidden}
|
||||
.blog-post>.panel .index-post-img .item-thumb,.index-post-title a,.panel-small .index-post-img-small .item-thumb-small{transition:all .2s}
|
||||
.blog-post>.panel-small:hover .index-post-img-small .item-thumb-small,.blog-post>.panel:hover .index-post-img .item-thumb{transform:scale(1.05)}
|
||||
#footer>.wrapper{background-color:#edf1f2}
|
||||
.streamline{margin-left:auto;padding-right:10px;margin:auto;max-width:1024px}
|
||||
html.dark .streamline{background:rgba(0,0,0,.8)}
|
||||
.streamline .comment-body{position:relative}
|
||||
aside.col.w-md.no-border-xs{transition:all .3s}
|
||||
.visible-xs-inline{display:inline-block!important}
|
||||
@media screen and (min-width:768px) and (max-width:1200px){
|
||||
.visible-xs-inline{display:none!important}
|
||||
}
|
||||
.tocify-item{background-color:rgba(255,255,255,.8)}
|
||||
.tocify-item.active{color:#7266ba;font-weight:700}
|
||||
@media screen and (max-width:767px){
|
||||
.blog-post>.panel:hover .index-post-img .item-thumb{transform:none!important}
|
||||
}
|
||||
.index-post-title a:hover{color:#2ebaae}
|
||||
.wrapper-md .comment-list .comment-children,.wrapper-md .comment-list .comment-parent{border-top-width:1px;border-top-style:solid;border-top-color:#ddd;padding-top:10px}
|
||||
.max-img{max-height:400px}
|
||||
.navi-wrap .navi.clearfix>ul.nav{padding-bottom:100px}
|
||||
.app-aside-folded.navi-wrap{max-height:calc(100% - 50px)}
|
||||
.lg-backdrop{background-color:rgba(0,0,0,.8)}
|
||||
.skPlayer-name{font-family:"Source Sans Pro","Hiragino Sans GB","Microsoft Yahei",SimSun,Helvetica,Arial,Sans-serif}
|
||||
html.fancybox-enabled{overflow-y:auto}
|
||||
.fancybox-bg{background-color:rgba(0,0,0,.95)}
|
||||
.fancybox-arrow:after{background-color:rgba(0,0,0,.8)}
|
||||
.green,.lblue,.red,.share,.yellow{background-position-y:50%}
|
||||
.timeline .tl-date{color:#fff;text-shadow:0 0 4px #000}
|
||||
body.modal-open{overflow-y:auto;padding-right:0!important}
|
||||
.reply2view{background-color:transparent;border:solid 1px #bbb}
|
||||
#content{transition:all .3s}
|
||||
.OwO .OwO-logo{height:28px}
|
||||
#tag_toc.fixed #toc{width:100%}
|
||||
.page-navigator .next a,.page-navigator .prev a{height:31px}
|
||||
.page-navigator>li:last-child>a,.page-navigator>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}
|
||||
.item-thumb-small{background-position:left}
|
||||
.panel .post-meta.wrapper-lg{padding:20px}
|
||||
#comments pre code{display:inline}
|
||||
.wrapper-md>#comments{border:solid 1px #fff;padding:10px 30px 20px 30px}
|
||||
.hideContent{background-color:transparent;padding:0}
|
||||
img[mw400]{max-width:400px!important;width:100%}
|
||||
.mw400{max-width:400px}
|
||||
.inner-image{background-position:center}
|
||||
.inser-title{color:#555!important}
|
||||
.inster-summary{color:#58666e!important}
|
||||
.preview .post-inser{background-color:rgba(255,255,255,.8);transition:all .3s}
|
||||
.preview .post-inser:hover{background-color:rgba(255,255,255,1)}
|
||||
#aside-user span.avatar{animation-timing-function:cubic-bezier(0,0,.07,1)!important;border:0 solid}
|
||||
#searchform{margin-right:-10px}
|
||||
.compensate-for-scrollbar,.compensate-for-scrollbar #header{padding-right:8px}
|
||||
.compensate-for-scrollbar #mybg{transition-duration:0s;margin-right:8px}
|
||||
@media screen and (min-width:1200px){
|
||||
.wrapper-md{padding:10px}
|
||||
.wrapper-md>.breadcrumb{margin-left:0;position:relative;left:50%;transform:translateX(-50%);max-width:800px}
|
||||
.panel-small .post-meta{padding:13px 15px!important}
|
||||
.blog-post .post-meta.wrapper-lg{padding-top:15px}
|
||||
.sticky{position:absolute;top:12px;left:15px}
|
||||
.panel .item-thumb{height:300px}
|
||||
#post-panel .blog-post{position:relative;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}
|
||||
#post-panel>div.blog-post>.panel{overflow:hidden;width:100%;margin:0 5px 20px 5px}
|
||||
#post-panel>div.blog-post>.panel .post-meta{position:relative;height:300px;padding-top:133px!important;padding-bottom:0!important;background-color:rgba(0,0,0,.3);color:#fff!important;transition:all .3s}
|
||||
#post-panel>div.blog-post>.panel .index-post-img+.post-meta{margin-top:-300px}
|
||||
#post-panel>div.blog-post>.panel .post-meta,#post-panel>div.blog-post>.panel-small .post-meta{border-radius:5px}
|
||||
#post-panel>div.blog-post>.panel .post-meta *,#post-panel>div.blog-post>.panel-small .post-meta *{color:#fff!important}
|
||||
#post-panel>div.blog-post>.panel .post-meta>h2,#post-panel>div.blog-post>.panel-small .post-meta>h2{text-align:center;text-shadow:0 0 3px #fff}
|
||||
#post-panel>div.blog-post>.panel .post-meta>div,#post-panel>div.blog-post>.panel .post-meta>p,#post-panel>div.blog-post>.panel-small .post-meta>div,#post-panel>div.blog-post>.panel-small .post-meta>p{transition:all .3s;transform:translateY(-10px);opacity:0}
|
||||
#post-panel>div.blog-post>.panel .post-meta>.text-muted,#post-panel>div.blog-post>.panel-small .post-meta>.text-muted{position:absolute;bottom:20px}
|
||||
#post-panel>div.blog-post>.panel .post-meta>.line{position:absolute;bottom:40px;width:95%;padding-right:10px}
|
||||
#post-panel>div.blog-post>.panel-small .post-meta>.line{position:absolute;bottom:40px;width:90%;padding-right:10px}
|
||||
#post-panel>div.blog-post>.panel .post-meta>.summary{position:absolute;bottom:60px;width:auto;padding-right:10px}
|
||||
#post-panel>div.blog-post>.panel-small .post-meta>.summary{position:absolute;bottom:60px;width:auto;padding-right:10px}
|
||||
#post-panel>div.blog-post>.panel-small{display:inline-block;height:300px;width:calc(50% - 10px);margin:0 5px 20px 5px}
|
||||
#post-panel>div.blog-post>.panel-small .index-img-small,#post-panel>div.blog-post>.panel-small .index-img-small .item-thumb-small{height:100%;width:100%}
|
||||
#post-panel>div.blog-post>.panel-small .post-meta{position:absolute;height:300px;width:calc(50% - 10px);padding:133px 20px 0 20px!important;background-color:rgba(0,0,0,.3);color:#fff!important;transition:all .3s}
|
||||
#post-panel>div.blog-post>.panel-small:hover .post-meta,#post-panel>div.blog-post>.panel:hover .post-meta{background-color:rgba(0,0,0,.6)}
|
||||
#post-panel>div.blog-post>.panel-small:hover .post-meta>div,#post-panel>div.blog-post>.panel-small:hover .post-meta>p,#post-panel>div.blog-post>.panel:hover .post-meta>div,#post-panel>div.blog-post>.panel:hover .post-meta>p{opacity:1;transform:translateY(0)}
|
||||
#post-panel>div.blog-post>.panel-small:hover .post-meta,#post-panel>div.blog-post>.panel:hover .post-meta{padding-top:80px!important}
|
||||
#post-panel .ahover{display:block;position:absolute;top:0;left:0;right:0;bottom:0}
|
||||
.blog-post>.panel-small:hover .index-post-img-small,.blog-post>.panel:hover .index-post-img{filter:blur(3px)}
|
||||
}
|
||||
header.bg-light.wrapper-md{margin-top:30px;background-color:transparent!important;border:0;text-align:center;text-shadow:0 0 3px #000}
|
||||
header.wrapper-md *{color:#fff}
|
||||
html.theme-dark header.wrapper-md *{color:#777}
|
||||
header.wrapper-md h1{font-size:32px}
|
||||
header.wrapper-md h1{font-weight:700!important}
|
||||
.panel-small>.p-b-none{padding-bottom:0!important}
|
||||
.comment-author>.fn+label{padding-top:.37em;padding-bottom:.37em;margin-bottom:0}
|
||||
.ua-plugin{opacity:0;transition:all .3s;background-color:#7266ba;color:#fff;padding-bottom:.2em;margin-left:5px}
|
||||
div.comment-body:hover .ua-plugin{opacity:1}
|
||||
.comment-author>*{display:inline-block}
|
||||
@media screen and (max-width:600px){
|
||||
.ua-plugin{display:none}
|
||||
}
|
||||
@media screen and (max-width:365px){
|
||||
.comment-author>.fn+label{display:none}
|
||||
}
|
||||
.ua-os{margin-left:-.6em}
|
||||
ul.nav-sub>li>a>i{margin-right:15px}
|
||||
#myModal .modal-dialog{max-width:calc(100% - 20px);width:400px}
|
||||
#myModal .modal-content{overflow:hidden}
|
||||
#myModal .modal-body,#myModal .modal-body img{padding:0}
|
||||
.link-main{padding:50px 0 50px 20px;text-align:center}
|
||||
.link-main h3{margin-top:0}
|
||||
.link-main .item{display:inline-block;letter-spacing:0;margin-right:20px;margin-bottom:20px;width:289px;height:240px;font-size:14px;overflow:hidden;border-radius:5px;background:rgba(255,255,255,.95);border:1px solid #e1e8ed;transition:background .2s}
|
||||
.link-main .link-bg{position:relative;height:90px;padding:0 1em;background-color:#777}
|
||||
.link-main .link-bg .bg:before{display:block;content:"";position:absolute;left:0;height:100%;width:100%;background:rgba(0,0,0,.5)}
|
||||
.link-main .link-bg .link-avatar{position:absolute;bottom:-50px;border:4px solid #fff;border-radius:100%;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.5)}
|
||||
.link-main .link-bg .link-avatar img{border-radius:100%}
|
||||
.link-main .avatar{display:block;object-fit:cover}
|
||||
.link-main .bg,.link-main .link-bg{background-repeat:no-repeat;background-position:center;background-size:cover;display:block}
|
||||
.link-main .bg{position:absolute;top:0;bottom:0;left:0;right:0;filter:blur(1.5px);background-color:#fff}
|
||||
.link-main .meta{padding:.9em 1em;text-align:right}
|
||||
.link-main .info{color:#525766;padding:0 1em 1em}
|
||||
.link-main .info .name{font-weight:600;font-size:16px}
|
||||
@media screen and (max-width:330px){
|
||||
.link-main{padding:50px 0 50px 0}
|
||||
.link-main .item{margin-right:0}
|
||||
}
|
||||
.link-main .item:hover{background:rgba(255,255,255,1)}
|
||||
.link-main .item:hover .bg{filter:blur(.1px)}
|
||||
.readers-list a:hover{left:0}
|
||||
.readers-list-a{background-color:rgba(255,255,255,.5)!important;transition:all .3s}
|
||||
.readers-list-a:hover{background-color:rgba(255,255,255,.8)!important}
|
||||
.panel-heading.collapsed{position:relative}
|
||||
.panel-body.collapse:not([aria-expanded=true]){display:block;position:relative;padding:0!important;height:0!important;z-index:-1000}
|
||||
.panel-body.collapse:not([aria-expanded=true]) *{display:none}
|
||||
.panel-body.collapse:not([aria-expanded=true]) h1,.panel-body.collapse:not([aria-expanded=true]) h2,.panel-body.collapse:not([aria-expanded=true]) h3,.panel-body.collapse:not([aria-expanded=true]) h4,.panel-body.collapse:not([aria-expanded=true]) h5,.panel-body.collapse:not([aria-expanded=true]) h6{display:block;top:0;line-height:1px!important;margin:0!important;padding:0!important;position:relative!important;top:-50px}
|
||||
.panel-small>.post-meta{padding-bottom:0!important}
|
||||
i.fontello-dedent.text{color:#777}
|
||||
.github-badge{display:inline-block;border-radius:4px;text-shadow:none;font-size:12px;color:#fff;line-height:13px;background-color:#abbac3}
|
||||
.github-badge .badge-subject{display:inline-block;background-color:#4d4d4d;padding:4px 4px 4px 6px;border-top-left-radius:4px;border-bottom-left-radius:4px}
|
||||
.github-badge .badge-value{display:inline-block;padding:4px 6px 4px 4px;border-top-right-radius:4px;border-bottom-right-radius:4px}
|
||||
.github-badge .bg-blue{background-color:#007ec6}
|
||||
.github-badge .bg-orange{background-color:orange}
|
||||
.github-badge .bg-red{background-color:red}
|
||||
.github-badge .bg-green{background-color:#3bca6e}
|
||||
.github-badge .bg-purple{background-color:#ab34e9}
|
||||
.page-navigator>li>a,.page-navigator>li>span{border:1px solid #ddd;line-height:1.42857143;padding:6px 12px}
|
||||
@keyframes star{
|
||||
from{transform:scale(1)}
|
||||
to{transform:scale(1.1)}
|
||||
}
|
||||
.glyphicon-fire{color:red}
|
||||
.nav-tabs-alt .glyphicon-comment{color:#495dc3}
|
||||
.glyphicon-transfer{color:#0e5458}
|
||||
#categories-2 .list-group-item:nth-child(1) i{color:#81c7d4}
|
||||
#categories-2 .list-group-item:nth-child(2) i{color:#007eff}
|
||||
#categories-2 .list-group-item:nth-child(3) i{color:#da99ff}
|
||||
#categories-2 .list-group-item:nth-child(4) i{color:#f596aa}
|
||||
#categories-2 .list-group-item:nth-child(5) i{color:#ffd33f}
|
||||
#categories-2 .list-group-item:nth-child(6) i{color:#f17c67}
|
||||
.badge.pull-right{color:#dcf2f8;background-color:#23b7e5}
|
||||
.wrapper-md>.breadcrumb .fontello-home{color:#7266ba}
|
||||
.wrapper-md>.breadcrumb .icon-qzone{color:#fece00}
|
||||
.wrapper-md>.breadcrumb .fontello-weibo{color:#f61520}
|
||||
.wrapper-md>.breadcrumb .fontello-camera{color:#1992f6}
|
||||
.entry-thumbnail{overflow:hidden}
|
||||
.entry-thumbnail .item-thumb{transition:.5s}
|
||||
#post-content img{border-radius:10px;transition:.5s}
|
||||
#post-content img:hover,.entry-thumbnail .item-thumb:hover{transform:scale(1.05);cursor:pointer}
|
||||
html.theme-dark .support-author{background-color:rgba(255,255,255,.75)}
|
||||
span.mr10{color:#23b7e5}
|
||||
@keyframes light{
|
||||
0%{box-shadow:0 0 4px #e16b8c}
|
||||
25%{box-shadow:0 0 16px #b28fce}
|
||||
50%{box-shadow:0 0 4px #a8d8b9}
|
||||
75%{box-shadow:0 0 16px #2ea9df}
|
||||
100%{box-shadow:0 0 4px #e03c8a}
|
||||
}
|
||||
.img-circle{transition:all 1.5s}
|
||||
.img-circle:hover{transform:rotate(360deg)}
|
||||
181
KirinShiKi/js/kirin.js
Normal file
181
KirinShiKi/js/kirin.js
Normal file
@@ -0,0 +1,181 @@
|
||||
/* ***
|
||||
|
||||
* 神代綺凜式魔改js
|
||||
* By: Sanakey
|
||||
* Last Update: 2020.08.11
|
||||
|
||||
神代綺凜式魔改js文件。
|
||||
|
||||
本代码为神代綺凜(https://moe.best)原创,Sanakey(https://keymoe.com)魔改,JeffersonQin(https://gyrojeff.top)再度魔改,并遵守 GPL 2.0 开源协议。
|
||||
|
||||
*** */
|
||||
|
||||
$(document).ready(function() {
|
||||
// 神代綺凜原js部分
|
||||
(function() {
|
||||
var b = !0;
|
||||
// window.setInterval(, 300);
|
||||
function scrolling() {
|
||||
0 < $("body.compensate-for-scrollbar").length && b && (b = !1, $(
|
||||
"body.compensate-for-scrollbar #bg").attr("style", "transition-duration:0s"),
|
||||
setTimeout('$("#bg").attr("style","");cfsFlag=true', 2E3));
|
||||
// var a = $("#sidebar").children();
|
||||
var a = $("#sidebar").find("section");
|
||||
if (0 < a.length) {
|
||||
var c = $(a[a.length - 1]);
|
||||
a = $(window).scrollTop();
|
||||
c = c.offset().top + Math.abs(c.height());
|
||||
a -= c;
|
||||
c = $("aside.col.w-md.no-border-xs");
|
||||
0 < a ? c.css("opacity", "0") : c.css("opacity", "1")
|
||||
}
|
||||
300 > $(document).scrollTop() ? $("#kotori").addClass("hidekotori") : $("#kotori").removeClass(
|
||||
"hidekotori")
|
||||
}
|
||||
var timer = null;
|
||||
|
||||
$(document).scroll(function() {
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(function() {
|
||||
scrolling();
|
||||
}, 30)
|
||||
});
|
||||
console.log("\n %c handsome modified %c by \u795e\u4ee3\u7eee\u51db moe.best \n",
|
||||
"color:#444;background:#eee;padding:5px 0;", "color:#fff;background:#876;padding:5px 0;");
|
||||
console.log("\n %c handsome modified %c by Sanakey | www.keymoe.com \n",
|
||||
"color:#444;background:#eee;padding:5px 0;", "color:#fff;background:#71bef1;padding:5px 0;");
|
||||
console.log("\n %c handsome modified %c by JeffersonQin | gyrojeff.top \n",
|
||||
"color:#444;background:#eee;padding:5px 0;", "color:#fff;background:#7266ba;padding:5px 0;");
|
||||
console.log("%c ",
|
||||
"background:url(https://api.btstu.cn/sjbz/?lx=dongman) no-repeat center;background-size:cover;padding-left:100%;padding-bottom:55%;overflow:hidden;border-radius:10px;margin:5px 0"
|
||||
);
|
||||
window.setInterval(function() {
|
||||
if (document.getElementById("aboutPage")) {
|
||||
var a = document.getElementById("aboutPage"),
|
||||
b = a.contentWindow.document.getElementById("mainc");
|
||||
try {
|
||||
a.style.height = b.scrollHeight + "px"
|
||||
} catch (e) {}
|
||||
}
|
||||
}, 300);
|
||||
|
||||
})();
|
||||
|
||||
|
||||
// <div id="bg"></div> 添加背景div
|
||||
$('#header').before('<div id="mybg"></div>');
|
||||
$('#alllayout').before('<div id="mybg"></div>');
|
||||
|
||||
// 优化主页面无法点击图片进入文章
|
||||
// if (!$('.post-meta .ahover').length > 0) {
|
||||
// setHref(getHref());
|
||||
// }
|
||||
|
||||
// 添加右侧栏折叠
|
||||
var toggleStr = '<div class="nav navbar-nav hidden-xs">\n' +
|
||||
' <a id="aside-btn" href="#" class="btn no-shadow navbar-btn" ui-toggle-class="app-aside-folded" target=".app">\n' +
|
||||
' <i class="fontello fontello-dedent text icon-fw"></i>\n' +
|
||||
' <i class="fontello fontello-indent icon-fw text-active"></i>\n' +
|
||||
' </a>\n' +
|
||||
' </div>'
|
||||
$('#header .navbar-collapse').prepend(toggleStr);
|
||||
|
||||
})
|
||||
|
||||
|
||||
$(window).load(function() {
|
||||
1 < location.hash.length && $('.tocify-item[data-unique="' + decodeURI(location.hash.substr(1)) + '"]').click()
|
||||
});
|
||||
|
||||
function updateLiveStatus(b) {
|
||||
1 == b.data.liveStatus && $("#bilibili-live").removeClass("hide")
|
||||
};
|
||||
|
||||
function getHref() {
|
||||
var hrefArr = [];
|
||||
$('.post-meta .index-post-title>a').each(function() {
|
||||
hrefArr.push($(this).attr('href'));
|
||||
$(this).find('span').addClass('sticky');
|
||||
});
|
||||
// console.log(hrefArr);
|
||||
return hrefArr;
|
||||
}
|
||||
|
||||
function setHref(arr) {
|
||||
$('.post-meta').each(function(index) {
|
||||
$(this).append('<a href="' + arr[index] + '" class="ahover"></a>')
|
||||
});
|
||||
}
|
||||
|
||||
// 彩色标签云
|
||||
function colorfulTags() {
|
||||
var tags = document.querySelectorAll("#tag_cloud-2 a");
|
||||
var colorArr = ["#428BCA", "#AEDCAE", "#ECA9A7", "#DA99FF", "#FFB380", "#D9B999", "#3bca6e", "#f23232", "#834e75", "#23b7e5", "#f60"];
|
||||
tags.forEach(tag => {
|
||||
tagsColor = colorArr[Math.floor(Math.random() * colorArr.length)];
|
||||
tag.style.backgroundColor = tagsColor;
|
||||
});
|
||||
}
|
||||
|
||||
// 标题卖萌
|
||||
function moeTitle() {
|
||||
var OriginTitile = document.title;
|
||||
var d;
|
||||
document.addEventListener("visibilitychange", function() {
|
||||
document.hidden ? (clearTimeout(d), d = setTimeout(function() {
|
||||
document.title =
|
||||
"|\uff65\u03c9\uff65\uff40\u0029\u4f60\u770b\u4e0d\u89c1\u6211\u2026\u2026"
|
||||
}, 500)) : (document.title = "_(:3\u300d\u300d\u8fd8\u662f\u88ab\u53d1\u73b0\u4e86", d =
|
||||
setTimeout(function() {
|
||||
document.title = OriginTitile
|
||||
}, 2E3))
|
||||
})
|
||||
}
|
||||
|
||||
// 复制
|
||||
function copyTips(text) {
|
||||
var timer = null;
|
||||
var dialog = {
|
||||
msg: function(msg, time) {
|
||||
var time = time || 3000;
|
||||
var dialogElement = $('#my-dialog-layer');
|
||||
var dom = '<div id="my-dialog-layer" style="z-index: 99999; max-width: 360px; min-width:100px; background-color: rgba(0,0,0,.6); color: #fff;position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); ">\n' +
|
||||
' <div class="layer-content" style="padding: 12px 25px; font-size:14px; text-align: center; line-height: 24px;overflow-x: hidden; overflow-y: auto;">' + msg + '</div>\n' +
|
||||
'</div>'
|
||||
if (dialogElement.length == 0) {
|
||||
$('body').append(dom);
|
||||
timer = setTimeout(function() {
|
||||
$('#my-dialog-layer').remove();
|
||||
}, time)
|
||||
}
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(function() {
|
||||
$('#my-dialog-layer').remove();
|
||||
}, time)
|
||||
|
||||
}
|
||||
}
|
||||
document.addEventListener("copy", function() {
|
||||
dialog.msg(text || '复制成功,如需转载请注明出处!', 3000);
|
||||
})
|
||||
}
|
||||
|
||||
function setCopyright(type) {
|
||||
// 页脚添加版权信息 ' | Theme modified by <a href="https://moe.best" target="_blank">Jindai Kirin</a> | '
|
||||
|
||||
var badgeInfo = ' | \n' +
|
||||
'<div class="github-badge">\n' +
|
||||
' <a href="https://gyrojeff.top/" target="_blank" title="由JindaiKirin/JeffersonQin魔改">\n' +
|
||||
' <span class="badge-subject">Modified</span><span class="badge-value bg-red">JindaiKirin/JeffersonQin</span>\n' +
|
||||
' </a>\n' +
|
||||
'</div>' +
|
||||
' \n';
|
||||
|
||||
var textInfo = ' | \n' +
|
||||
' <a href="https://gyrojeff.top/" target="_blank" title="handsome主题由JindaiKirin/JeffersonQin魔改">\n' +
|
||||
' Modified JindaiKirin/JeffersonQin\n' +
|
||||
' </a>\n';
|
||||
' \n';
|
||||
// var copyrightInfo = type?textInfo:badgeInfo;
|
||||
$('#footer span.pull-right').append(type ? textInfo : badgeInfo);
|
||||
}
|
||||
1
KirinShiKi/js/kirin.min.js
vendored
Normal file
1
KirinShiKi/js/kirin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
function updateLiveStatus(e){1==e.data.liveStatus&&$("#bilibili-live").removeClass("hide")}function getHref(){var e=[];return $(".post-meta .index-post-title>a").each(function(){e.push($(this).attr("href")),$(this).find("span").addClass("sticky")}),e}function setHref(e){$(".post-meta").each(function(n){$(this).append('<a href="'+e[n]+'" class="ahover"></a>')})}function colorfulTags(){var e=document.querySelectorAll("#tag_cloud-2 a"),n=["#428BCA","#AEDCAE","#ECA9A7","#DA99FF","#FFB380","#D9B999","#3bca6e","#f23232","#834e75","#23b7e5","#f60"];e.forEach(e=>{tagsColor=n[Math.floor(Math.random()*n.length)],e.style.backgroundColor=tagsColor})}function moeTitle(){var e,n=document.title;document.addEventListener("visibilitychange",function(){document.hidden?(clearTimeout(e),e=setTimeout(function(){document.title="|・ω・`)你看不见我……"},500)):(document.title="_(:3」」还是被发现了",e=setTimeout(function(){document.title=n},2e3))})}function copyTips(e){var n=null,o=function(e,o){o=o||3e3;var t='<div id="my-dialog-layer" style="z-index: 99999; max-width: 360px; min-width:100px; background-color: rgba(0,0,0,.6); color: #fff;position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); ">\n <div class="layer-content" style="padding: 12px 25px; font-size:14px; text-align: center; line-height: 24px;overflow-x: hidden; overflow-y: auto;">'+e+"</div>\n</div>";0==$("#my-dialog-layer").length&&($("body").append(t),n=setTimeout(function(){$("#my-dialog-layer").remove()},o)),clearTimeout(n),n=setTimeout(function(){$("#my-dialog-layer").remove()},o)};document.addEventListener("copy",function(){o(e||"复制成功,如需转载请注明出处!",3e3)})}function setCopyright(e){$("#footer span.pull-right").append(e?' | \n <a href="https://gyrojeff.top/" target="_blank" title="handsome主题由JindaiKirin/JeffersonQin魔改">\n Modified JindaiKirin/JeffersonQin\n </a>\n':' | \n<div class="github-badge">\n <a href="https://gyrojeff.top/" target="_blank" title="由JindaiKirin/JeffersonQin魔改">\n <span class="badge-subject">Modified</span><span class="badge-value bg-red">JindaiKirin/JeffersonQin</span>\n </a>\n</div> \n')}$(document).ready(function(){!function(){var e=!0;var n=null;$(document).scroll(function(){clearTimeout(n),n=setTimeout(function(){!function(){0<$("body.compensate-for-scrollbar").length&&e&&(e=!1,$("body.compensate-for-scrollbar #bg").attr("style","transition-duration:0s"),setTimeout('$("#bg").attr("style","");cfsFlag=true',2e3));var n=$("#sidebar").find("section");if(0<n.length){var o=$(n[n.length-1]);n=$(window).scrollTop(),n-=o=o.offset().top+Math.abs(o.height()),o=$("aside.col.w-md.no-border-xs"),0<n?o.css("opacity","0"):o.css("opacity","1")}300>$(document).scrollTop()?$("#kotori").addClass("hidekotori"):$("#kotori").removeClass("hidekotori")}()},30)}),console.log("\n %c handsome modified %c by 神代绮凛 moe.best \n","color:#444;background:#eee;padding:5px 0;","color:#fff;background:#876;padding:5px 0;"),console.log("\n %c handsome modified %c by Sanakey | www.keymoe.com \n","color:#444;background:#eee;padding:5px 0;","color:#fff;background:#71bef1;padding:5px 0;"),console.log("\n %c handsome modified %c by JeffersonQin | gyrojeff.top \n","color:#444;background:#eee;padding:5px 0;","color:#fff;background:#7266ba;padding:5px 0;"),console.log("%c ","background:url(https://api.btstu.cn/sjbz/?lx=dongman) no-repeat center;background-size:cover;padding-left:100%;padding-bottom:55%;overflow:hidden;border-radius:10px;margin:5px 0"),window.setInterval(function(){if(document.getElementById("aboutPage")){var e=document.getElementById("aboutPage"),n=e.contentWindow.document.getElementById("mainc");try{e.style.height=n.scrollHeight+"px"}catch(e){}}},300)}(),$("#header").before('<div id="mybg"></div>'),$("#alllayout").before('<div id="mybg"></div>');$("#header .navbar-collapse").prepend('<div class="nav navbar-nav hidden-xs">\n <a id="aside-btn" href="#" class="btn no-shadow navbar-btn" ui-toggle-class="app-aside-folded" target=".app">\n <i class="fontello fontello-dedent text icon-fw"></i>\n <i class="fontello fontello-indent icon-fw text-active"></i>\n </a>\n </div>')}),$(window).load(function(){1<location.hash.length&&$('.tocify-item[data-unique="'+decodeURI(location.hash.substr(1))+'"]').click()});
|
||||
Reference in New Issue
Block a user