Merge pull request #118 from spirit1431007/pr-branch

几个小样式
This commit is contained in:
Mashiro 2019-10-25 20:16:02 +08:00 committed by GitHub
commit 425348bb8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 9 deletions

View File

@ -55,27 +55,34 @@
position: relative
}
.entry-content h3, .entry-content h4, .entry-content h5 {
padding-left: 16px;
}
.entry-content h3 {
padding-bottom: 8px;
border-bottom: 1px dashed #ddd;
color: #737373
}
.entry-content h3:before {
.entry-content h3:after {
content: "#";
margin-right: 5px;
position: absolute;
left: 0;
color: #FF6D6D
}
.entry-content h4:before {
.entry-content h4:after {
content: ">";
margin-right: 5px;
position: absolute;
left: 0;
color: #FF6D6D
}
.entry-content h5:before {
.entry-content h5:after {
content: "?";
margin-right: 5px;
position: absolute;
left: 0;
color: #FF6D6D
}

View File

@ -463,10 +463,10 @@ function timeSeriesReload(flag) {
var al_expand_collapse_click = 0;
$('#al_expand_collapse').click(function () {
if (al_expand_collapse_click == 0) {
$al_post_list.show();
$al_post_list.show(400);
al_expand_collapse_click++;
} else if (al_expand_collapse_click == 1) {
$al_post_list.hide();
$al_post_list.hide(400);
al_expand_collapse_click--;
}
});

View File

@ -1195,8 +1195,9 @@ a:hover {
padding: 10px;
top: 46px;
right: -13px;
width: 80px;
min-width: 80px;
text-align: center;
white-space: nowrap;
z-index: 9999;
border-radius: 5px;
box-shadow: 0 1px 40px -8px rgba(0, 0, 0, .5);
@ -4357,6 +4358,12 @@ i.iconfont.js-toggle-search.iconsearch {
}
.ins-section .ins-section-header {
position: sticky;
top: 0;
background: #fff;
text-align: center;
padding: 8px 15px;
z-index: 1;
color: #9a9a9a;
border-bottom: 1px solid #e2e2e2;
}