From 929ace25ee447c249c20ca29cd9d07bab637b4f7 Mon Sep 17 00:00:00 2001 From: Wachiwi Date: Tue, 17 Dec 2013 14:53:36 +0100 Subject: [PATCH] Table Style --- css/reveal.css | 26 ++++++++++++++++++++------ index.html | 30 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 6 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 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; } diff --git a/index.html b/index.html index a3bfd7d..b6e2dbd 100644 --- a/index.html +++ b/index.html @@ -131,6 +131,36 @@ +
+

Superb Tables

+ + + + + + + + + + + + + + + + + + + + + + + + + +
ItemValueQuantity
Apples$17
Lemonade$218
Bread$32
+
+