博客园样式-紫色
皮肤: SimpleMemory
页面定制 CSS 代码:
element.style {
font-size: 0px;
font-weight:0l;
}
.navbar{
display: none;
}
/*快速评论*/
#div_digg {
position: fixed;
bottom: 10px;
right: 15px;
border: 2px solid #ECD7B1;
padding: 10px;
width: 48px;
background-color: #fff;
border-radius: 5px 5px 5px 5px !important;
box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
}
.postBody a, .feedbackCon a{
text-decoration: none;
color: #c28f6c;
}
/*搜索框*/
.input_my_zzk {
border: 1px solid rgba(163, 82, 225, 0.8) ;
}
/*统计*/
.blogStats {
float: right;
font-size: 14px;
color: rgba(255,255,255,1);
}
/*翻页*/
.pager {
color: #E91E63 ;
font-size: 15px;
}
.pager a {
box-shadow: 0 1px 3px rgba(255, 255, 255, 1) ;
border: 0px solid rgba(255, 255, 255, 1) ;
background: rgba(255, 255, 255, 1) ;
color: #fff;
transition: all 0.4s linear 0s;
}
.pager a:hover {
background: rgba(163, 82, 225, 0.2) ;
color: rgba(163, 82, 225, 1);
}
/*最末版权*/
#footer {
color: rgba(163, 82, 225, 0.8) ;
text-align: center;
min-height: 15px;
_height: 15px;
border-top: 1px solid rgba(163, 82, 225, 0.5) ;
margin-top: 50px;
padding-top: 10px;
margin-bottom: 10px;
}
/*公告栏*/
#sideBar h3 {
font-size: 15px;
color: rgba(163, 82, 225, 1) ;
padding-left: 3px;
border-left: 5px solid rgba(163, 82, 225, 0.8) ;
}
#sideBar a {
color:rgba(163, 82, 225, 0.6) ;
}
#sideBarMain li {
font-size: 13px;
color: rgba(163, 82, 225, 1) ;
}
#sideBar a:hover{
font-size: 14px;
color: rgba(163, 82, 225, 1);
}
.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory, .input_my_zzk{
background: none;
}
/*去除文章页底部推广链接*/
.c_ad_block {
display: none;
}
/*分类中文章标题*/
.entrylistPosttitle {
border-left: 4px solid rgba(163, 82, 225, 1) ;
margin-left: 4px;
margin-bottom: 5px;
font-size: 16px;
width: 100%;
clear: both;
}
.entrylistPosttitle a:link, .entrylistPosttitle a:visited, .entrylistPosttitle a:active {
color: rgba(163, 82, 225, 1) ;
transition: all 0.4s linear 0s;
}
/*a链接*/
.postBody a:link, .postBody a:visited, .postBody a:active {
text-decoration: underline;
}
a:visited {
color: rgba(163, 82, 225, 1) ;
text-decoration: none;
}
a:link {
color: rgba(163, 82, 225, 1) ;
text-decoration: none;
}
/*提交评论按钮*/
.comment_btn {
color: #fff;
background: rgba(163, 82, 225, 1) ;
}
/*背景图*/
body {
background:rgba(152, 0, 216, 1) url('http://images.cnblogs.com/cnblogs_com/wuyazi/1207561/t_e0009de805e4657cf96f621532bf2677.jpg') fixed no-repeat;;
background-position: 50% 0%;
background-size: cover;
color: #000000ed;
opacity: 0.8;
}
/*主色*/
#home {
margin: 0 auto;
width: 76%;
min-width: 950px;
background-color:rgba(255, 255, 255, 0.8);
padding: 30px;
margin-top: 50px;
margin-bottom: 50px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
/*自己博客名称距离标题栏高度*/
#blogTitle {
height: 80px; /*高度*/
clear: both;
}
/*设置自己的博客名称大小*/
#blogTitle h1 {
font-size: 36px;
font-weight: bold;
line-height: 1.8em;/*原始 1.6em*/
margin-top: 10px;/*原始 15px */
}
#blogTitle h1 a {
color: rgba(163, 82, 225, 1) ;
}
#blogTitle h1 a:hover {
color: #9C27B0 ;
}
/*博客签名设置*/
#blogTitle h2 {
font-weight: normal;
font-size: 15px; /*原始 16px ;font-size: 1.0rem;*/
color: rgba(163, 82, 225, 0.8);
text-align: left;
transition: all 0.4s linear 0s;
}
/*标题字体*/
#navigator {
font-size: 18px;
border-bottom: 1px rgba(163, 82, 225, 1) ;
border-top: 1px solid rgba(163, 82, 225, 1) ;
height: 50px;
background: rgba(163, 82, 225, 0.8) ;
clear: both;
margin-top: 25px;
}
#navList a:link, #navList a:visited, #navList a:active {
color: rgba(255,255,255,1);
font-weight: bold;
}
#navList a {
padding-top: 13px;
}
/*文章、随便、评论统计*/
.blogStats {
margin-right: 12px;
}
/*文章标题设置*/
.postTitle {
border-left: 4px solid rgba(163, 82, 225, 1) ;
margin-left: 5px;
margin-bottom: 3px;
font-size: 16px;
width: 100%;
clear: both;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
color:rgba(163, 82, 225, 1) ;
transition: all 0.4s linear 0s;
}
#ad_t2{
display:none;
}
/*代码*/
.cnblogs_code, .cnblogs_code div, .cnblogs_code pre {
background-color:rgba(255,255,255, 0.1);
border:none;
}
/*签名*/
#AllanboltSignature, #AllanboltSignature, .comment_textarea, #div_digg{
background-color:rgba(255,255,255, 0.4);
border: none;
box-shadow:none;
}
/*github*/
.git-link {
z-index: 100;
position: fixed;
top: 0;
right: 0;
border: 0;
height: 149px;
width: 149px;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
background-image: url(//images2015.cnblogs.com/blog/459873/201603/459873-20160317090540131-1089895320.png);
}
/*图片溢出隐藏设置*/
#topics, #mainContent {
overflow: visible;
}
#postDesc {
float: none;
}
/*评论*/
#tbCommentBody {
background: url(https://images.cnblogs.com/cnblogs_com/tynam/1207561/o_200113015817command.gif);
background-size: 100% 100%;
}
#comment_form_container .comment_textarea {
width: 98%;
}
/*点赞*/
.buryit {
display: none;
}
#div_digg {
background-color: rgba(255,255,255, 0);
}
#div_digg .diggit {
background: url(https://images.cnblogs.com/cnblogs_com/tynam/1415353/o_20051409241619300543988356147944760546156.gif) no-repeat;
background-size: 100%;
width: 115px;
height: 154px;
position: relative;
right: 91px;
}
#digg_tips {
color: #ebbffb;
}
#div_digg .diggnum {
position: absolute;
right: 14px;
top: -16px;
left: 91px;
animation: tynam-stars .4s infinite linear;
}
.diggnum {
color: #ebbffb;
font-size: 53px;
}
@keyframes tynam-stars
{
0% {transform: rotate(12deg) translateY(0px);}
50% {transform: rotate(35deg) translateY(-30px);}
100% {transform: rotate(12deg) translateY(0px);}
}
博客侧边栏公告(支持HTML代码) (支持 JS 代码)
<p class="para">联系我:<a href="mailto:tynam.yang@gmail.com" title="email">tynam.yang@gmail.com</a></p> <!-- github --> <a class="git-link" href="https://github.com/tynam-yang"></a>
页首 HTML 代码
<!--背景星云连接--> <script> !function(){ function n(n,e,t){ return n.getAttribute(e)||t } function e(n){ return document.getElementsByTagName(n) } function t(){ var t=e("script"),o=t.length,i=t[o-1]; return{ l:o,z:n(i,"zIndex",-1),o:n(i,"opacity",1),c:n(i,"color","255,255,255"),n:n(i,"count",99) } } function o(){ a=m.width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth, c=m.height=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight } function i(){ r.clearRect(0,0,a,c); var n,e,t,o,m,l; s.forEach(function(i,x){ for(i.x+=i.xa,i.y+=i.ya,i.xa*=i.x>a||i.x<0?-1:1,i.ya*=i.y>c||i.y<0?-1:1,r.fillRect(i.x-.5,i.y-.5,1,1),e=x+1;e<u.length;e++)n=u[e], null!==n.x&&null!==n.y&&(o=i.x-n.x,m=i.y-n.y, l=o*o+m*m,l<n.max&&(n===y&&l>=n.max/2&&(i.x-=.03*o,i.y-=.03*m), t=(n.max-l)/n.max,r.beginPath(),r.lineWidth=t/2,r.strokeStyle="rgba("+d.c+","+(t+.2)+")",r.moveTo(i.x,i.y),r.lineTo(n.x,n.y),r.stroke())) }), x(i) } var a,c,u,m=document.createElement("canvas"), d=t(),l="c_n"+d.l,r=m.getContext("2d"), x=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame|| function(n){ window.setTimeout(n,1e3/45) }, w=Math.random,y={x:null,y:null,max:2e4};m.id=l,m.style.cssText="position:fixed;top:0;left:0;z-index:"+d.z+";opacity:"+d.o,e("body")[0].appendChild(m),o(),window.onresize=o, window.onmousemove=function(n){ n=n||window.event,y.x=n.clientX,y.y=n.clientY }, window.onmouseout=function(){ y.x=null,y.y=null }; for(var s=[],f=0;d.n>f;f++){ var h=w()*a,g=w()*c,v=2*w()-1,p=2*w()-1;s.push({x:h,y:g,xa:v,ya:p,max:6e3}) } u=s.concat([y]), setTimeout(function(){i()},100) }(); </script> <!-- 更换地址栏logo --> <script type="text/javascript" language="javascript"> document.getElementById('favicon').href = 'https://files.cnblogs.com/files/tynam/logo.ico'; </script> <!-- 改变title值 --> <script type="text/javascript" language="javascript"> document.title = 'TYNAM 测试博客'; </script>
页脚 HTML 代码
<script type="text/javascript"> /* 鼠标特效 */ var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("♢","♟","❦","☁","♭","➽","➲","™","☺","〠","〆","〄","ܜ","εїз","◈","☘","▣","♞","✲","♤","♙","♗","♖","☿","♕","♞","✯","♣","❤","♪","❆","➼","↯","★","↭","☀","✦","✲","❣","↬","★","✤","✲","☾","♬"); var $i = $("<span></span>").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css({ "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 20, "left": x, "position": "absolute", "font-size": "2.1rem", "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")" }); $("body").append($i); $i.animate({ "top": y - 180, "opacity": 0 }, 1500, function() { $i.remove(); }); }); }); </script> <!-- 点击图片放大显示 --> <!-- zoom.js 的样式 --> <link rel="stylesheet" type="text/css" href="https://blog-static.cnblogs.com/files/yadongliang/zoom.css"> <!-- jQuery 的 cdn --> <script src="https://cdn.bootcss.com/jquery/1.8.3/jquery.min.js"></script> <!-- Bootstrap 的 transition.js cdn(过渡动画插件)--> <script src="https://cdn.bootcss.com/bootstrap/3.2.0/js/transition.js"></script> <!-- zoom.js 核心代码 --> <script src="https://blog-static.cnblogs.com/files/yadongliang/zoom.js"></script> <script type='text/javascript'>$('#cnblogs_post_body img').attr('data-action', 'zoom');</script> <!-- 点击图片放大显示结束 -->