Skip to content

Commit

Permalink
0.843
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Feb 21, 2020
1 parent 352f6e9 commit f906952
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200222 v0.843
+ 修复顶栏二级菜单点击时菜单项高度跳动的 BUG
+ 细节修复
+ 删除页脚作者信息,只保留主题名称和链接

## 20200219 v0.842
+ 添加 Mathjax 2,现在有 Mathjax 3 和 2 两个版本可以选择

Expand Down
9 changes: 8 additions & 1 deletion argontheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1121,4 +1121,11 @@ function updateThemeColor(color, setcookie){
$(".comment-image-preview", this).zoomify('zoomOut');
}
});
}();
}();

/*Console*/
!function(){
console.log('%cTheme: %cArgon%cBy solstice23', 'color: rgba(255,255,255,.6); background: #5e72e4; font-size: 15px;border-radius:5px 0 0 5px;padding:10px 0 10px 20px;','color: rgba(255,255,255,1); background: #5e72e4; font-size: 15px;border-radius:0;padding:10px 15px 10px 0px;','color: #fff; background: #92A1F4; font-size: 15px;border-radius:0 5px 5px 0;padding:10px 20px 10px 15px;');
console.log('%cVersion%c' + $("meta[name='theme-version']").attr("content"), 'color:#fff; background: #5e72e4;font-size: 12px;border-radius:5px 0 0 5px;padding:3px 10px 3px 10px;','color:#fff; background: #92a1f4;font-size: 12px;border-radius:0 5px 5px 0;padding:3px 10px 3px 10px;');
console.log('%chttps://github.com/solstice23/argon-theme', 'font-size: 12px;border-radius:5px;padding:3px 10px 3px 10px;border:1px solid #5e72e4;');
}();
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?php
echo get_option('argon_footer_html');
?>
<div>Theme <a href="https://github.com/solstice23/argon-theme"><strong>Argon</strong></a> By solstice23</div>
<div>Theme <a href="https://github.com/solstice23/argon-theme"><strong>Argon</strong></a></div>
</footer>
</main>
</div>
Expand Down
2 changes: 2 additions & 0 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<meta name="theme-color-origin" content="<?php echo $themecolor_origin; ?>">
<meta name="argon-enable-custom-theme-color" content="<?php echo (get_option('argon_show_customize_theme_color_picker') != 'false' ? 'true' : 'false'); ?>">

<meta name="theme-version" content="<?php echo wp_get_theme('argon') -> Version; ?>">

<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "0.842",
"version" : "0.843",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.842/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v0.843/argon.zip"
}
6 changes: 5 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: argon
Author: solstice23
Author URI: https://abc233.site/
Description: 轻盈、简洁、美观的 Wordpress 主题
Version: 0.842
Version: 0.843
License: MIT License
License URI: https://opensource.org/licenses/MIT
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义
Expand Down Expand Up @@ -284,6 +284,9 @@ a.text-primary:focus , a.text-primary:hover {
max-width: 100%;
}
}
.dropdown-menu .dropdown-item {
line-height: 1.5;
}
.navbar-brand {
text-transform: none;
}
Expand Down Expand Up @@ -326,6 +329,7 @@ a.text-primary:focus , a.text-primary:hover {
/*background: linear-gradient(150deg,#7795f8 15%,#6772e5 70%,#555abf 94%);*/
background: var(--themecolor-gradient);
text-align: center;
border-radius: .25rem .25rem 0 0;
}
.leftbar-banner-title{
font-size: 20px;
Expand Down

0 comments on commit f906952

Please sign in to comment.