美文网首页
个人主页css代码

个人主页css代码

作者: 李仁平 | 来源:发表于2016-09-20 15:57 被阅读345次

body{
margin: 0px;
font-family: STXingkai;
font-size: 18px;
/* background-color: #f2f2f2;*/

}
header{
width: 800px;
height: 230px;
margin: 0px 0 10px 0px;
float: left;
position: relative;

}
nav{
height: 200px;
width:293px;
float: left;
margin-left: 18px;
}
/边栏左侧/

aside_left{

margin: 0px;
background: #fff url(images/2.png) no-repeat;
width: 100px;
height: 810px;

float: left;

}
/边栏右侧/
#aside_right{
margin: 0px;
background: #fff url(images/2.png) no-repeat;
width: 100px;
height: 810px;
position: relative;

left: 958px;

}
article{
width: 800px;
float: left;
}
footer{
width: 1050px;

}
a{
text-decoration: none;
color: #000;
}
li{
list-style-type: none;
}

rongqi{

width: 1056px;
margin: 20px auto;
background-color: #FFF;

}

top{

width: 1050px;
margin: 0px 0 10px 0px;
border: 2px solid #000;

}

gerentu{background: #fff url(images/50.png) no-repeat;

width: 270px;
height: 200px;
float: left;

}

gerentu:hover{

background: #fff url(images/22.png) no-repeat;
width: 270px;
height: 200px;   }
/*nav部分*/

nav{
background: #fff url(images/3.png) no-repeat;
}
nav li{
float: left;
}

nav_daoheng{

width: 293px;      
position: absolute;
 top: 146px;

}

nav_daoheng ul{

margin: 0px;
padding: 0px;

}

nav_daoheng li a{

display: block;
width: 91px;
height: 44px;
line-height: 44px;
background-color: #999;
color: #fff;
padding: 2px;
margin:1px;
text-align: center;

}
pre{
font-family: STXingkai;
font-size: 28px;
color: #333;
margin:10px;
}
/article的左侧部分/

article_left{

width: 212px;
height: 370px;
border: 2px solid #e4e4e4 ;
border-left: transparent;
border-right: transparent;
margin-left: 56px;
float: left;
position: relative;

}

article_left ul li{

width: 25px;
float: left;  
padding-top: 10px;

}
ul .left2{
margin-left: 80px;
}

article_left_bottom{

width: 180px;
height: 80px;
background: #fff url(images/4.png) no-repeat;
position: absolute;
bottom: 0px;

}
/article的笔记部分/

article_note{

width: 300px;
height: 370px;
float: left;
margin-left: 20px;
/*border: 1px solid red;*/
font-family: Avenir;
font-size: 15px;
position: relative;

}

article_note ul{

margin: -22px 20px;

}
.note{
width: 133px;
height: 32px;
background: #fff url(images/5.png) no-repeat;
}

article_note li{

margin: 18px 0;
width: 133px;

}

article_note li b{

display: block;
border-bottom: 1px solid #999;
width: 133px;

}

article_note li b a{

display: block;
margin-left: 25px;
margin-bottom: 8px;

}

yuan{

border: 1px solid #797979;
width:120px; 
height:40px;
-webkit-border-radius: 40px/20px;

-moz-border-radius: 40px/20px;
position: absolute;
bottom: 5px;
left: 60px;

}
span{
height: 370px;
border-right: 2px solid #666;
position: absolute;
right:16px;
top: 0px

}
/article的右侧/

article_right{

width: 180px;
font-size: 15px;
float: left;
font-family: "宋体";
text-indent: 2em;
margin: 30px 10px;

}
/article的底部/

article_bottom{

width: 770px;
height: 150px; 
float: left;
margin:30px 50px;
background-image: url(images/7.png);
background-size: 100% 99%;
background-position: no-repeat;

}
/article的底部的左侧/

article_bottom_left li{

width: 200px;
height: 30px;
background:  url(images/8.png) no-repeat left;
margin: 10px 0;    

}

article_bottom_left li a{

margin-left: 60px;
height: 30px;
line-height: 30px;

}

article_bottom_left li b{

 display: block;
border-bottom: 3px solid #c9c9c9;
width: 160px;

}

article_bottom_left{

float: left;

}
/article的底部的图片1/

metu1{

width: 100px;
height: 150px;
background: url(images/9.png) no-repeat left top;
float: left;
margin: 10px;
font-size: 14px;
font-family: "宋体";

}

metu1 ul{

margin: 9px;

}

metu1 li{

width: 25px;
margin-left: 30px;
margin-top: -12px;
font-size: 17px;
font-family: STXingkai;

}
/article的底部的图片2/
#metu2{
width: 100px;
height: 150px;
background: url(images/10.png) no-repeat left top;
float: left;
margin: 10px;
font-size: 14px;
font-family: "宋体";
margin-left: 50px;
}

metu2 ul{

margin: 9px;

}

metu2 li{

width: 25px;
margin-left: 30px;
margin-top: -12px;
font-size: 17px;
font-family: STXingkai;

}
/article的底部的图片3/

metu3{

width: 100px;
height: 150px;
background: url(images/11.png) no-repeat left top;
float: left;
margin: 10px;
font-size: 14px;
font-family: "宋体";
margin-left: 50px;

}

metu3 ul{

margin: 9px;

}

metu3 li{

width: 25px;
margin-left: 30px;
margin-top: -12px;
font-size: 17px;
font-family: STXingkai;

}
footer{
font-size: 14px;
font-family: "宋体";
float: left;

}

footer_top{

width: 1050px;
margin: 0px 0 10px 0px;
border: 2px solid #000;

}

footer_bottom{

text-align: center;

}

footer_bottom a{

margin-left: 30px;

}

footer_bottom b{

margin-left: 30px;

}

相关文章

网友评论

      本文标题:个人主页css代码

      本文链接:https://www.haomeiwen.com/subject/kejoettx.html