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.
This commit is contained in:
Christian Fehmer 2015-02-28 19:15:14 +01:00
parent 53b9dbc654
commit 3ead7d4eb5
12 changed files with 76 additions and 0 deletions

View file

@ -163,6 +163,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -159,6 +159,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -168,6 +168,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -165,6 +165,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -163,6 +163,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -157,6 +157,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -159,6 +159,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -159,6 +159,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -166,6 +166,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -163,6 +163,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }

View file

@ -199,6 +199,16 @@ body {
border-bottom: 1px solid; 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 { .reveal table tr:last-child td {
border-bottom: none; border-bottom: none;
} }

View file

@ -159,6 +159,12 @@ body {
padding: 0.2em 0.5em 0.2em 0.5em; padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid; } 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 { .reveal table tr:last-child td {
border-bottom: none; } border-bottom: none; }