github.com/ncodes/nomad@v0.5.7-0.20170403112158-97adf4a74fb3/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      font-family: $font-family-monospace;
    17      font-size: ($font-size - 3);
    18      font-weight: normal;
    19      padding: 20px;
    20      margin: 0 0 $font-size;
    21  
    22      // This will force the code to scroll horizontally on small screens
    23      // instead of wrapping.
    24      code {
    25        overflow-wrap: normal;
    26        white-space: pre;
    27      }
    28    }
    29  
    30    a {
    31      color: $body-link-color;
    32      text-decoration: none;
    33  
    34      &:hover {
    35        text-decoration: underline;
    36      }
    37  
    38      code {
    39        background: inherit;
    40        color: $body-link-color;
    41      }
    42    }
    43  
    44    img {
    45      display: block;
    46      margin: 25px auto;
    47      max-width: 650px;
    48      height: auto;
    49      width: 90%;
    50    }
    51  
    52    h1,
    53    h2,
    54    h3,
    55    h4 {
    56      color: $body-font-color;
    57      margin-top: 54px;
    58      margin-bottom: $font-size;
    59      line-height: 1.3;
    60    }
    61  
    62    h2 {
    63      padding-bottom: 3px;
    64      border-bottom: 1px solid $gray-light;
    65    }
    66  
    67    h1 > code,
    68    h2 > code,
    69    h3 > code,
    70    h4 > code,
    71    h5 > code
    72    h6 > code,
    73    li code,
    74    table code,
    75    p code,
    76    tt,
    77    .alert code {
    78      font-family: $font-family-monospace;
    79      font-size: 90%;
    80      background-color: transparent;
    81      color: inherit;
    82      padding: 0;
    83    }
    84  
    85    table {
    86      @extend .table;
    87      @extend .table-striped;
    88    }
    89  }