yapi/client/containers/Home/Home.scss

87 lines
1.7 KiB
SCSS
Raw Normal View History

2017-07-10 19:50:11 +08:00
@import '../../styles/common.scss';
2017-07-17 21:11:58 +08:00
$color-white : #fff;
$color-blue-lighter : #f1f5ff;
$color-grey-lighter : #F7F7F7;
$color-blue-light: #5dade2;
$color-black-lighter: #404040;
.home-main {
display: -webkit-box;
2017-07-17 21:11:58 +08:00
margin-top: .64rem;
-webkit-box-orient: vertical;
2017-07-17 21:11:58 +08:00
background: $color-grey-lighter;
.main-one{
height:calc(100% - .64rem);
2017-07-17 21:11:58 +08:00
padding: .5rem .5rem 0 .5rem;
//background: radial-gradient(ellipse at center,#45484d 0%,#000 100%);
.home-des{
2017-07-17 21:11:58 +08:00
padding: 0 .3rem .3rem 0;
.title{
font-size: .6rem;
}
.detail{
2017-07-17 21:11:58 +08:00
font-size: .2rem;
}
}
.login-form{
2017-07-17 21:11:58 +08:00
}
.img-container{
margin-bottom: -.2rem;
img{
width: 100%;
height: 100%;
box-shadow : 0 0 3px 0 $color-black-lighter;
border-radius: .03rem;
}
}
.main-one-left{
padding-right: .15rem;
}
.main-one-right{
padding-left: .15rem;
}
}
2017-07-19 17:53:39 +08:00
.user-home{
height:calc(100% - .64rem);
padding: .5rem .5rem 0 .5rem;
.user-des{
max-width: 11rem;
margin: 0 auto .5rem;
text-align: center;
.title{
font-size: .8rem;
margin-bottom: .2rem;
}
.des{
font-size: .25rem;
margin-bottom: .3rem;
}
.btn{
button{
font-size: .2rem;
line-height: .2rem;
height: .5rem;
padding: .15rem .5rem;
}
}
}
}
2017-07-17 21:11:58 +08:00
.main-part{
padding: .9rem .5rem;
&:nth-child(odd){
background-color: $color-blue-lighter;
}
&:nth-child(even){
background-color: $color-white;
}
}
.container{
2017-07-18 18:25:53 +08:00
max-width: 11rem;
2017-07-17 21:11:58 +08:00
margin: 0 auto;
}
}
2017-07-10 19:50:11 +08:00