From 3ead7d4eb573b7c9ef75dc00926ac63bad873e23 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Sat, 28 Feb 2015 19:15:14 +0100 Subject: Markdown table column alignment #1050 The alignment information were already in the generated html. The css was the only thing missing, so I added it. --- css/theme/night.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'css/theme/night.css') diff --git a/css/theme/night.css b/css/theme/night.css index 71319b2..6a5ed31 100644 --- a/css/theme/night.css +++ b/css/theme/night.css @@ -157,6 +157,12 @@ body { padding: 0.2em 0.5em 0.2em 0.5em; border-bottom: 1px solid; } +.reveal table th[align="center"], .reveal table td[align="center"] { + text-align: center; } + +.reveal table th[align="right"], .reveal table td[align="right"] { + text-align: right; } + .reveal table tr:last-child td { border-bottom: none; } -- cgit v1.2.3