tables restyling

This commit is contained in:
Raphael Goetter 2014-05-03 11:22:45 +02:00
parent 7590ebbde6
commit 15f0b5bf48

View File

@ -5,13 +5,12 @@
table, table,
.table { .table {
width: 100%;
max-width : 100%; max-width : 100%;
table-layout: fixed; table-layout: fixed;
border-collapse: collapse; border-collapse: collapse;
vertical-align: top; vertical-align: top;
} border: 1px solid #ccc;
table {
width: 100%;
} }
.table { .table {
display: table; display: table;
@ -21,24 +20,18 @@ table.table-auto {
table-layout:auto; table-layout:auto;
} }
caption { caption {
padding: 10px; padding: @small-value;
color: #555; color: #555;
font-style: italic; font-style: italic;
} }
table { td,
border: 1px solid #ccc; th {
}
tr > * + * {
border-left: 1px solid #ccc;
}
th,
td {
padding: .3em .8em; padding: .3em .8em;
border: 1px #aaa dotted;
vertical-align: top;
min-width: @medium-value;
cursor: default;
text-align: left; text-align: left;
border-bottom: 1px solid #ccc;
}
td {
color: #333;
} }
/* alternate tables */ /* alternate tables */