mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-02-21 18:39:39 +01:00
Added support for css logos
This commit is contained in:
parent
e03e740149
commit
94b4e1f883
@ -83,4 +83,16 @@ h3.card-title {
|
||||
|
||||
h3.footer-title {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.card-img-top i{
|
||||
font-size: 100px;
|
||||
}
|
||||
|
||||
div#navbarNavheader li.nav-item{
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
div#navbarNavfooter li.nav-item{
|
||||
margin-right: 6px;
|
||||
}
|
@ -2,7 +2,11 @@
|
||||
<div class="card h-100 d-flex flex-column">
|
||||
<div class="card-body d-flex flex-column">
|
||||
<div class="card-img-top">
|
||||
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
|
||||
{% if card.icon.class %}
|
||||
<i class="{{ card.icon.class }}"></i>
|
||||
{% else %}
|
||||
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
|
||||
{% endif %}
|
||||
</div>
|
||||
<hr />
|
||||
<h3 class="card-title">{{ card.title }}</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user