lemoncurry/entries/static/entries/css/h-entry.styl

62 lines
1023 B
Stylus

ol.entries, div.entry
max-width 100%
display flex
margin-bottom 0
flex 1
flex-direction column
justify-content center
> li
margin-bottom 1rem
&:last-child
margin-bottom 0
.h-entry.media
> aside.info
display flex
flex-direction column
align-items flex-start
font-size 0.8rem
margin-right 0.4rem
flex-basis 7rem
max-width 10%
a.p-author
align-self center
text-align center
img.u-photo
border-radius .25rem
max-height 3em
> *
margin-bottom .25rem
.media
align-items baseline
max-width 10rem
> :first-child
margin-right 2px
display none
@media (min-width $sm)
display inline-block
> .card
flex 1
.e-content
ul
list-style-type disc
ul, ol
margin-bottom 1rem
padding-left 1.1rem
ul
list-style-type circle
ul, ol
margin-bottom 0
ul
list-style-type square
img
max-width 100%
> :last-child
margin-bottom 0
.card-link
display inline-block
font-size 0.8rem
margin-left 0
margin-right 1.25rem