皮肤:SimpleMemory
页面定制 CSS 代码:
.feedbackCon img:hover {
-webkit-transform: rotateZ(360deg);
-moz-transform: rotateZ(360deg);
-ms-transform: rotateZ(360deg);
-o-transform: rotateZ(360deg);
transform: rotateZ(360deg);
}
.feedbackCon img {
border-radius: 40px;
-webkit-transition: all 0.6s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
.cnblogs-markdown pre code, .cnblogs-post-body pre code {
display: block;
margin: auto;
vertical-align: auto;
height: auto;
/* line-height: 1.5; */
padding: 5px!important;
font-weight: 500;
}
#cnblogs_post_body h2 {
background: gray !important;
background: #406CA4 !important;
border-radius: 4px 4px 4px 4px !important;
box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
color: #FFFFF0;
font-family: "微软雅黑", "宋体", "黑体", Arial;
font-size: 17px;
font-weight: bold;
margin: 15px 0 !important;
padding: 5px 0 5px 20px;
}
#cnblogs_post_body h1 {
background: gray !important;
background: black !important; // 黑板颜色
border-radius: 4px 4px 4px 4px !important;
box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
color: #FFFFF0;
font-family: "微软雅黑", "宋体", "黑体", Arial;
font-size: 23px;
font-weight: bold;
margin: 15px 0 !important;
padding: 5px 0 5px 20px;
}
h2 {
display: block;
font-size: 1.5em;
-webkit-margin-before: 0.83em;
-webkit-margin-after: 0.83em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
font-weight: bold;
}
.postDesc {
font-size: 13px;
background: url(images/posted_time.png) no-repeat 0 1px;
color: #757575;
float: left;
width: 100%;
clear: both;
text-align: left;
padding-left: 20px;
padding-right: 5px;
margin-top: 20px;
line-height: 1.5;
}
.c_b_p_desc {
font-size: 14px;
line-height: 1.7;
}
blog-common.css…vU8zBESgwkk1:1 .c_b_p_desc {
word-wrap: break-word;
word-break: break-all;
overflow: hidden;
line-height: 1.5;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
color: #21759b;
transition: all 0.4s linear 0s;
}
#blogTitle h1 {
font-size: 30px;
font-weight: bold;
font-family: "Comic Sans MS";
line-height: 1.5em;
margin-top: 20px;
color: #515151;
}
.postTitle {
border-left: 3px solid #21759b;
margin-bottom: 10px;
font-size: 20px;
float: right;
width: 100%;
clear: both;
}
.day .postTitle a {
padding-left: 10px;
}
.postTitle a:hover {
margin-left: 30px;
color: #0f3647;
text-decoration: none;
}
body {
color: #003050;
//background: url(https://www.cnblogs.com/images/cnblogs_com/y2823774827y/1355193/o_4.jpg) fixed;
//background: url(https://ws1.sinaimg.cn/large/0072Vf1pgy1foxlnr1pdmj31hc0u0h1c.jpg) fixed;
//background: url(https://www.cnblogs.com/images/cnblogs_com/y2823774827y/1387340/o_2540971374930594.jpg) fixed;
//background: url(http://images.cnblogs.com/cnblogs_com/y2823774827y/1387340/o_QQ图片20190217001427.jpg) fixed;
background: url(http://images.cnblogs.com/cnblogs_com/BaseAI/1515212/o_Gtime.jpg) fixed;
background-size: cover;
font-family: "Consolas";
font-size: 17px;
}
#home {
opacity: 0.76;
margin: 0 auto;
width: 65%;
min-width: 1060px;
background-color: #fff;
padding: 30px;
margin-top: 30px;
margin-bottom: 50px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
#title {
font-family: Times, "Consolas", serif;
font-size: 14px;
}
#mainContent {
min-height: 200px;
padding: 0px 0px 10px 0;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
float: left;
margin-left: -22em;
width: 110%;
}
.cnblogs-markdown .hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #1E1E1E !important;
color: #DCDCDC !important;
}
.cnblogs-markdown .hljs {
font-family: "Courier New"!important;
font-size: 16px!important;
}
.cnblogs-markdown .hljs-keyword, .cnblogs-markdown .hljs-literal, .cnblogs-markdown .hljs-symbol, .cnblogs-markdown .hljs-name {
color: #569CD6 !important;
}
.cnblogs-markdown .hljs-link {
color: #569CD6 !important;
text-decoration: underline;
}
.cnblogs-markdown .hljs-built_in, .cnblogs-markdown .hljs-type {
color: #4EC9B0 !important;
}
.cnblogs-markdown .hljs-number, .cnblogs-markdown .hljs-class {
color: #B8D7A3 !important;
}
.cnblogs-markdown .hljs-string, .cnblogs-markdown .hljs-meta-string {
color: #D69D85 !important;
}
.cnblogs-markdown .hljs-regexp, .cnblogs-markdown .hljs-template-tag {
color: #9A5334 !important;
}
.postBody {
color: #000;
line-height: 1.7;
font-size: 16px;
}
.waifu {
position: fixed;
bottom: 0;
left: 0;
z-index: 1;
font-size: 0;
-webkit-transform: translateY(3px);
transform: translateY(3px)
}
.waifu:hover {
-webkit-transform: translateY(0);
transform: translateY(0)
}
.waifu.showMyhkPlayer {
-webkit-transform: translate3d(365px,0,0);
-moz-transform: translate3d(365px,0,0);
-ms-transform: translate3d(365px,0,0);
transform: translate3d(365px,0,0)
}
@media (max-width: 768px) {
.waifu {
position: fixed;
bottom: 0;
left: 0;
z-index: 1;
font-size: 0;
transition: all .3s ease-in-out;
-webkit-transform: translateY(3px);
transform: translateY(3px);
}
.waifu:hover {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@media (max-width: 768px) {
.waifu {
display: none;
}
}
.waifu-tips {
opacity: 0;
width: 250px;
height: 70px;
margin: -20px 20px;
padding: 5px 10px;
border: 1px solid rgba(224, 186, 140, 0.62);
border-radius: 12px;
background-color: rgba(236, 217, 188, 0.5);
box-shadow: 0 3px 15px 2px rgba(191, 158, 118, 0.2);
font-size: 12px;
text-overflow: ellipsis;
overflow: hidden;
position: absolute;
animation-delay: 5s;
animation-duration: 50s;
animation-iteration-count: infinite;
animation-name: shake;
animation-timing-function: ease-in-out;
}
.waifu-tool {
display: none;
color: #aaa;
top: 50px;
right: 10px;
font-size: 14px;
position: absolute;
}
.waifu:hover .waifu-tool {
display: block;
}
.waifu-tool span {
display: block;
cursor: pointer;
color: #5b6c7d;
line-height: 20px;
transition: 0.2s;
}
.waifu-tool span:hover {
color: #34495e;
}
.waifu #live2d {
position: relative;
}
@keyframes shake {
2% {
transform: translate(0.5px, -1.5px) rotate(-0.5deg);
}
4% {
transform: translate(0.5px, 1.5px) rotate(1.5deg);
}
6% {
transform: translate(1.5px, 1.5px) rotate(1.5deg);
}
8% {
transform: translate(2.5px, 1.5px) rotate(0.5deg);
}
10% {
transform: translate(0.5px, 2.5px) rotate(0.5deg);
}
12% {
transform: translate(1.5px, 1.5px) rotate(0.5deg);
}
14% {
transform: translate(0.5px, 0.5px) rotate(0.5deg);
}
16% {
transform: translate(-1.5px, -0.5px) rotate(1.5deg);
}
18% {
transform: translate(0.5px, 0.5px) rotate(1.5deg);
}
20% {
transform: translate(2.5px, 2.5px) rotate(1.5deg);
}
22% {
transform: translate(0.5px, -1.5px) rotate(1.5deg);
}
24% {
transform: translate(-1.5px, 1.5px) rotate(-0.5deg);
}
26% {
transform: translate(1.5px, 0.5px) rotate(1.5deg);
}
28% {
transform: translate(-0.5px, -0.5px) rotate(-0.5deg);
}
30% {
transform: translate(1.5px, -0.5px) rotate(-0.5deg);
}
32% {
transform: translate(2.5px, -1.5px) rotate(1.5deg);
}
34% {
transform: translate(2.5px, 2.5px) rotate(-0.5deg);
}
36% {
transform: translate(0.5px, -1.5px) rotate(0.5deg);
}
38% {
transform: translate(2.5px, -0.5px) rotate(-0.5deg);
}
40% {
transform: translate(-0.5px, 2.5px) rotate(0.5deg);
}
42% {
transform: translate(-1.5px, 2.5px) rotate(0.5deg);
}
44% {
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
}
46% {
transform: translate(1.5px, -0.5px) rotate(-0.5deg);
}
48% {
transform: translate(2.5px, -0.5px) rotate(0.5deg);
}
50% {
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
}
52% {
transform: translate(-0.5px, 1.5px) rotate(0.5deg);
}
54% {
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
}
56% {
transform: translate(0.5px, 2.5px) rotate(1.5deg);
}
58% {
transform: translate(2.5px, 2.5px) rotate(0.5deg);
}
60% {
transform: translate(2.5px, -1.5px) rotate(1.5deg);
}
62% {
transform: translate(-1.5px, 0.5px) rotate(1.5deg);
}
64% {
transform: translate(-1.5px, 1.5px) rotate(1.5deg);
}
66% {
transform: translate(0.5px, 2.5px) rotate(1.5deg);
}
68% {
transform: translate(2.5px, -1.5px) rotate(1.5deg);
}
70% {
transform: translate(2.5px, 2.5px) rotate(0.5deg);
}
72% {
transform: translate(-0.5px, -1.5px) rotate(1.5deg);
}
74% {
transform: translate(-1.5px, 2.5px) rotate(1.5deg);
}
76% {
transform: translate(-1.5px, 2.5px) rotate(1.5deg);
}
78% {
transform: translate(-1.5px, 2.5px) rotate(0.5deg);
}
80% {
transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
}
82% {
transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
}
84% {
transform: translate(-0.5px, 0.5px) rotate(1.5deg);
}
86% {
transform: translate(2.5px, 1.5px) rotate(0.5deg);
}
88% {
transform: translate(-1.5px, 0.5px) rotate(1.5deg);
}
90% {
transform: translate(-1.5px, -0.5px) rotate(-0.5deg);
}
92% {
transform: translate(-1.5px, -1.5px) rotate(1.5deg);
}
94% {
transform: translate(0.5px, 0.5px) rotate(-0.5deg);
}
96% {
transform: translate(2.5px, -0.5px) rotate(-0.5deg);
}
98% {
transform: translate(-1.5px, -1.5px) rotate(-0.5deg);
}
0%, 100% {
transform: translate(0, 0) rotate(0);
}
}
/* 定制公告栏文字信息 */
.wenzi{
text-align: center;
font-size:15px;
color:green;
}
/* 定制推荐和反对按键 */
#div_digg{
position:fixed;
bottom:-10px;
width:120px;
right:20px;
box-shadow: 0 0 6px #0000FF;
border:2px solid #FF0000;
padding:4px;
background-color:bule;
border-radius:4px 4px 4px 4px !important;
}
.icon_favorite {
background: transparent url('http://images.cnblogs.com/cnblogs_com/shwee/1218109/o_kj.gif') no-repeat 0 0;
padding-left: 15px;
}
#blog_post_info_block a {
text-decoration: none;
color: bule;
padding: 3px;
}
/*去广告*/
#under_post_kb,
#under_post_news{
display:none;
}
#site_nav_under {
display: none;
}
.c_ad_block, .ad_text_commentbox {
display: none;
margin: 0;
padding: 0;
}
#ad_under_google {
height: 0;
overflow: hidden;
}
#ad_under_google a {
display: none;
}
/* 隐藏反对按钮 */
.buryit {
display:none;
}
.c_ad_block /*关闭下方广告*/
{
display: none;
}
.commentform/*关闭下方广告*/
{
display: none;
}页首 HTML 代码
<style>
#back-top {
position: fixed;
bottom: 10px;
right: 5px;
z-index: 99;
}
#back-top span {
width: 50px;
height: 64px;
display: block;
background:url(http://images.cnblogs.com/cnblogs_com/seanshao/855033/o_rocket.png) no-repeat center center;
}
#back-top a{outline:none}
</style>
<script type="text/javascript">
$(function() {
// hide #back-top first
$("#back-top").hide();
// fade in #back-top
$(window).scroll(function() {
if ($(this).scrollTop() > 500) {
$('#back-top').fadeIn();
} else {
$('#back-top').fadeOut();
}
});
// scroll body to 0px on click
$('#back-top a').click(function() {
$('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
</script>
<p id="back-top" style="display:none"><a href="#top"><span></span></a></p>页脚 HTML 代码
<link type="text/css" rel="stylesheet" href="https://blog-static.cnblogs.com/files/zouwangblog/comment.css">
<script type="text/javascript">
$(function(){
$('#blogTitle h1').addClass('bounceInLeft animated');
$('#blogTitle h2').addClass('bounceInRight animated');
// 删除反对按钮 $('.buryit').remove();
initCommentData();
});
function initCommentData() {
$('.feedbackItem').each(function() {
var text = $(this).find('.feedbackListSubtitle .layer').text();
// 将楼层信息放到data里面
// $(this).find('.blog_comment_body').attr('data-louceng', text.replace(/^#/g, ''));
if($(this).find('.feedbackListSubtitle .louzhu').length>0) $(this).addClass('myself');
var avatar = $(this).find('> .feedbackCon > span').html() || 'http://pic.cnitblog.com/face/sample_face.gif';
$(this).find('> .feedbackCon > .blog_comment_body').append('<img class="user-avatar" src="'+avatar+'"/>')
});
}
$(document).ajaxComplete(function(event, xhr, settings) {
// 监听获取评论ajax事件
if(settings.url.indexOf('/mvc/blog/GetComments.aspx') >= 0) {
initCommentData();
}
});
</script>图片展示界面效果
update:博客侧边栏公告
北京时间
<div id="clockdiv">
<canvas id="dom" width="200" height="200">您的浏览器不兼容canvas</canvas>
</div>
<script type="text/javascript" src="https://blog-static.cnblogs.com/files/zouwangblog/Clock.js"></script>
<meta charset="utf-8"/>
<h3><center>每日一句</h3>
<div class="daily a pome">
<div class="daily pome" id="qwq"></div>
<script>
var st=["<center>给岁月以文明 <br> <center>而不是给文明以岁月<br>",
"<center>古之立大事者,<br><center>不惟有超世之才,<br><center>亦必有坚忍不拔之志。<br>",
"<center>小知不及大知,<br><center>小年不及大年。<br><center>奚以知其然也?<br>",
"<center>死亡是一座永恒的灯塔,不管你驶向何方,最终都会朝它转向。<br><center>一切都将逝去,只有死神永生。<br>",
"<center>是非成败转头空。<br><center>青山依旧在,几度夕阳红。<br>",
"<center>鹏之徙于南冥也,<br><center>水击三千里,<br><center>抟扶摇而上者九万里,<br><center>去以六月息者也。<br>",
"<center>至人无己,神人无功,圣人无名<br>",
"<center>一壶浊酒喜相逢。<br><center>古今多少事,都付笑谈中。<br>",
"<center>有志者事竟成,破釜沉舟,百二秦关终属楚; <br><center>苦心人天不负,卧薪尝胆,三千越甲可吞吴。<br>",
"<center> 你见过凌晨四点的洛杉矶吗?<br>",
"<center>朝闻道<br><center>夕死可矣<br>",
"<center> 人类每次正视自己的渺小<br><center>都是自身的一次巨大进步<br>",
"<center> 真正的才智是刚毅的志向。<br>",
"<center> 也许我们都没有长大,<br><center> 只是世界变小了。<br>"];
var num;
num=Math.floor((Math.random()*14));
document.write(st[num]);
var cli;
</script>
<div style="font-size: 1em; text-align: center; line-height: 1.5em; display: none; " id="qwq"></div>
<div style="text-align: right; margin-top: 16px; font-size: 0.9em; color: #666; display: none; " id="qwq"></div>
</div>
</div>
</embed>
<!-- 小老鼠游戏控件 -->
<div className="sidebarMouse"><object type="application/x-shockwave-flash" style="outline:none;" data="https://files.cnblogs.com/files/jingmoxukong/mouse.swf?up_bodyColor=f0e9cc&up_feetColor=D4C898&up_eyeColor=000567&up_wheelSpokeColor=DEDEDE&up_wheelColor=FFFFFF&up_waterColor=E0EFFF&up_earColor=b0c4de&up_wheelOuterColor=FF4D4D&up_snoutColor=F7F4E9&up_bgColor=F0E4E4&up_foodColor=cba920&up_wheelCenterColor=E4EB2F&up_tailColor=E6DEBE&" width="240" height="160"><param name="movie" value="https://files.cnblogs.com/files/jingmoxukong/mouse.swf?up_bodyColor=f0e9cc&up_feetColor=D4C898&up_eyeColor=000567&up_wheelSpokeColor=DEDEDE&up_wheelColor=FFFFFF&up_waterColor=E0EFFF&up_earColor=b0c4de&up_wheelOuterColor=FF4D4D&up_snoutColor=F7F4E9&up_bgColor=F0E4E4&up_foodColor=cba920&up_wheelCenterColor=E4EB2E&up_tailColor=E6DEBE&"><param name="AllowScriptAccess" value="always"><param name="wmode" value="opaque"></object></div>
<embed src="http://www.xiami.com/widget/0_1770124689/singlePlayer.swf"
type="application/x-shockwave-flash"
width="257"
height="33"
wmode="transparent">
</embed>
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1348989660&site=qq&menu=yes">
<img align="absmiddle" border="0" src="http://wpa.qq.com/pa?p=2:2823774827:41 &r=0.30709030851721764" alt="欢迎与我联系" title="欢迎与我联系">
</a>
<p class="wenzi"></p>
<p>-------------------------------</p>