Skip to content

Commit

Permalink
修复插件不支持问题
Browse files Browse the repository at this point in the history
更新至1.2版本
修复插件兼容性问题
修复一些样式问题
新增打赏
优化后台样式
新增归档页
  • Loading branch information
youranreus committed Jul 18, 2019
1 parent 7b22b6d commit 1f69566
Show file tree
Hide file tree
Showing 22 changed files with 778 additions and 2,383 deletions.
760 changes: 474 additions & 286 deletions CSS/G.css

Large diffs are not rendered by default.

76 changes: 75 additions & 1 deletion CSS/S.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,80 @@
/**
* 清除自带样式
*/
.typecho-option-tabs,.typecho-page-title{
.typecho-option-tabs,.typecho-page-title,.typecho-foot{
display: none!important;
}
.typecho-option{
padding:20px;
background: rgb(250,250,250);
border:1px solid #d6d7d9;
border-radius: 15px;
}
.main{
background: white;
position: relative;
}
form{
margin-bottom:100px;
position: relative;
z-index:2;
}
#art-box{
border-radius: 15px;
overflow: hidden;
background: #fff no-repeat center;
background-size: cover;
position: relative;
margin-top: 3rem;
}
#ab-content{
padding: 2rem 2rem;
text-align: center;
display: table-cell;
width: 100%;
height: 100%;
vertical-align: middle;
}
#ab-mask{
background: rgba(0,0,0,0.25);
position: relative;
z-index: 10;
display: table;
vertical-align: middle;
width: 100%;
height: 15.5rem;
}

#ab-content p{
font-size: 4rem;
text-align: center;
color:white;
}
#ab-content p a{
font-weight: 400;
color:white;
}
input.text{
display: inline-block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: .5em .6em;
border: 0;
outline:none;
background: rgba(250,250,250,1);
border-bottom: 2px solid #444;
color: #43454A;
}
@media screen and (max-width: 768px) {
#ab-mask{
width: 100%;
height: 7rem;
}

#ab-content p{
font-size: 2rem;
text-align: center;
color:white;
}
}
Binary file added IMG/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions IMG/archive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IMG/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions IMG/reply.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions IMG/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added IMG/setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 16 additions & 9 deletions JS/X.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ function() {
if (typeof Prism !== 'undefined') {
Prism.highlightAll(true,null);
}

loadMeting();
$("#M").addClass("opacity-show");
$("#post img").each(function(){
$(this).wrap(function(){
if($(this).is(".bq"))
{
return '';
}
if($(this).is("#feedme-content img"))
{
return '';
}
return '<a data-fancybox="gallery" no-pjax data-type="image" href="' + $(this).attr("src") + '" class="light-link"></a>';
})
});
}).on('pjax:click',function() {
var hash = window.location.hash;
if(hash == "comments")
{
$("html,body").animate({scrollTop:$("#content").offset().top},200);
}
else
{
$('body,html').animate({scrollTop:0},200);
if (typeof aplayers !== 'undefined'){
for (var i = 0; i < aplayers.length; i++) {
try {aplayers[i].destroy()} catch(e){}
}
}

}
Expand Down Expand Up @@ -86,6 +86,13 @@ function OwO_show(){
$("#OwO-container").slideUp();
}
}
function feedme_show(){
if($("#feedme-content").css("display")=='none'){
$("#feedme-content").slideDown();
}else{
$("#feedme-content").slideUp();
}
}


console.info(
Expand Down
Loading

0 comments on commit 1f69566

Please sign in to comment.