一、RiPro头像滚动旋转
/*头像滚动旋转*/
.bg-cover {border: #ececec 1px solid;}
.avatar{-webkit-transition:0.4s;-webkit-transition:-webkit-transform 0.4s ease-out;transition:transform 0.4s ease-out;-moz-transition:-moz-transform 0.4s ease-out;}
.avatar:hover{transform:rotateZ(360deg);-webkit-transform:rotateZ(360deg);-moz-transform:rotateZ(360deg);}
二、RiProLoGo流光效果
/*LoGo流光效果*/
.logo-wrapper {
position: relative;
font-size:2em;
font-weight:700;
line-height:39px;javascript:;
overflow:hidden;
margin:0;
}
.logo-wrapper::before{
content:"";
position: absolute;
width: 150px;
height: 10px;
background-color: rgba(255,255,255,.5);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-animation: searchLights 1s ease-in 1s infinite;
animation: searchLights 1s ease-in 1s infinite;
}
@-webkit-keyframes searchLights {
0% { left: -100px; top: 0; }
to { left: 90px; top: 0px; }
}
三、RiPro文章标题优化
/*文章标题优化*/
.sjblog-avatar {
width: 50px;
float: left;
}
.sjblog-avatar img {
float: left;
width: 50px;
border-radius: 50%;
margin-right: 20px;
}
.sjblog-tgroup{
padding-left: 66px;
padding-bottom: 20px;
border-bottom: 1px solid #f5f5f5;
margin-bottom: 20px;
}
.article-content .entry-header .entry-title{
padding-bottom:0;
margin-bottom: 0;
border-bottom: none;
}
.sjblog-name {
display: block;
font-size: 13px;
color: #cdcdcd;
}
.sjblog-name a{
color: #cdcdcd;
}
.sjblog-name a:hover{
color: #2756fc;
}
.sjblog-time {
margin-left: 20px;
}
感谢您的来访,获取更多精彩文章请收藏本站。

© 版权声明
THE END
暂无评论内容