// Typography // Font Family declaration @font-face { font-family: 'latoregular'; src: font-url('lato-regular-webfont.eot'); src: font-url('lato-regular-webfont.eot?#iefix') format('embedded-opentype'), font-url('lato-regular-webfont.woff2') format('woff2'), font-url('lato-regular-webfont.woff') format('woff'), font-url('lato-regular-webfont.ttf') format('truetype'), font-url('lato-regular-webfont.svg#latoregular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'latobold'; src: font-url('lato-bold-webfont.eot'); src: font-url('lato-bold-webfont.eot?#iefix') format('embedded-opentype'), font-url('lato-bold-webfont.woff2') format('woff2'), font-url('lato-bold-webfont.woff') format('woff'), font-url('lato-bold-webfont.ttf') format('truetype'), font-url('lato-bold-webfont.svg#latobold') format('svg'); font-weight: normal; font-style: normal; } /* Basic Typography */ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: $headings-font-family; color: $headings-color; line-height: $headings-line-height; margin: 0 0 $headings-margin-bottom 0; padding: 0; } h1, .h1 { font-size: $font-size-h1; } h2, .h2 { font-size: $font-size-h2; } h3, .h3 { font-size: $font-size-h3; } h4, .h4 { font-size: $font-size-h4; } h5, .h5 { font-size: $font-size-h5; } h6, .h6 { font-size: $font-size-h6; } small, .small { font-size: $font-size-small; } // Links a { color: $link-color; text-decoration: underline; &.link { text-decoration: none; &:hover { text-decoration: underline; } } } p { margin: 0 0 $paragraphs-margin-bottom 0; } hr { border-bottom: 1px solid $text-color; border-left: none; border-right: none; border-top: none; margin: $base-spacing 0; clear: both; } ul, ol { &.list-inline { @include list-inline(); } } em { font-style: italic; } strong, b { font-family: $font-bold; &.accent { color: $text-accent-color; } } @if settings('minor-typo') { abbr[title] { border-bottom: 1px dotted; } abbr, acronym { cursor: help; } // Code tt, code { font-family: $font-family-monospace; font-size: em(12px); } pre { font-family: $font-family-monospace; tab-size: 2; margin-bottom: 12px; white-space: nowrap; border: 1px solid #E1E1E1; border-radius: 4px; > code { display: block; padding: 1rem 1.5rem; white-space: pre; } } }