Files
mafan/css/style.less
unstop a6ca88e610 add footer
update read me
2014-05-15 12:22:54 +08:00

125 lines
1.9 KiB
Plaintext

@import "reset.css";
body{
background: #f4f4f4;
font: 400 16px/1.14 "Georgia", "Xin Gothic", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei", sans-serif;
}
.container{
max-width: 40rem;
margin: 0 auto;
box-sizing: border-box;
}
header{
background: #454545;
padding: 1em 0;
color: #fff;
text-align: center;
h1{
margin: 0;
}
}
.problems .one{
border-radius: 3px;
background: #FFFFFF;
box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.20);
padding: 1em;
margin: 1em 0;
.title{
font-size: 1.2em;
}
.gain, .take{
font-size: 14px;
margin-right: 0.5em;
}
.gain{
color: #507724;
}
.take{
color: #CE3E50;
}
.btn{
cursor: pointer;
float: right;
border-radius: 2px;
background: #69AD1E;
border: 1px solid #417505;
color: #FFF;
padding: 0.5em 1em;
position: relative;
outline: none;
font-family: sans-serif;
&:disabled{
background: #AAA;
border-color: #999;
}
}
.percent, .text{
display: none;
z-index: 2;
position: relative;
}
.text{
display: block;
}
.progress{
display: none;
background: #69AD1E;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.counting{
background: #a3a3a3;
.percent, .progress{
display: block;
}
.text{
display: none;
}
}
}
.goods .one{
display: block;
float: left;
margin: 0 1em 0.5em 0;
.name{
border-radius: 3px;
background: #B1B1B1;
border: 1px solid #8A8A8A;
color: #fff;
padding: 0.3em 0.5em;
line-height: 1em;
display: inline-block;
}
.number{
color: #747474;
margin-left: 0.3em;
}
}
.nothing{
color: #999;
}
footer{
clear: both;
padding-top: 1em;
}
footer .container{
text-align: center;
padding: 1em 0;
border-top: 1px solid #CCC;
margin-top: 3em;
font-size: .9em;
color: #999;
a{
text-decoration: none;
color: #666;
}
}