diff --git a/layouts/shortcodes/officehours.html b/layouts/shortcodes/officehours.html index 708cac861fe8fc1e08868d0d3c40f978d4171a30..e5674a230c55cb8d50df5960fcba8857b7fb2c83 100644 --- a/layouts/shortcodes/officehours.html +++ b/layouts/shortcodes/officehours.html @@ -15,7 +15,7 @@ {{ else }} {{ dateFormat "Monday" (int .start) }} {{ end }}</td> - <td>{{ if (eq $.Site.Language.Lang "de") }} + <td class="right">{{ if (eq $.Site.Language.Lang "de") }} {{ (time (int .start)).Day }}. {{ index $.Site.Data.DE.Monate (sub (time (int .start)).Month 1) }} {{ (time (int .start)).Year }} {{ else }} {{ dateFormat "January 2, 2006" (int .start) }} diff --git a/static/css/main.css b/static/css/main.css index 3845567ad6d6c87bc16b4c2897f043a8ce00655b..845755057a6f3e7396cd16a3377d02d25fa09f32 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -550,6 +550,10 @@ table td { border-top: 1px solid #dee2e6; } +td.right { + text-align: right; +} + code { vertical-align: bottom; }