104 lines
1.4 KiB
CSS
104 lines
1.4 KiB
CSS
/* 清除浏览器默认样式的css代码 */
|
|
body,ul{
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 0;
|
|
}
|
|
|
|
|
|
/* 公共样式的css代码 */
|
|
.left {
|
|
float: left;
|
|
}
|
|
.right {
|
|
float: right;
|
|
}
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
|
|
.hidden {
|
|
overflow: hidden;
|
|
}
|
|
.reset {
|
|
line-height: 1;
|
|
}
|
|
|
|
|
|
/* 页面的具体代码 */
|
|
.main {
|
|
width: 280px;
|
|
}
|
|
|
|
.title {
|
|
margin-bottom: 15px;
|
|
}
|
|
.text {
|
|
font-size: 14px;
|
|
color: #969696;
|
|
}
|
|
.refresh {
|
|
font-size: 14px;
|
|
color: #787878;
|
|
}
|
|
.refresh i {
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
.list {}
|
|
.list li {
|
|
overflow: hidden;
|
|
margin-bottom: 15px;
|
|
}
|
|
.list li .photo {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 100%;
|
|
margin-right: 10px;
|
|
border: 1px solid #ddd;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.introduce {}
|
|
.introduce .name {
|
|
font-size: 14px;
|
|
color: #333;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.introduce .statistic {
|
|
font-size: 12px;
|
|
color: #969696;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.follow {
|
|
font-size: 13px;
|
|
color: #42c02e;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.follow i {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.all {
|
|
height: 35.07px;
|
|
background: #f7f7f7;
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 4px;
|
|
color: #787878;
|
|
font-size: 13px;
|
|
box-sizing: border-box;
|
|
line-height: 35.07px;
|
|
text-align: center;
|
|
}
|
|
.all i {
|
|
font-size: 12px;
|
|
zoom: 0.65;
|
|
}
|
|
.all span {
|
|
vertical-align: middle;
|
|
} |