comparison sat_templates/templates/bulma/blog/discover.html @ 246:1928ba66c194

bulma: replaced custom styles by new spacing helpers
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents 0e69b5843c2f
children c08fadf23c46
comparison
equal deleted inserted replaced
245:10278ba367a2 246:1928ba66c194
22 <div class="columns is-mobile is-multiline"> 22 <div class="columns is-mobile is-multiline">
23 {% for entity in disco_entities %} 23 {% for entity in disco_entities %}
24 <div class="column is-2-desktop is-4-touch"> 24 <div class="column is-2-desktop is-4-touch">
25 <div class="card x-is-hoverable"> 25 <div class="card x-is-hoverable">
26 <a href="{{entities_url[entity]}}" class="items_vert--centered"> 26 <a href="{{entities_url[entity]}}" class="items_vert--centered">
27 <div class="card-image is-flex has-items-centered has-padding-1"> 27 <div class="card-image is-flex has-items-centered px-1 py-1">
28 {{ avatar.avatar(entity, "is-64x64") }} 28 {{ avatar.avatar(entity, "is-64x64") }}
29 </div> 29 </div>
30 <div class="card-content has-text-centered has-text-shortenable has-padding-1"> 30 <div class="card-content has-text-centered has-text-shortenable px-1 py-1">
31 <span>{{ identities[entity].nicknames[0] if identities[entity].nicknames else entity }}</span> 31 <span>{{ identities[entity].nicknames[0] if identities[entity].nicknames else entity }}</span>
32 </div> 32 </div>
33 </a> 33 </a>
34 </div> 34 </div>
35 </div> 35 </div>