8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Center table rows horizontaly

This commit is contained in:
lhark 2016-11-17 04:55:11 +01:00
parent c4f26c4090
commit da89824fcb
2 changed files with 4 additions and 1 deletions

View file

@ -37,6 +37,9 @@ footer {
padding-top: 20px; padding-top: 20px;
background-color: #f1f1f1; background-color: #f1f1f1;
} }
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
vertical-align: middle;
}
/* Set black background color, white text and some padding */ /* Set black background color, white text and some padding */
footer { footer {

View file

@ -8,9 +8,9 @@
<head> <head>
{# Load CSS and JavaScript #} {# Load CSS and JavaScript #}
{% bootstrap_css %} {% bootstrap_css %}
<link rel="stylesheet" href="{% static "/static/css/base.css" %}">
{% bootstrap_javascript %} {% bootstrap_javascript %}
<link rel="stylesheet" href="{% static "/static/css/base.css" %}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title> <title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title>
</head> </head>