3 // --------------------------------------------------
5 // Reset the box-sizing
7 // Heads up! This reset may cause conflicts with some third-party widgets.
8 // For recommendations on resolving such conflicts, see
9 // http://getbootstrap.com/getting-started/#third-box-sizing
11 @include box-sizing(border-box);
16 @include box-sizing(border-box);
23 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
27 font-family: $base-font-regular;
28 font-size: $font-size-base;
29 line-height: $line-height-base;
31 background-color: $body-bg;
34 // Reset fonts for relevant elements
48 text-decoration: none;
52 color: $link-hover-color;
53 text-decoration: $link-hover-decoration;
63 // We reset this here because previously Normalize had no `figure` margins. This
64 // ensures we don't break anyone's use of the element.
73 vertical-align: middle;
76 // Responsive images (ensure images don't scale beyond their parents)
78 @include img-responsive;
83 border-radius: $border-radius-large;
88 // Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
90 padding: $thumbnail-padding;
91 line-height: $line-height-base;
92 background-color: $thumbnail-bg;
93 border: 1px solid $thumbnail-border;
94 border-radius: $thumbnail-border-radius;
95 @include transition(all .2s ease-in-out);
97 // Keep them at most 100% wide
98 @include img-responsive(inline-block);
103 border-radius: 50%; // set radius in percents
109 margin-top: $line-height-computed;
110 margin-bottom: $line-height-computed;
112 border-top: 1px solid $hr-border;
115 // Only display content to screen readers
117 // See: http://a11yproject.com/posts/how-to-hide-content/
126 clip: rect(0, 0, 0, 0);
130 // Use in conjunction with .sr-only to only display content when it's focused.
131 // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
132 // Credit: HTML5 Boilerplate
146 // iOS "clickable elements" fix for role="button"
148 // Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
149 // for traditionally non-focusable elements with role="button"
150 // see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile