> th,
> td {
padding: $table-cell-padding;
- line-height: $line-height;
vertical-align: top;
border: 1px solid $table-border-color;
cursor: pointer;
user-select: none;
border: $input-btn-border-width solid transparent;
- @include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $line-height, $btn-border-radius);
+ @include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $line-height-base, $btn-border-radius);
@include transition(all .2s ease-in-out);
&,
margin-top: 0;
margin-bottom: 1rem;
font-size: 90%;
- line-height: $line-height;
color: $pre-color;
// Account for some code outputs that place code tags in pre tags
padding: 3px 20px;
clear: both;
font-weight: normal;
- line-height: $line-height;
color: $dropdown-link-color;
text-align: inherit; // For `<button>`s
white-space: nowrap; // prevent links from randomly breaking onto new lines
// Dropdown section headers
.dropdown-header {
display: block;
- padding: 3px 20px;
+ padding: 5px 20px;
font-size: $font-size-sm;
- line-height: $line-height;
color: $dropdown-header-color;
white-space: nowrap; // as with > li > a
}
// height: $input-height;
padding: $input-padding-y $input-padding-x;
font-size: $font-size-base;
- line-height: $line-height;
color: $input-color;
background-color: $input-bg;
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
// Image thumbnails
.img-thumbnail {
padding: $thumbnail-padding;
- line-height: $line-height;
background-color: $thumbnail-bg;
border: $thumbnail-border-width solid $thumbnail-border-color;
border-radius: $thumbnail-border-radius;
float: left; // Collapse white-space
padding: $pagination-padding-y $pagination-padding-x;
margin-left: -1px;
- line-height: $line-height;
color: $pagination-color;
text-decoration: none;
background-color: $pagination-bg;
// Make the `body` use the `font-size-root`
font-family: $font-family-base;
font-size: $font-size-base;
- line-height: $line-height;
+ line-height: $line-height-base;
// Go easy on the eyes and use something other than `#000` for text
color: $body-color;
// By default, `<body>` has no `background-color` so we set one as a best practice.
th,
td {
padding: $table-cell-padding;
- line-height: $line-height;
vertical-align: top;
border-top: $table-border-width solid $table-border-color;
}
.blockquote-footer {
display: block;
font-size: 80%; // back to default font-size
- line-height: $line-height;
color: $blockquote-small-color;
&::before {
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
-$font-family-base: $font-family-sans-serif !default;
+$font-family-base: $font-family-sans-serif !default;
// Pixel value used to responsively scale all typography. Applied to the `<html>` element.
$font-size-root: 16px !default;
$font-size-sm: .875rem !default;
$font-size-xs: .75rem !default;
+$line-height-base: 1.5 !default;
+
$font-size-h1: 2.5rem !default;
$font-size-h2: 2rem !default;
$font-size-h3: 1.75rem !default;
$display3-weight: 300 !default;
$display4-weight: 300 !default;
-$line-height: 1.5 !default;
-
$headings-margin-bottom: ($spacer / 2) !default;
$headings-font-family: inherit !default;
$headings-font-weight: 500 !default;
$input-padding-x-lg: 1.25rem !default;
$input-padding-y-lg: .75rem !default;
-$input-height: (($font-size-base * $line-height) + ($input-padding-y * 2)) !default;
+$input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default;
$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
$modal-inner-padding: 15px !default;
$modal-title-padding: 15px !default;
-$modal-title-line-height: $line-height !default;
+$modal-title-line-height: $line-height-base !default;
$modal-content-bg: #fff !default;
$modal-content-border-color: rgba(0,0,0,.2) !default;
@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
padding: $padding-y $padding-x;
font-size: $font-size;
- line-height: $line-height;
@include border-radius($border-radius);
}
.page-link {
padding: $padding-y $padding-x;
font-size: $font-size;
- line-height: $line-height;
}
.page-item {
font-weight: normal;
letter-spacing: normal;
line-break: auto;
- line-height: $line-height;
+ line-height: $line-height-base;
text-align: left; // Fallback for where `start` is not supported
text-align: start;
text-decoration: none;