ghost_leaders_theme/assets/css/components/tables.css

52 lines
838 B
CSS

/* Tables
/* ---------------------------------------------------------- */
table {
border-collapse: separate;
margin: 0 0 var(--margin) 0;
width: 100%;
font-size: 0.8em;
}
th {
color: var(--color-base);
font-size: 0.9em;
font-weight: var(--font-bold);
padding: 0 0.7em 0.4em 0.7em;
text-align: left;
}
td {
padding: 0.4em 0.7em;
border-left-width: 0;
border-top-width: 0;
}
td:first-child {
border-left-width: 1px;
}
tbody tr {
border: solid 1px var(--color-border);
border-left: 0;
border-right: 0;
}
tbody tr:first-child td {
border-top-width: 1px;
}
tbody tr:nth-child(2n + 1) {
background-color: var(--color-bg);
}
tbody td {
border: solid 1px var(--color-border);
border-left-width: 0;
border-top-width: 0;
}
tfoot {
border-width: 0;
}