github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/go/darwin_amd64/misc/tour/static/css/app.css (about)

     1  /* Generic elements */
     2  html, body {
     3      margin: 0;
     4      padding: 0;
     5      font-size: 16px;
     6      height: 100%;
     7      font-family: sans-serif;
     8      line-height: 24px;
     9      word-wrap: break-word;
    10      -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    11      /* Prevent font scaling in landscape */
    12      -webkit-text-size-adjust: none;
    13      -webkit-font-smoothing: antialiased;
    14  }
    15  * {
    16      outline: none;
    17  }
    18  a {
    19      color: #375eab;
    20      text-decoration: none;
    21  }
    22  a.logo, .toc a {
    23      color: inherit;
    24  }
    25  h1, h2, h3, h4 {
    26      color: #333;
    27      line-height: 32px;
    28      margin: 0;
    29  }
    30  pre, code {
    31      font-family: 'Inconsolata', monospace;
    32      border-radius: 4px;
    33      color: #333;
    34      background-color: #fafafa;
    35  }
    36  pre {
    37      padding: 10px;
    38  }
    39  code {
    40      padding: 2px;
    41  }
    42  .left {
    43      display: block;
    44      float: left;
    45      margin-right: 10px;
    46  }
    47  .right {
    48      display: block;
    49      float: right;
    50      margin-left: 10px;
    51  }
    52  .bar {
    53      display: block;
    54      overflow: hidden;
    55      -moz-user-select: none;
    56      -webkit-user-select: none;
    57      -ms-user-select: none;
    58      user-select: none;
    59  }
    60  .wrapper {
    61      position: fixed;
    62      overflow: auto;
    63      top: 48px;
    64      bottom: 0;
    65      left: 0;
    66      right: 0;
    67  }
    68  .container {
    69      max-width: 800px;
    70      width: 90%;
    71      margin: 0 auto 36px auto;
    72      padding: 16px 5%;
    73      background: #ffffff;
    74  }
    75  .container a {
    76      color: #375eab;
    77  }
    78  .relative-content {
    79      display: block;
    80      position: relative;
    81      height: 100%;
    82  }
    83  .highlight {
    84      background: #b5533b !important;
    85      color: yellow !important;
    86  }
    87  .hidden {
    88      display: none;
    89  }
    90  p {
    91      margin: 16px 0;
    92  }
    93  li {
    94      margin: 8px 0;
    95  }
    96  ul {
    97      list-style: none;
    98      margin: 0;
    99      padding-left: 32px;
   100  }
   101  /* Navigation bars */
   102  .top-bar {
   103      position: fixed;
   104      left: 0;
   105      right: 0;
   106      top: 0;
   107      z-index: 1000;
   108      font-size: 1.4em;
   109      padding: 8px 24px;
   110      line-height: 32px;
   111      color: #222;
   112      background: #E0EBF5;
   113  }
   114  .nav {
   115      float: right;
   116      padding: 2px;
   117      height: 25px;
   118      width: 25px;
   119      margin-left: 10px;
   120      cursor: pointer;
   121      fill: #375eab;
   122  }
   123  .nav:hover {
   124      fill: #ffffff;
   125  }
   126  /* Module list */
   127  .page-header {
   128      font-size: 1.2em;
   129      line-height: 32px;
   130      margin: 32px 0;
   131  }
   132  @media (max-width: 515px) {
   133      .page-header {
   134          font-size: 0.75em;
   135      }
   136  }
   137  .module {
   138      margin: 32px 0;
   139  }
   140  .module-title {
   141      font-size: 1.3em;
   142      font-weight: bold;
   143      color: #333;
   144      margin: 0;
   145  }
   146  .lesson {
   147      background: #E0EBF5;
   148      padding: 8px 16px;
   149      margin: 16px 0;
   150      position: relative;
   151  }
   152  .lesson-title {
   153      display: inline-block;
   154      font-size: 1.2em;
   155      font-weight: bold;
   156      margin: 16px 0 0 0;
   157      padding-right: 48px;
   158  }
   159  /* Lesson viewer */
   160  .slide-content {
   161      padding: 16px;
   162      background: #fff;
   163  }
   164  .module-bar {
   165      font-size: 1.5em;
   166      padding: 8px 0;
   167      text-align: center;
   168      line-height: 24px;
   169      font-size: 24px;
   170  }
   171  .module-bar a {
   172      color: #375eab;
   173      position: relative;
   174      font-weight: bold;
   175      margin: 5px;
   176  }
   177  .menu-button {
   178      display: inline-block;
   179      text-decoration: none;
   180      cursor: pointer;
   181      font-size: 0.9em;
   182      border-radius: 2px;
   183      background-color: #E0EBF5;
   184      border: 1px solid rgba(0, 0, 0, 0.1);
   185      margin: 2px;
   186      height: 24px;
   187      padding: 1px 8px;
   188      line-height: 24px;
   189      color: #444;
   190      -moz-user-select: none;
   191      -webkit-user-select: none;
   192      -ms-user-select: none;
   193      user-select: none;
   194  }
   195  .menu-button:hover:not(.active) {
   196      border: 1px solid #C6C6C6;
   197      background-color: #fafafa;
   198  }
   199  .menu-button.active {
   200      background: #fff;
   201  }
   202  .menu-button[syntax-checkbox]:after {
   203      content: ' off';
   204  }
   205  .menu-button[syntax-checkbox].active:after {
   206      content: ' on';
   207  }
   208  #file-menu .menu-button {
   209      float: right;
   210  }
   211  a#run, a#kill {
   212      background-color: #375eab;
   213      color: #fff;
   214      width: 40px;
   215      text-align: center;
   216  }
   217  #run:hover:not(:active), #kill:hover:not(:active) {
   218      background-color: #fff;
   219      color: #375eab;
   220  }
   221  .output:not(.active) {
   222      display: none;
   223  }
   224  .output > pre {
   225      font-family: 'Inconsolata', monospace;
   226      background: #fafafa;
   227      margin: 0;
   228  }
   229  .output .system {
   230      color: #888;
   231  }
   232  .output .stderr {
   233      color: #D00A0A;
   234  }
   235  .output-menu .menu-button {
   236      float: left;
   237  }
   238  .output-menu, #file-menu {
   239      background: #fafafa;
   240  }
   241  #explorer {
   242      height: 32px;
   243      padding-left: 30px;
   244      background: #fafafa;
   245  }
   246  #explorer .menu-button.active {
   247      cursor: default;
   248  }
   249  #explorer .syntax-checkbox {
   250      float: right;
   251  }
   252  /* CodeMirror */
   253  #file-editor {
   254      background: #FFFFD8;
   255      overflow: auto;
   256  }
   257  #file-editor > textarea {
   258      display: none;
   259  }
   260  #file-editor .CodeMirror {
   261      height: auto;
   262  }
   263  #file-editor .CodeMirror-lines, #file-editor .CodeMirror-gutters {
   264      background: #FFFFD8;
   265      font-family: 'Inconsolata', monospace;
   266      line-height: 1.2em;
   267  }
   268  .CodeMirror-code > .line-error {
   269      background: #FF8080;
   270  }
   271  .CodeMirror-code > .line-error .CodeMirror-linenumber {
   272      color: #FF5555;
   273      font-weight: bolder;
   274  }
   275  #file-editor .CodeMirror-gutters {
   276      width: 32px;
   277  }
   278  @media (min-width: 601px) {
   279      #editor-container {
   280          position: fixed;
   281          top: 48px;
   282          left: 0px;
   283          right: 0px;
   284          bottom: 0px;
   285          overflow: hidden;
   286          background: #fff;
   287      }
   288      #left-side {
   289          position: absolute;
   290          top: 0;
   291          bottom: 0;
   292          left: 0;
   293          width: 50%;
   294          overflow: hidden;
   295      }
   296      .output {
   297          background-image: url(/static/img/gopher.png);
   298          background-repeat: no-repeat;
   299          background-position: bottom;
   300          background-color: #fff;
   301      }
   302      div[vertical-slide] {
   303          position: absolute;
   304          top: 0px;
   305          bottom: 0px;
   306          width: 5px;
   307          background: #e0ebf5;
   308          left: 50%;
   309          right: 50%;
   310          z-index: 100;
   311          cursor: move;
   312      }
   313      #right-side {
   314          position: absolute;
   315          top: 0;
   316          bottom: 0;
   317          right: 0;
   318          left: 50%;
   319          background: #fff;
   320      }
   321      .slide-content {
   322          position: absolute;
   323          left: 0;
   324          right: 0;
   325          top: 0;
   326          bottom: 30px;
   327          overflow: auto;
   328      }
   329      .module-bar {
   330          position: absolute;
   331          left: 0;
   332          right: 0;
   333          bottom: 0;
   334          padding: 4px 0;
   335          margin: 0;
   336      }
   337      #top-part {
   338          position: absolute;
   339          left: 0;
   340          right: 0;
   341          top: 0;
   342          bottom: 33%;
   343          background: #e0ebf5;
   344      }
   345      #file-editor {
   346          position: absolute;
   347          left: 0;
   348          right: 0;
   349          top: 0;
   350          bottom: 0;
   351      }
   352      div[horizontal-slide] {
   353          position: absolute;
   354          left: 0;
   355          right: 0;
   356          bottom: 33%;
   357          height: 5px;
   358          background: #e0ebf5;
   359          z-index: 100;
   360          cursor: move;
   361      }
   362      #bottom-part {
   363          position: absolute;
   364          left: 0;
   365          right: 0;
   366          bottom: 0;
   367          top: 67%;
   368          min-height: 100px;
   369          z-index: 50;
   370      }
   371      #explorer {
   372          position: absolute;
   373          top: 0;
   374          left: 0;
   375          right: 0;
   376      }
   377      #explorer + div {
   378          top: 32px;
   379      }
   380      #file-menu {
   381          position: absolute;
   382          top: 0;
   383          right: 0;
   384          left: 0;
   385          background: #fafafa;
   386      }
   387      .output {
   388          position: absolute;
   389          top: 34px;
   390          bottom: 0;
   391          left: 0;
   392          right: 0;
   393          margin: 0;
   394          padding: 0;
   395          overflow: auto;
   396      }
   397  }
   398  @media (max-width: 600px) {
   399      #top-part {
   400          border: 1px solid #ccc;
   401      }
   402      #left-side {
   403          background: #e0ebf5;
   404      }
   405      #right-side {
   406          padding-top: 48px;
   407      }
   408      #file-menu {
   409          height: 32px;
   410      }
   411      .output {
   412          background: white;
   413          max-height: 300px;
   414          overflow: auto;
   415      }
   416      #editor-container {
   417          padding-bottom: 40px;
   418      }
   419      .module-bar {
   420          position: fixed;
   421          background: #e0ebf5;
   422          left: 0;
   423          right: 0;
   424          bottom: 0;
   425          z-index: 10;
   426          height: 42px;
   427          padding: 0;
   428          overflow: hidden;
   429          text-align: center;
   430      }
   431      .module-bar * {
   432          display: inline-block;
   433          width: 25%;
   434          font-size: 1.1em;
   435          padding: 8px 0;
   436      }
   437      div[horizontal-slide], div[vertical-slide] {
   438          display: none;
   439      }
   440  }
   441  /* Table of contents */
   442  .toc {
   443      display: none;
   444      position: fixed;
   445      z-index: 200;
   446      font-size: 1.3em;
   447      top: 48px;
   448      bottom: 0;
   449      right: 0;
   450      width: 500px;
   451      background: #e0ebf5;
   452      color: black;
   453      overflow-y: auto;
   454      padding: 0;
   455      margin: 0;
   456      border-left: 4px solid #e0ebf5;
   457      border-bottom: 4px solid #e0ebf5;
   458      -moz-user-select: none;
   459      -webkit-user-select: none;
   460      -ms-user-select: none;
   461      user-select: none;
   462  }
   463  .click-catcher {
   464      position: fixed;
   465      z-index: -100;
   466      top: 0;
   467      bottom: 0;
   468      left: 0;
   469      right: 10px; /* avoid covering the TOC scroller */
   470      background: rgba(0, 0, 0, 0);
   471  }
   472  .toc * {
   473      margin: 0;
   474      padding: 0;
   475      font-size: 0.95em;
   476      display: block;
   477  }
   478  .toc span, .toc a {
   479      padding: 4px;
   480  }
   481  .toc-module {
   482      color: #375eab;
   483      background: #e0ebf5;
   484  }
   485  .toc-lesson {
   486      background: #fafafa;
   487      color: #333;
   488      margin: 1px 0;
   489      cursor: pointer;
   490  }
   491  .toc-page {
   492      background: #fff;
   493      color: #333;
   494      padding-left: 4px;
   495      display: list-item;
   496  }
   497  .toc-lesson.active .toc-page {
   498      display: list-item;
   499  }
   500  .toc-page.active {
   501      color: #375eab;
   502      font-weight: bold;
   503  }
   504  @media (max-width: 600px) {
   505      .toc {
   506          position: absolute;
   507          left: 0;
   508          right: 0;
   509          bottom: 0;
   510          width: 100%;
   511          border: none;
   512      }
   513      .toc ul {
   514          width: 100%;
   515      }
   516      .click-catcher {
   517          display: none;
   518      }
   519  }