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