aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWachiwi <speichermail3@aol.com>2013-12-17 14:53:36 +0100
committerWachiwi <speichermail3@aol.com>2013-12-17 14:53:36 +0100
commit929ace25ee447c249c20ca29cd9d07bab637b4f7 (patch)
tree9a3dce4042e34c448f25f3f5c1d3191085a9b5a6
parent9da2921b7452204b99cd1b3e448e22735f16c751 (diff)
downloadfreenode-live-2017-presentation-929ace25ee447c249c20ca29cd9d07bab637b4f7.tar
freenode-live-2017-presentation-929ace25ee447c249c20ca29cd9d07bab637b4f7.tar.gz
Table Style
-rw-r--r--css/reveal.css22
-rw-r--r--index.html30
2 files changed, 48 insertions, 4 deletions
diff --git a/css/reveal.css b/css/reveal.css
index a9b3888..7e209fa 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -327,16 +327,30 @@ body {
box-sizing: border-box;
}
+.reveal table{
+ margin: auto;
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+.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;
+ text-align: left;
+ padding-right: .3em;
+ border-bottom: 1px solid;
}
-.reveal table th {
- text-shadow: rgb(255,255,255) 1px 1px 2px;
+.reveal table tr:last-child td{
+ border-bottom: none;
}
+
+
.reveal sup {
vertical-align: super;
}
diff --git a/index.html b/index.html
index a3bfd7d..b6e2dbd 100644
--- a/index.html
+++ b/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