mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
@@ -278,10 +278,14 @@ caption {
|
|||||||
caption-side: bottom;
|
caption-side: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 1. Removes font-weight bold by inheriting
|
||||||
|
// 2. Matches default `<td>` alignment by inheriting `text-align`.
|
||||||
|
// 3. Fix alignment for Safari
|
||||||
|
|
||||||
th {
|
th {
|
||||||
// Matches default `<td>` alignment by inheriting from the `<body>`, or the
|
font-weight: $table-th-font-weight; // 1
|
||||||
// closest parent with a set `text-align`.
|
text-align: inherit; // 2
|
||||||
text-align: inherit;
|
text-align: -webkit-match-parent; // 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -363,6 +363,7 @@ $table-border-color: $border-color !default;
|
|||||||
|
|
||||||
$table-head-bg: $gray-200 !default;
|
$table-head-bg: $gray-200 !default;
|
||||||
$table-head-color: $gray-700 !default;
|
$table-head-color: $gray-700 !default;
|
||||||
|
$table-th-font-weight: null !default;
|
||||||
|
|
||||||
$table-dark-color: $white !default;
|
$table-dark-color: $white !default;
|
||||||
$table-dark-bg: $gray-800 !default;
|
$table-dark-bg: $gray-800 !default;
|
||||||
|
Reference in New Issue
Block a user