forked from 00dani/lemoncurry
Lots of spacing adjustments so that the new entry layout doesn't suck on mobile
This commit is contained in:
parent
cf0264b5a6
commit
0d1d102f47
3 changed files with 5 additions and 7 deletions
|
@ -37,14 +37,12 @@
|
|||
|
||||
{% for c in entry.cats.all() %}
|
||||
{{i}}<a class="p-category card-link" href="{{ c.url }}">
|
||||
{{i}}<i class="fas fa-paw" aria-hidden="true"></i>
|
||||
{{i}}{{ c.name }}
|
||||
{{i}}<i class="fas fa-paw" aria-hidden="true"></i> {{ c.name }}
|
||||
{{i}}</a>
|
||||
{% endfor %}
|
||||
{% for s in entry.syndications.all() %}
|
||||
{{i}}<a class="u-syndication card-link" href="{{ s.url }}">
|
||||
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i>
|
||||
{{i}}{{ s.profile }}
|
||||
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i> {{ s.profile }}
|
||||
{{i}}</a>
|
||||
{% endfor %}
|
||||
{{i}}</div>
|
||||
|
|
|
@ -17,7 +17,8 @@ ol.entries, div.entry
|
|||
align-items flex-start
|
||||
font-size 0.8rem
|
||||
margin-right 0.4rem
|
||||
width 7rem
|
||||
flex-basis 7rem
|
||||
max-width 10%
|
||||
|
||||
a.p-author
|
||||
align-self center
|
||||
|
@ -51,4 +52,3 @@ ol.entries, div.entry
|
|||
margin-bottom 0
|
||||
.card-link
|
||||
font-size 0.8rem
|
||||
white-space nowrap
|
||||
|
|
|
@ -68,7 +68,7 @@ body
|
|||
|
||||
|
||||
> main
|
||||
padding 2rem
|
||||
padding 2rem 1rem
|
||||
width 100%
|
||||
flex 1
|
||||
display flex
|
||||
|
|
Loading…
Reference in a new issue