1
0
Fork 0

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; }