info@53: //
info@53: // Typography
info@53: // --------------------------------------------------
info@53: 
info@53: 
info@53: // Headings
info@53: // -------------------------
info@53: 
info@53: h1, h2, h3, h4, h5, h6,
info@53: .h1, .h2, .h3, .h4, .h5, .h6 {
info@53:   font-family: @headings-font-family;
info@53:   font-weight: @headings-font-weight;
info@53:   line-height: @headings-line-height;
info@53:   color: @headings-color;
info@53: 
info@53:   small,
info@53:   .small {
info@53:     font-weight: normal;
info@53:     line-height: 1;
info@53:     color: @headings-small-color;
info@53:   }
info@53: }
info@53: 
info@53: h1,
info@53: h2,
info@53: h3 {
info@53:   margin-top: @line-height-computed;
info@53:   margin-bottom: (@line-height-computed / 2);
info@53: 
info@53:   small,
info@53:   .small {
info@53:     font-size: 65%;
info@53:   }
info@53: }
info@53: h4,
info@53: h5,
info@53: h6 {
info@53:   margin-top: (@line-height-computed / 2);
info@53:   margin-bottom: (@line-height-computed / 2);
info@53: 
info@53:   small,
info@53:   .small {
info@53:     font-size: 75%;
info@53:   }
info@53: }
info@53: 
info@53: h1, .h1 { font-size: @font-size-h1; }
info@53: h2, .h2 { font-size: @font-size-h2; }
info@53: h3, .h3 { font-size: @font-size-h3; }
info@53: h4, .h4 { font-size: @font-size-h4; }
info@53: h5, .h5 { font-size: @font-size-h5; }
info@53: h6, .h6 { font-size: @font-size-h6; }
info@53: 
info@53: 
info@53: // Body text
info@53: // -------------------------
info@53: 
info@53: p {
info@53:   margin: 0 0 (@line-height-computed / 2);
info@53: }
info@53: 
info@53: .lead {
info@53:   margin-bottom: @line-height-computed;
info@53:   font-size: floor(@font-size-base * 1.15);
info@53:   font-weight: 200;
info@53:   line-height: 1.4;
info@53: 
info@53:   @media (min-width: @screen-sm-min) {
info@53:     font-size: (@font-size-base * 1.5);
info@53:   }
info@53: }
info@53: 
info@53: 
info@53: // Emphasis & misc
info@53: // -------------------------
info@53: 
info@53: // Ex: 14px base font * 85% = about 12px
info@53: small,
info@53: .small  { font-size: 85%; }
info@53: 
info@53: // Undo browser default styling
info@53: cite    { font-style: normal; }
info@53: 
info@53: // Contextual emphasis
info@53: .text-muted {
info@53:   color: @text-muted;
info@53: }
info@53: .text-primary {
info@53:   color: @brand-primary;
info@53:   &:hover {
info@53:     color: darken(@brand-primary, 10%);
info@53:   }
info@53: }
info@53: .text-warning {
info@53:   color: @state-warning-text;
info@53:   &:hover {
info@53:     color: darken(@state-warning-text, 10%);
info@53:   }
info@53: }
info@53: .text-danger {
info@53:   color: @state-danger-text;
info@53:   &:hover {
info@53:     color: darken(@state-danger-text, 10%);
info@53:   }
info@53: }
info@53: .text-success {
info@53:   color: @state-success-text;
info@53:   &:hover {
info@53:     color: darken(@state-success-text, 10%);
info@53:   }
info@53: }
info@53: .text-info {
info@53:   color: @state-info-text;
info@53:   &:hover {
info@53:     color: darken(@state-info-text, 10%);
info@53:   }
info@53: }
info@53: 
info@53: // Alignment
info@53: .text-left           { text-align: left; }
info@53: .text-right          { text-align: right; }
info@53: .text-center         { text-align: center; }
info@53: 
info@53: 
info@53: // Page header
info@53: // -------------------------
info@53: 
info@53: .page-header {
info@53:   padding-bottom: ((@line-height-computed / 2) - 1);
info@53:   margin: (@line-height-computed * 2) 0 @line-height-computed;
info@53:   border-bottom: 1px solid @page-header-border-color;
info@53: }
info@53: 
info@53: 
info@53: // Lists
info@53: // --------------------------------------------------
info@53: 
info@53: // Unordered and Ordered lists
info@53: ul,
info@53: ol {
info@53:   margin-top: 0;
info@53:   margin-bottom: (@line-height-computed / 2);
info@53:   ul,
info@53:   ol {
info@53:     margin-bottom: 0;
info@53:   }
info@53: }
info@53: 
info@53: // List options
info@53: 
info@53: // Unstyled keeps list items block level, just removes default browser padding and list-style
info@53: .list-unstyled {
info@53:   padding-left: 0;
info@53:   list-style: none;
info@53: }
info@53: 
info@53: // Inline turns list items into inline-block
info@53: .list-inline {
info@53:   .list-unstyled();
info@53: 
info@53:   > li {
info@53:     display: inline-block;
info@53:     padding-left: 5px;
info@53:     padding-right: 5px;
info@53: 
info@53:     &:first-child {
info@53:       padding-left: 0;
info@53:     }
info@53:   }
info@53: }
info@53: 
info@53: // Description Lists
info@53: dl {
info@53:   margin-top: 0; // Remove browser default
info@53:   margin-bottom: @line-height-computed;
info@53: }
info@53: dt,
info@53: dd {
info@53:   line-height: @line-height-base;
info@53: }
info@53: dt {
info@53:   font-weight: bold;
info@53: }
info@53: dd {
info@53:   margin-left: 0; // Undo browser default
info@53: }
info@53: 
info@53: // Horizontal description lists
info@53: //
info@53: // Defaults to being stacked without any of the below styles applied, until the
info@53: // grid breakpoint is reached (default of ~768px).
info@53: 
info@53: @media (min-width: @grid-float-breakpoint) {
info@53:   .dl-horizontal {
info@53:     dt {
info@53:       float: left;
info@53:       width: (@component-offset-horizontal - 20);
info@53:       clear: left;
info@53:       text-align: right;
info@53:       .text-overflow();
info@53:     }
info@53:     dd {
info@53:       margin-left: @component-offset-horizontal;
info@53:       .clearfix(); // Clear the floated `dt` if an empty `dd` is present
info@53:     }
info@53:   }
info@53: }
info@53: 
info@53: // MISC
info@53: // ----
info@53: 
info@53: // Abbreviations and acronyms
info@53: abbr[title],
info@53: // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
info@53: abbr[data-original-title] {
info@53:   cursor: help;
info@53:   border-bottom: 1px dotted @abbr-border-color;
info@53: }
info@53: .initialism {
info@53:   font-size: 90%;
info@53:   text-transform: uppercase;
info@53: }
info@53: 
info@53: // Blockquotes
info@53: blockquote {
info@53:   padding: (@line-height-computed / 2) @line-height-computed;
info@53:   margin: 0 0 @line-height-computed;
info@53:   border-left: 5px solid @blockquote-border-color;
info@53:   p {
info@53:     font-size: (@font-size-base * 1.25);
info@53:     font-weight: 300;
info@53:     line-height: 1.25;
info@53:   }
info@53:   p:last-child {
info@53:     margin-bottom: 0;
info@53:   }
info@53:   small,
info@53:   .small {
info@53:     display: block;
info@53:     line-height: @line-height-base;
info@53:     color: @blockquote-small-color;
info@53:     &:before {
info@53:       content: '\2014 \00A0'; // EM DASH, NBSP
info@53:     }
info@53:   }
info@53: 
info@53:   // Float right with text-align: right
info@53:   &.pull-right {
info@53:     padding-right: 15px;
info@53:     padding-left: 0;
info@53:     border-right: 5px solid @blockquote-border-color;
info@53:     border-left: 0;
info@53:     p,
info@53:     small,
info@53:     .small {
info@53:       text-align: right;
info@53:     }
info@53:     small,
info@53:     .small {
info@53:       &:before {
info@53:         content: '';
info@53:       }
info@53:       &:after {
info@53:         content: '\00A0 \2014'; // NBSP, EM DASH
info@53:       }
info@53:     }
info@53:   }
info@53: }
info@53: 
info@53: // Quotes
info@53: blockquote:before,
info@53: blockquote:after {
info@53:   content: "";
info@53: }
info@53: 
info@53: // Addresses
info@53: address {
info@53:   margin-bottom: @line-height-computed;
info@53:   font-style: normal;
info@53:   line-height: @line-height-base;
info@53: }