首页样式修改。
This commit is contained in:
parent
7d580e1a2f
commit
a4ade3640d
@ -4,7 +4,7 @@ body{background: url("../images/body-bg.png") no-repeat center; background-size:
|
||||
.cm-page-title{position:relative;box-sizing: border-box;padding: .2rem 0; text-align: center; background: url("../images/title-border.png") no-repeat bottom center; background-size: 12.5rem .1rem; font-size: 0;}
|
||||
.cm-page-title ul{position: absolute;top:50%;left:0;transform: translate(0, -50%);width:100%}
|
||||
.cm-page-title ul:after{content: '';display: block;clear: both;}
|
||||
.cm-page-title ul li{box-sizing:border-box;float:left;width:50%;text-align: center;font-size: .3rem;color: #fff;border-right: 1px solid #fff;line-height: .6rem;}
|
||||
.cm-page-title ul li{box-sizing:border-box;float:left;width:33.3333%;text-align: center;font-size: .3rem;color: #fff;border-right: 1px solid #fff;line-height: .6rem;}
|
||||
.cm-page-title ul li:last-child{border: none}
|
||||
.cm-page-title ul li a{display: block;color: #fff;font-weight: bold;text-shadow: 0 0 10px #fff}
|
||||
.cm-main{width:95%;margin: 0 auto;padding: 1% 0;box-sizing: border-box;}
|
||||
|
Loading…
Reference in New Issue
Block a user