From 929ace25ee447c249c20ca29cd9d07bab637b4f7 Mon Sep 17 00:00:00 2001
From: Wachiwi
Date: Tue, 17 Dec 2013 14:53:36 +0100
Subject: Table Style
---
css/reveal.css | 22 ++++++++++++++++++----
index.html | 30 ++++++++++++++++++++++++++++++
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 @@
+
+ Superb Tables
+
+
+
+ Item |
+ Value |
+ Quantity |
+
+
+
+
+ Apples |
+ $1 |
+ 7 |
+
+
+ Lemonade |
+ $2 |
+ 18 |
+
+
+ Bread |
+ $3 |
+ 2 |
+
+
+
+
+