add: table css

fix: info-list spacing
This commit is contained in:
Tobias Reisinger 2020-01-28 23:03:41 +01:00
parent f1a81fd958
commit d7c16e9ed2
2 changed files with 27 additions and 1 deletions

View file

@ -75,3 +75,26 @@ body, #wrapper
background-color: #3b5998; background-color: #3b5998;
border-color: #3b5998; border-color: #3b5998;
} }
#home-carousel
{
height: 400px;
}
#home-carousel img
{
max-width: 100%;
max-height: 400px;
}
table tbody tr:nth-of-type(2n+1)
{
background:
#d0d6d3;
}
table td,
table th
{
padding: 0.6rem 0.4rem;
}

View file

@ -3,7 +3,10 @@
{% set collection = page.collection() %} {% set collection = page.collection() %}
{% block content %} {% block content %}
{% if page.content %}
{{ page.content }} {{ page.content }}
<hr class="mb-4" />
{% endif %}
{% for child in collection %} {% for child in collection %}
{% if child.template == 'info' %} {% if child.template == 'info' %}
<div class="row"> <div class="row">