From 15f0b5bf4830ee625e01909b242d44b998e5df87 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Sat, 3 May 2014 11:22:45 +0200 Subject: [PATCH] tables restyling --- less/03-tables.less | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/less/03-tables.less b/less/03-tables.less index 80c3509..87d32d0 100644 --- a/less/03-tables.less +++ b/less/03-tables.less @@ -5,13 +5,12 @@ table, .table { + width: 100%; max-width : 100%; table-layout: fixed; border-collapse: collapse; vertical-align: top; -} -table { - width: 100%; + border: 1px solid #ccc; } .table { display: table; @@ -21,24 +20,18 @@ table.table-auto { table-layout:auto; } caption { - padding: 10px; + padding: @small-value; color: #555; font-style: italic; } -table { - border: 1px solid #ccc; -} -tr > * + * { - border-left: 1px solid #ccc; -} -th, -td { +td, +th { padding: .3em .8em; + border: 1px #aaa dotted; + vertical-align: top; + min-width: @medium-value; + cursor: default; text-align: left; - border-bottom: 1px solid #ccc; -} -td { - color: #333; } /* alternate tables */