wolegca.github.io/css/index.css

61 lines
902 B
CSS
Raw Normal View History

2019-09-15 14:27:21 +08:00
.container{
max-width: 1440px;
margin:0 auto;
position: relative
}
2019-09-15 15:02:30 +08:00
.container:before{
content:'';
display: block;
2019-09-15 15:12:19 +08:00
position:fixed;
2019-09-15 15:22:40 +08:00
top:0px;
2019-09-15 15:02:30 +08:00
left:0px;
2019-09-15 15:16:17 +08:00
height:150%;
2019-09-15 15:02:30 +08:00
width:100%;
2019-09-18 23:20:00 +08:00
background: black url(../images/bg.jpg) no-repeat top;
2019-09-15 15:02:30 +08:00
background-size: cover
}
.clearfix:after{
content:'';
display: block;
height:0px;
clear: both;
visibility: hidden
}
2019-09-15 14:27:21 +08:00
.sidebar-border{
position: absolute;
left:0px;
top:0px;
display: block;
width:250px;
background-color: transparent;
padding-top:50px;
overflow-x:hidden;
padding-bottom: 10px;
padding-left: 10px
}
.sidebar{
position: relative;
display: block;
width:100%;
2019-09-18 22:34:01 +08:00
background-color:rgba(255,255,255,.8);
2019-09-15 14:27:21 +08:00
border-radius: 15px;
padding:15px
}
.sidebar div:first-child{
font-size: 20px;
font-weight: bold
}
@media screen and (max-width:700px){
.sidebar-border{
position: relative;
width:100%;
height:auto;
padding:0px
}
}