fix: fix the fixes

This commit is contained in:
Spirit 2020-03-21 17:38:05 +08:00
parent 57c541e6db
commit 7d5ff98f87
2 changed files with 13 additions and 1 deletions

View File

@ -1722,6 +1722,7 @@ var home = location.href,
$body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body');
$('body').on('click', '#comments-navi a', function (e) { $('body').on('click', '#comments-navi a', function (e) {
e.preventDefault(); e.preventDefault();
var path = $(this)[0].pathname;
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: $(this).attr('href'), url: $(this).attr('href'),

View File

@ -5,7 +5,7 @@ Theme URI: https://github.com/mashirozx/Sakura/
Author: Mashiro, Spirit, Louie, Fuzzz Author: Mashiro, Spirit, Louie, Fuzzz
Author URI: http://2heng.xin Author URI: http://2heng.xin
Description: A wonderful branch of theme Akina Description: A wonderful branch of theme Akina
Version: 3.3.6 Version: 3.3.7
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakura Text Domain: sakura
@ -1150,6 +1150,7 @@ a:hover {
float: right; float: right;
animation: searchbox .2s; animation: searchbox .2s;
min-width: 860px; min-width: 860px;
z-index: -1
} }
.site-top .lower nav.navbar { .site-top .lower nav.navbar {
right: calc(-50px - 100%); right: calc(-50px - 100%);
@ -4728,6 +4729,11 @@ i.iconfont.js-toggle-search.iconsearch {
margin-top: 0; margin-top: 0;
padding: 0 padding: 0
} }
.wp-smiley {
height: 2em !important;
max-height: 2em !important;
vertical-align: bottom;
}
embed, embed,
iframe, iframe,
@ -7584,6 +7590,11 @@ a.toc-link {
} }
@media (max-width:860px) { @media (max-width:860px) {
.wp-smiley {
height:20px !important;
max-height:20px !important;
vertical-align:middle
}
.bili-container, .bili-container,
.tieba-container { .tieba-container {
padding-left: 0 padding-left: 0