merge table styles #761, tweak table padding

This commit is contained in:
Hakim El Hattab 2013-12-20 10:35:21 +01:00
commit 6428504d6d
4 changed files with 48 additions and 7 deletions

View File

@ -363,14 +363,25 @@ body {
box-sizing: border-box; box-sizing: border-box;
} }
.reveal table th, .reveal table {
.reveal table td { margin: auto;
text-align: left; border-collapse: collapse;
padding-right: .3em; border-spacing: 0;
} }
.reveal table th { .reveal table th {
font-weight: bold; font-weight: bold;
}
.reveal table th,
.reveal table td {
text-align: left;
padding: 0.2em 1em 0.2em 0;
border-bottom: 1px solid;
}
.reveal table tr:last-child td {
border-bottom: none;
} }
.reveal sup { .reveal sup {

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -131,6 +131,36 @@
</ol> </ol>
</section> </section>
<section>
<h2>Superb Tables</h2>
<table>
<thead>
<tr>
<th>Item</th>
<th>Value</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Apples</td>
<td>$1</td>
<td>7</td>
<tr>
<tr>
<td>Lemonade</td>
<td>$2</td>
<td>18</td>
<tr>
<tr>
<td>Bread</td>
<td>$3</td>
<td>2</td>
<tr>
</tbody>
</table>
</section>
<section data-markdown> <section data-markdown>
<script type="text/template"> <script type="text/template">
## Markdown support ## Markdown support

2
js/reveal.min.js vendored
View File

@ -1,5 +1,5 @@
/*! /*!
* reveal.js 2.6.1 (2013-12-20, 09:48) * reveal.js 2.6.1 (2013-12-20, 10:34)
* http://lab.hakim.se/reveal-js * http://lab.hakim.se/reveal-js
* MIT licensed * MIT licensed
* *