* { font-family: $font-face-regular; } /* Headers */ h1, h2, h3, h4, h5, h6, p { color: color('text'); } h1, .heading-large { font-family: $font-face-gotham; font-weight: 500; font-size: $font-size-500; @media (min-width: $screen-sm) { font-size: $font-size-600; } @media (min-width: $screen-md) { font-size: $font-size-700; } } h2, .heading-medium { font-family: $font-face-gotham; font-size: $font-size-400; @media (min-width: $screen-sm) { font-size: $font-size-500; } @media (min-width: $screen-md) { font-size: $font-size-600; } } h3, .heading-small { font-family: $font-face-gotham; font-size: $font-size-300; @media (min-width: $screen-sm) { font-size: $font-size-400; } @media (min-width: $screen-md) { font-size: $font-size-500; } } h4, .heading-extra_small { font-family: $font-face-gotham; font-size: $font-size-300; @media (min-width: $screen-sm) { font-size: $font-size-400; } } h5 { font-family: $font-face-gotham; font-weight: 300; font-size: $font-size-300; } h6 { font-family: $font-face-gotham; font-size: $font-size-200; } p { font-family: $font-face-regular; font-size: $font-size-default; line-height: 1.6; } small { font-family: $font-face-regular; font-size: $font-size-100; line-height: 1.2em; } b, strong { font-family: $font-face-bold; } .page-title { margin-top: 0; } .lead { font-family: $font-face-gotham; font-weight: 100; } .title-extra_thin { font-family: $font-face-gotham; font-weight: 300; } .title-thin { font-family: $font-face-gotham; font-weight: 400; } .title-bold { font-family: $font-face-gotham; font-weight: 700; } a { color: color('secondary'); &:link, &:visited, &:hover, &:active { color: color('secondary'); } } .ellipsis_overflow { // from mars_ui white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* mixin for multiline ellipsization http://hackingui.com/front-end/a-pure-css-solution-for-multiline-text-truncation/ */ @mixin multi_line_ellipsis($lineHeight: 1.1em, $lineCount: 3, $bgColor: $color-gray-700) { overflow: hidden; position: relative; line-height: $lineHeight; max-height: $lineHeight * $lineCount; padding-right: 1em; &:before { content: '...'; position: absolute; right: 0; bottom: 0; } &:after { content: ''; position: absolute; right: 0; width: 1em; height: 1em; margin-top: 0.2em; background: $bgColor; } }