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/template/theme.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'css/theme/template/theme.scss') diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index d1be10a..5409826 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -199,6 +199,16 @@ body { 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