mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-02-22 19:09:40 +01:00
Added support for css logos
This commit is contained in:
parent
e03e740149
commit
94b4e1f883
@ -84,3 +84,15 @@ h3.card-title {
|
|||||||
h3.footer-title {
|
h3.footer-title {
|
||||||
font-size: 1.3em;
|
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 h-100 d-flex flex-column">
|
||||||
<div class="card-body d-flex flex-column">
|
<div class="card-body d-flex flex-column">
|
||||||
<div class="card-img-top">
|
<div class="card-img-top">
|
||||||
|
{% if card.icon.class %}
|
||||||
|
<i class="{{ card.icon.class }}"></i>
|
||||||
|
{% else %}
|
||||||
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
|
<img src="{{ card.icon.cache }}" alt="{{ card.title }}" style="width: 100px; height: auto;">
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<h3 class="card-title">{{ card.title }}</h3>
|
<h3 class="card-title">{{ card.title }}</h3>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user