gopkg.in/hugelgupf/u-root.v2@v2.0.0-20180831055005-3f8fdb0ce09d/docs/css/base.css (about)

     1  body {
     2      padding-top: 70px;
     3      background: url(../img/grid.png) repeat-x;
     4      background-attachment: fixed;
     5      background-color: #f8f8f8;
     6  }
     7  
     8  body > div.container {
     9      min-height: 400px;
    10  }
    11  
    12  ul.nav li.main {
    13      font-weight: bold;
    14  }
    15  
    16  div.col-md-3 {
    17      padding-left: 0;
    18  }
    19  
    20  div.col-md-9 {
    21      padding-bottom: 100px;
    22  }
    23  
    24  div.source-links {
    25      float: right;
    26  }
    27  
    28  div.col-md-9 img {
    29      max-width: 100%;
    30      display: inline;
    31      padding: 4px;
    32      line-height: 1.428571429;
    33      background-color: #fff;
    34      border: 1px solid #ddd;
    35      border-radius: 4px;
    36      margin: 20px auto 30px auto;
    37  }
    38  
    39  h1, h2, h3 {
    40      color: #444;
    41  }
    42  
    43  h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
    44      content: "";
    45      display: block;
    46      margin-top: -75px;
    47      height: 75px;
    48      pointer-events: none;
    49  }
    50  
    51  h1 {
    52      font-weight: 400;
    53      font-size: 42px;
    54  }
    55  
    56  h2, h3, h4, h5, h6 {
    57      font-weight: 300;
    58  }
    59  
    60  hr {
    61      border-top: 1px solid #aaa;
    62  }
    63  
    64  pre, .rst-content tt {
    65      max-width: 100%;
    66      background: #fff;
    67      border: solid 1px #e1e4e5;
    68      color: #e74c3c;
    69      overflow-x: auto;
    70  }
    71  
    72  code.code-large, .rst-content tt.code-large {
    73      font-size: 90%;
    74  }
    75  
    76  code {
    77      padding: 2px 5px;
    78      color: #c7254e;
    79      background-color: #f9f2f4;
    80      font-size: 75%;
    81  }
    82  
    83  code, kbd, pre, samp  {
    84      font-family: monospace,serif;
    85      font-size: 12px !important;
    86  }
    87  
    88  footer {
    89      margin-top: 30px;
    90      margin-bottom: 10px;
    91      text-align: center;
    92      font-weight: 200;
    93  }
    94  
    95  .modal-dialog {
    96      margin-top: 60px;
    97  }
    98  
    99  /*
   100   * Side navigation
   101   *
   102   * Scrollspy and affixed enhanced navigation to highlight sections and secondary
   103   * sections of docs content.
   104   */
   105  
   106  /* By default it's not affixed in mobile views, so undo that */
   107  .bs-sidebar.affix {
   108      position: static;
   109  }
   110  
   111  .bs-sidebar.well {
   112      padding: 0;
   113      max-height: 90%;
   114      overflow-y: auto;
   115  }
   116  
   117  /* First level of nav */
   118  .bs-sidenav {
   119      padding-top:    10px;
   120      padding-bottom: 10px;
   121      border-radius: 5px;
   122  }
   123  
   124  /* All levels of nav */
   125  .bs-sidebar .nav > li > a {
   126      display: block;
   127      padding: 5px 20px;
   128      z-index: 1;
   129  }
   130  .bs-sidebar .nav > li > a:hover,
   131  .bs-sidebar .nav > li > a:focus {
   132      text-decoration: none;
   133      border-right: 1px solid;
   134  }
   135  .bs-sidebar .nav > .active > a,
   136  .bs-sidebar .nav > .active:hover > a,
   137  .bs-sidebar .nav > .active:focus > a {
   138      font-weight: bold;
   139      background-color: transparent;
   140      border-right: 1px solid;
   141  }
   142  
   143  /* Nav: second level (shown on .active) */
   144  .bs-sidebar .nav .nav {
   145      display: none; /* Hide by default, but at >768px, show it */
   146      margin-bottom: 8px;
   147  }
   148  .bs-sidebar .nav .nav > li > a {
   149      padding-top:    3px;
   150      padding-bottom: 3px;
   151      padding-left: 30px;
   152      font-size: 90%;
   153  }
   154  
   155  /* Show and affix the side nav when space allows it */
   156  @media (min-width: 992px) {
   157      .bs-sidebar .nav > .active > ul {
   158          display: block;
   159      }
   160      /* Widen the fixed sidebar */
   161      .bs-sidebar.affix,
   162      .bs-sidebar.affix-bottom {
   163          width: 213px;
   164      }
   165      .bs-sidebar.affix {
   166          position: fixed; /* Undo the static from mobile first approach */
   167          top: 80px;
   168      }
   169      .bs-sidebar.affix-bottom {
   170          position: absolute; /* Undo the static from mobile first approach */
   171      }
   172      .bs-sidebar.affix-bottom .bs-sidenav,
   173      .bs-sidebar.affix .bs-sidenav {
   174          margin-top: 0;
   175          margin-bottom: 0;
   176      }
   177  }
   178  @media (min-width: 1200px) {
   179      /* Widen the fixed sidebar again */
   180      .bs-sidebar.affix-bottom,
   181      .bs-sidebar.affix {
   182          width: 263px;
   183      }
   184  }
   185  
   186  .headerlink {
   187      font-family: FontAwesome;
   188      font-size: 14px;
   189      display: none;
   190      padding-left: .5em;
   191  }
   192  
   193  h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
   194      display:inline-block;
   195  }
   196  
   197  
   198  
   199  .admonition {
   200      padding: 15px;
   201      margin-bottom: 20px;
   202      border: 1px solid transparent;
   203      border-radius: 4px;
   204      text-align: left;
   205  }
   206  
   207  .admonition.note {
   208      color: #3a87ad;
   209      background-color: #d9edf7;
   210      border-color: #bce8f1;
   211  }
   212  
   213  .admonition.warning {
   214      color: #c09853;
   215      background-color: #fcf8e3;
   216      border-color: #fbeed5;
   217  }
   218  
   219  .admonition.danger {
   220      color: #b94a48;
   221      background-color: #f2dede;
   222      border-color: #eed3d7;
   223  }
   224  
   225  .admonition-title {
   226      font-weight: bold;
   227      text-align: left;
   228  }
   229  
   230  
   231  .dropdown-submenu {
   232      position: relative;
   233  }
   234  
   235  .dropdown-submenu>.dropdown-menu {
   236      top: 0;
   237      left: 100%;
   238      margin-top: -6px;
   239      margin-left: -1px;
   240      -webkit-border-radius: 0 6px 6px 6px;
   241      -moz-border-radius: 0 6px 6px;
   242      border-radius: 0 6px 6px 6px;
   243  }
   244  
   245  .dropdown-submenu:hover>.dropdown-menu {
   246      display: block;
   247  }
   248  
   249  .dropdown-submenu>a:after {
   250      display: block;
   251      content: " ";
   252      float: right;
   253      width: 0;
   254      height: 0;
   255      border-color: transparent;
   256      border-style: solid;
   257      border-width: 5px 0 5px 5px;
   258      border-left-color: #ccc;
   259      margin-top: 5px;
   260      margin-right: -10px;
   261  }
   262  
   263  .dropdown-submenu:hover>a:after {
   264      border-left-color: #fff;
   265  }
   266  
   267  .dropdown-submenu.pull-left {
   268      float: none;
   269  }
   270  
   271  .dropdown-submenu.pull-left>.dropdown-menu {
   272      left: -100%;
   273      margin-left: 10px;
   274      -webkit-border-radius: 6px 0 6px 6px;
   275      -moz-border-radius: 6px 0 6px 6px;
   276      border-radius: 6px 0 6px 6px;
   277  }