Skip to content
Snippets Groups Projects
Commit 8d8dfd77 authored by Olivia206's avatar Olivia206
Browse files

Posts list responsive

parent 5d7ba82f
No related branches found
No related tags found
No related merge requests found
......@@ -27,21 +27,34 @@
margin-bottom: $spacing3
padding-bottom: $spacing3
.post
@include grid(12, md)
display: flex
flex-direction: row
@include media-breakpoint-down(md)
@include grid(12, md)
div:not(.media)
grid-column: 4/13
p,
a
max-width: col(8)
time
font-size: $h5-size
position: absolute
right: 0
top: 0
@include media-breakpoint-down(md)
flex: 1
margin-left: $spacing0
p:not(.title)
@include media-breakpoint-down(md)
display: none
.media
grid-column: 1/4
background: none
margin: 0
width: 33%
@include media-breakpoint-up(md)
grid-column: 1/4
@include media-breakpoint-up(md)
time
font-size: $h5-size
position: absolute
right: 0
top: 0
div:not(.media)
p,
a
max-width: col(8)
@else
.posts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment