github.com/smintz/nomad@v0.8.3/website/source/assets/stylesheets/_inner.scss (about) 1 #inner { 2 p, li, .alert { 3 font-size: $font-size; 4 font-family: $font-family-open-sans; 5 font-weight: $font-weight-reg; 6 line-height: 1.84em; 7 margin: 0 0 $font-size; 8 -webkit-font-smoothing: antialiased; 9 } 10 11 .alert p:last-child { 12 margin-bottom: 0; 13 } 14 15 pre, 16 code, 17 pre code, 18 tt { 19 font-family: $font-family-monospace; 20 font-size: $font-size - 2; 21 line-height: 1.6; 22 } 23 24 pre { 25 padding: 20px; 26 margin: 0 0 $font-size; 27 padding: 20px; 28 margin: 0 0 $font-size; 29 30 // This will force the code to scroll horizontally on small screens 31 // instead of wrapping. 32 code { 33 overflow-wrap: normal; 34 white-space: pre; 35 } 36 } 37 38 a { 39 color: $body-link-color; 40 text-decoration: none; 41 42 &:hover { 43 text-decoration: underline; 44 } 45 46 code { 47 background: inherit; 48 color: $body-link-color; 49 } 50 } 51 52 img { 53 display: block; 54 margin: 25px auto; 55 max-width: 650px; 56 height: auto; 57 width: 90%; 58 } 59 60 h1, 61 h2, 62 h3, 63 h4 { 64 color: $body-font-color; 65 margin-top: 54px; 66 margin-bottom: $font-size; 67 line-height: 1.3; 68 } 69 70 h2 { 71 padding-bottom: 3px; 72 border-bottom: 1px solid $gray-light; 73 } 74 75 h1 > code, 76 h2 > code, 77 h3 > code, 78 h4 > code, 79 h5 > code 80 h6 > code, 81 li code, 82 table code, 83 p code, 84 tt, 85 .alert code { 86 font-family: $font-family-monospace; 87 font-size: 90%; 88 background-color: transparent; 89 color: inherit; 90 padding: 0; 91 } 92 93 table { 94 @extend .table; 95 @extend .table-striped; 96 } 97 }