| 1 |
// |
| 2 |
// Reboot |
| 3 |
// -------------------------------------------------- |
| 4 |
|
| 5 |
|
| 6 |
html * { |
| 7 |
-webkit-font-smoothing: antialiased; |
| 8 |
-moz-osx-font-smoothing: grayscale; |
| 9 |
} |
| 10 |
|
| 11 |
// Sticky footer |
| 12 |
html, body { |
| 13 |
height: 100%; |
| 14 |
} |
| 15 |
body { |
| 16 |
display: flex; |
| 17 |
flex-direction: column; |
| 18 |
} |
| 19 |
.page-wrapper { |
| 20 |
flex: 1 0 auto; |
| 21 |
} |
| 22 |
.footer { |
| 23 |
flex-shrink: 0; |
| 24 |
} |
| 25 |
|
| 26 |
|
| 27 |
// Links |
| 28 |
a { |
| 29 |
transition: $link-transition; |
| 30 |
&:focus { outline: none; } |
| 31 |
&:hover > .text-decoration-underline { |
| 32 |
text-decoration: none !important; |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
// Background transition for links |
| 37 |
a[class^='bg-']^='bg-'], |
| 38 |
a[class*='bg-']*='bg-'] { |
| 39 |
transition: background-color .25s ease; |
| 40 |
} |
| 41 |
|
| 42 |
|
| 43 |
// Images |
| 44 |
// Responsive images (ensure images don't scale beyond their parents) |
| 45 |
img, |
| 46 |
figure { |
| 47 |
max-width: 100%; |
| 48 |
height: auto; |
| 49 |
vertical-align: middle; |
| 50 |
} |
| 51 |
|
| 52 |
|
| 53 |
// Responsive iframes |
| 54 |
iframe { |
| 55 |
width: 100%; |
| 56 |
} |
| 57 |
|
| 58 |
// Text Selection Color |
| 59 |
::selection { |
| 60 |
background: $user-selection-color; |
| 61 |
} |
| 62 |
::-moz-selection { |
| 63 |
background: $user-selection-color; |
| 64 |
} |
| 65 |
|
| 66 |
b, |
| 67 |
strong { |
| 68 |
font-weight: $font-weight-bold; |
| 69 |
} |
| 70 |
|
| 71 |
small { font-weight: inherit; } |
| 72 |
|
| 73 |
// Disable button :focus outline |
| 74 |
button:focus { |
| 75 |
outline: none; |
| 76 |
} |
| 77 |
|
| 78 |
// Vertical divider |
| 79 |
.hr-vertical { |
| 80 |
width: $border-width; |
| 81 |
height: 100% !important; |
| 82 |
} |
| 83 |
|
| 84 |
|
| 85 |
// Horizontal rule - light version |
| 86 |
.hr-light { |
| 87 |
color: $border-light-color; |
| 88 |
} |
| 89 |
|
| 90 |
// Add extra padding to Footer when there is fixed button on bottom |
| 91 |
@include media-breakpoint-down(lg) { |
| 92 |
.fixed-bottom-btn .footer { |
| 93 |
padding-bottom: 2.25rem; |
| 94 |
} |
| 95 |
} |
| 96 |
|