From 231219acd82e969dfbfc01fa635ee88275d68200 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 17 Nov 2016 04:55:11 +0100 Subject: [PATCH] Center table rows horizontaly --- static/css/base.css | 3 +++ templates/base.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/static/css/base.css b/static/css/base.css index 9b665291..8c022bff 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -37,6 +37,9 @@ footer { padding-top: 20px; 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 */ footer { diff --git a/templates/base.html b/templates/base.html index 2489ba2a..6d8dab64 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,9 +8,9 @@ {# Load CSS and JavaScript #} {% bootstrap_css %} - {% bootstrap_javascript %} + {{ site_name }} : {% block title %}Accueil{% endblock %}