Floating lists

This commit is contained in:
James Barnsley
2016-12-12 16:58:24 +13:00
parent 4927d512de
commit b98a360ca3

View File

@ -76,6 +76,7 @@
width: 49%; width: 49%;
padding: 16px 18px; padding: 16px 18px;
border-bottom: 1px solid $mid_grey; border-bottom: 1px solid $mid_grey;
border-top: 0;
position: relative; position: relative;
&.playlist { &.playlist {
@ -93,8 +94,8 @@
border-top: 1px solid $mid_grey; border-top: 1px solid $mid_grey;
} }
&:nth-child(2n+1){ &:nth-child(2n){
float: right; margin-left: 2%;
} }
&:hover { &:hover {
@ -112,7 +113,6 @@
@include responsive( $bp_medium ){ @include responsive( $bp_medium ){
.content { .content {
padding: 50px; padding: 50px;
width: 80%; width: 80%;
@ -120,6 +120,12 @@
.list-item { .list-item {
float: none !important; float: none !important;
width: auto; width: auto;
margin-left: 0 !important;
border-top: 0;
&:nth-child(1){
border-top: 1px solid $mid_grey;
}
} }
} }