Make the home layout work properly on narrow screens
This commit is contained in:
parent
0e80d93994
commit
05c512de46
2 changed files with 12 additions and 3 deletions
|
@ -16,6 +16,7 @@ body
|
|||
padding-bottom: 1em
|
||||
display: flex
|
||||
justify-content: space-evenly
|
||||
margin: auto 1em
|
||||
#navbar
|
||||
justify-content: space-between
|
||||
.breadcrumb
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
body > main
|
||||
display: flex
|
||||
flex-direction: row-reverse
|
||||
flex-direction: column
|
||||
align-items: center
|
||||
> ol.h-feed
|
||||
flex: 1
|
||||
margin-right: 2em;
|
||||
> .author
|
||||
max-width: 30%
|
||||
max-width: 25rem
|
||||
margin-bottom: 2em
|
||||
> .h-card
|
||||
position: sticky
|
||||
top: 1em
|
||||
|
||||
@media (min-width: 768px)
|
||||
body > main
|
||||
flex-direction: row-reverse
|
||||
align-items: flex-start
|
||||
> ol.h-feed
|
||||
margin-right: 2em
|
||||
|
|
Loading…
Reference in a new issue