forked from blallo/talk-hm-0x15
Table Style
This commit is contained in:
parent
9da2921b74
commit
929ace25ee
2 changed files with 50 additions and 6 deletions
|
@ -327,16 +327,30 @@ body {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.reveal table th,
|
||||
.reveal table td {
|
||||
text-align: left;
|
||||
padding-right: .3em;
|
||||
.reveal table{
|
||||
margin: auto;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.reveal table th {
|
||||
text-shadow: rgb(255,255,255) 1px 1px 2px;
|
||||
.reveal table th{
|
||||
text-shadow: rgb(255,255,255) 1px 1px 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.reveal table th,
|
||||
.reveal table td {
|
||||
text-align: left;
|
||||
padding-right: .3em;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
|
||||
.reveal table tr:last-child td{
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.reveal sup {
|
||||
vertical-align: super;
|
||||
}
|
||||
|
|
30
index.html
30
index.html
|
@ -131,6 +131,36 @@
|
|||
</ol>
|
||||
</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>
|
||||
<script type="text/template">
|
||||
## Markdown support
|
||||
|
|
Loading…
Reference in a new issue