Skip to content

Commit

Permalink
1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Pan-O committed Jun 13, 2020
1 parent eb9be16 commit b52e928
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 15 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@
最后,感谢使用我的主题,如果感到不错不如给我一个star


## 版本更新
##版本更新


### 1.8


###1.9
*修复了标题的夜间模式显示
*修改了滚动条样式



###1.8
* 修改了黑暗模式的一些CSS
* 修改了首页文章卡片在小屏幕上的显示
* 评论禁止纯英文评论
Expand All @@ -23,29 +31,29 @@
* 链接卡片修改(没错就是抄知乎的


### 1.6
###1.6
* 修复了私密评论
* 修改了一些CSS
* 修复了上下篇文章的图片(好久都没有发现这个问题。。。
* 修复了文章页特色图片的显示(这个也一样。。。)
* 现在应该没有什么大问题了,可以放心食用


### 1.5
###1.5
* 添加一个链接卡片的短链接
* 修复了一些组件的黑暗模式
* 修复大量js,css问题
* 可以发表私密评论


### 1.4
###1.4
* 修复了一些组件的黑暗模式
* 社交添加了邮箱
* 加了个表格的CSS
* 评论支持图片


### 1.3
###1.3
* 添加了新的文章类型状态,写文章时选择状态即可
* 添加了友链模板,创建页面后,在链接中添加即可
* 在设置中新增了一些功能
Expand All @@ -54,7 +62,7 @@



### 1.2
###1.2
* 在文章底部添加了分享功能(目前支持微信,QQ,微博,telegram,facebook,twitter)
* 修复了首页的一言不显示问题(我也不知道是不是就我这边有问题,反正改了另一种方式实现
* 评论现在支持表情了,源码来自[alu插件](https://github.com/hayasuki/wp-alu)
Expand All @@ -65,7 +73,7 @@



### 1.0
###1.0
* 初始版本


17 changes: 16 additions & 1 deletion build/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ body.night #pagination a,body.night .author-field h3,body.night .nav-next .meta-
color: #dad3d3
}

body.night .comment-card-date,body.night .post-card-title,body.night .link_card_name,body.night .comment-notes,body.night .tag-list a,body.night .comments-title,body.night .comment-metadata,body.night .comment-content p,body.night .xContent .inner,body.night .tag-list i,body.night .comment-reply-title,body.night .single-post-inner h3,body.night .site-footer,body.night .comment-span {
body.night .comment-card-date,body.night .post-card-title,body.night .link_card_name,body.night .comment-notes,body.night .tag-list a,body.night .comments-title,body.night .comment-metadata,body.night .comment-content p,body.night .xContent .inner,body.night .tag-list i,body.night .comment-reply-title,body.night .single-post-inner h1,body.night .single-post-inner h2,body.night .single-post-inner h3,body.night .single-post-inner h4,body.night .single-post-inner h5,body.night .single-post-inner h6,body.night .site-footer,body.night .comment-span {
color: #d6d6d6
}

Expand Down Expand Up @@ -1943,3 +1943,18 @@ table thead th {
font-size: 12px;
}

::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #e6e6e6;
}

::-webkit-scrollbar-track {
background-color: #e6e6e6;
}






8 changes: 4 additions & 4 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function remove_wpversion($src){
global $wp_version;
parse_str(parse_url($src, PHP_URL_QUERY), $query);
if ( !empty($query['ver']) && $query['ver'] === $wp_version ) {
$src = str_replace($wp_version, 1.8, $src);
$src = str_replace($wp_version, 1.9, $src);
}
return $src;
}
Expand Down Expand Up @@ -372,8 +372,8 @@ function jaguar_scripts_styles() {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
wp_enqueue_style( 'jaguar', get_template_directory_uri() . '/build/css/app.css', array(), '1.8' );
wp_enqueue_style( 'iconfont', get_template_directory_uri() . '/build/css/iconfont.css', array(), '1.8' );
wp_enqueue_style( 'jaguar', get_template_directory_uri() . '/build/css/app.css', array(), '1.9' );
wp_enqueue_style( 'iconfont', get_template_directory_uri() . '/build/css/iconfont.css', array(), '1.9' );
if ( is_singular() ) {
wp_enqueue_style( 'highlight', get_template_directory_uri() . '/build/css/highlight.css', array(), '9.15.10' );
wp_enqueue_script( 'highlight' , get_template_directory_uri() . '/build/js/highlight.min.js' , array() , '9.15.10' ,true);
Expand All @@ -388,7 +388,7 @@ function jaguar_scripts_styles() {
wp_enqueue_script( 'lazyload' , get_template_directory_uri() . '/build/js/lazyload.js' , array() , '2.0.0' ,true);
}
wp_enqueue_script( 'jaguar_jquery' , get_template_directory_uri() . '/build/js/jquery.min.js' , array() , '3.4.1' ,true);
wp_enqueue_script( 'jaguar' , get_template_directory_uri() . '/build/js/application.js' , array('jquery') , '1.8' ,true);
wp_enqueue_script( 'jaguar' , get_template_directory_uri() . '/build/js/application.js' , array('jquery') , '1.9' ,true);
$singular = is_singular();
$comment_img = yjp_option('comment_img') ? '1' : '0';
$hitokoto = yjp_option('hitokoto') ? '1' : '0';
Expand Down
3 changes: 2 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
.banner-mask{background-image: url(<?php echo jaguar_is_has_image(get_the_ID());?>)}
.cute,.post-like,#submit:hover,#pagination a:hover,.mask-wrapper .post-title:hover,.comment .fn,.comment-form .required,.comment-at,.post-navigation .nav-next a:hover .post-title,.post-navigation .nav-previous a:hover .post-title ,.share_button i,.comment-card-author{color: <?php echo yjp_option('theme_color'); ?>}
#submit:hover {border-color: <?php echo yjp_option('theme_color'); ?>;}
.loading span,.nav-links .page-numbers.current,.nav-links .page-numbers:hover,.comment-body .reply .comment-reply-link,.checkbox::after,.comment-admin,.download_button,.searchform input[type=submit] {background-color: <?php echo yjp_option('theme_color'); ?>}
.loading span,.nav-links .page-numbers.current,.nav-links .page-numbers:hover,.comment-body .reply .comment-reply-link,.checkbox::after,.comment-admin,.download_button,.searchform input[type=submit] ,
::-webkit-scrollbar-thumb{background-color: <?php echo yjp_option('theme_color'); ?>}
#pagination a:hover{border:2px solid <?php echo yjp_option('theme_color'); ?>;}
.searchform input[type=submit],.checkbox {border: 1px solid <?php echo yjp_option('theme_color'); ?>;}
<?php if ( yjp_option('menu') == '1') { ?>.nav-header-container div{display: inline-block;}.nav-header-container div:last-child{display:none;}<?php } ?>
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://panjianhao.top/
Author: Panjianhao
Author URI: https://panjianhao.top/
Description: 基于bigfa的jaguar修改
Version: 1.8
Version: 1.9
Tags: 二改,美观
License: GNU General Public License v2 or later
*/

0 comments on commit b52e928

Please sign in to comment.