Figure out badge widths dynamically
This commit is contained in:
parent
35f4e071ac
commit
fd8434c9e5
|
@ -2,4 +2,14 @@
|
|||
margin: 0 auto 10px
|
||||
|
||||
.badges img
|
||||
height: auto
|
||||
max-width: 100%
|
||||
|
||||
.acquia-badges
|
||||
border-collapse: collapse
|
||||
display: table
|
||||
|
||||
.badge
|
||||
background: none
|
||||
display: table-cell
|
||||
padding: 0
|
||||
|
|
|
@ -7,18 +7,20 @@
|
|||
/>
|
||||
</a>
|
||||
|
||||
<div class="is-flex align-items-center">
|
||||
<img
|
||||
src="{{ site.images_url }}/assets/images/badges/acquia-d8-developer.png"
|
||||
alt="Acquia Certified Developer - Drupal 8 Exam Badge"
|
||||
class="is-2"
|
||||
/>
|
||||
<div class="acquia-badges">
|
||||
<div class="badge">
|
||||
<img
|
||||
src="{{ site.images_url }}/assets/images/badges/acquia-d8-developer.png"
|
||||
alt="Acquia Certified Developer - Drupal 8 Exam Badge"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<img
|
||||
src="{{ site.images_url }}/assets/images/badges/acquia-d8-back-end.png"
|
||||
alt="Acquia Certified Back End Specialist - Drupal 8 Exam Badge"
|
||||
class="is-2"
|
||||
/>
|
||||
<div class="badge">
|
||||
<img
|
||||
src="{{ site.images_url }}/assets/images/badges/acquia-d8-back-end.png"
|
||||
alt="Acquia Certified Back End Specialist - Drupal 8 Exam Badge"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="http://conference.phpnw.org.uk/phpnw17" class="is-block">
|
||||
|
|
Loading…
Reference in a new issue