github.com/shyftnetwork/go-empyrean@v1.8.3-0.20191127201940-fbfca9338f04/shyft_documentation/source/stylesheets/print.css.scss (about)

     1  @charset "utf-8";
     2  @import 'normalize';
     3  @import 'variables';
     4  @import 'icon-font';
     5  
     6  /*
     7  Copyright 2008-2013 Concur Technologies, Inc.
     8  
     9  Licensed under the Apache License, Version 2.0 (the "License"); you may
    10  not use this file except in compliance with the License. You may obtain
    11  a copy of the License at
    12  
    13    http://www.apache.org/licenses/LICENSE-2.0
    14  
    15  Unless required by applicable law or agreed to in writing, software
    16  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    17  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    18  License for the specific language governing permissions and limitations
    19  under the License.
    20  */
    21  
    22  $print-color: #999;
    23  $print-color-light: #ccc;
    24  $print-font-size: 12px;
    25  
    26  body {
    27    @extend %default-font;
    28  }
    29  
    30  .tocify, .toc-footer, .lang-selector, .search, #nav-button {
    31    display: none;
    32  }
    33  
    34  .tocify-wrapper>img {
    35    margin: 0 auto;
    36    display: block;
    37  }
    38  
    39  .content {
    40    font-size: 12px;
    41  
    42    pre, code {
    43      @extend %code-font;
    44      @extend %break-words;
    45      border: 1px solid $print-color;
    46      border-radius: 5px;
    47      font-size: 0.8em;
    48    }
    49  
    50    pre {
    51      code {
    52        border: 0;
    53      }
    54    }
    55  
    56    pre {
    57      padding: 1.3em;
    58    }
    59  
    60    code {
    61      padding: 0.2em;
    62    }
    63  
    64    table {
    65      border: 1px solid $print-color;
    66      tr {
    67        border-bottom: 1px solid $print-color;
    68      }
    69      td,th {
    70        padding: 0.7em;
    71      }
    72    }
    73  
    74    p {
    75      line-height: 1.5;
    76    }
    77  
    78    a {
    79      text-decoration: none;
    80      color: #000;
    81    }
    82  
    83    h1 {
    84      @extend %header-font;
    85      font-size: 2.5em;
    86      padding-top: 0.5em;
    87      padding-bottom: 0.5em;
    88      margin-top: 1em;
    89      margin-bottom: $h1-margin-bottom;
    90      border: 2px solid $print-color-light;
    91      border-width: 2px 0;
    92      text-align: center;
    93    }
    94  
    95    h2 {
    96      @extend %header-font;
    97      font-size: 1.8em;
    98      margin-top: 2em;
    99      border-top: 2px solid $print-color-light;
   100      padding-top: 0.8em;
   101    }
   102  
   103    h1+h2, h1+div+h2 {
   104      border-top: none;
   105      padding-top: 0;
   106      margin-top: 0;
   107    }
   108  
   109    h3, h4 {
   110      @extend %header-font;
   111      font-size: 0.8em;
   112      margin-top: 1.5em;
   113      margin-bottom: 0.8em;
   114      text-transform: uppercase;
   115    }
   116  
   117    h5, h6 {
   118      text-transform: uppercase;
   119    }
   120  
   121    aside {
   122      padding: 1em;
   123      border: 1px solid $print-color-light;
   124      border-radius: 5px;
   125      margin-top: 1.5em;
   126      margin-bottom: 1.5em;
   127      line-height: 1.6;
   128    }
   129  
   130    aside:before {
   131      vertical-align: middle;
   132      padding-right: 0.5em;
   133      font-size: 14px;
   134    }
   135  
   136    aside.notice:before {
   137      @extend %icon-info-sign;
   138    }
   139  
   140    aside.warning:before {
   141      @extend %icon-exclamation-sign;
   142    }
   143  
   144    aside.success:before {
   145      @extend %icon-ok-sign;
   146    }
   147  }