print.scss 581 Bytes
Newer Older
NGPixel's avatar
NGPixel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
@media print {
  #header-container,
  #alerts,
  .sidebar,
  .footer {
    display: none;
  }

  #root {
    padding-top: 0;
    padding-bottom: 0;
  }

  body, main, .hero {
    background: #FFF;
    border: none;
  }

  .mkcontent {
    color: mc('grey', '900');

    h1, h2, h3 {
      background: #FFF;
    }
    .toc-anchor {
      display: none;
    }
    pre {
      background-color: #FFF;
      border-left: none;
      padding-left: 20px;

      > code {
        color: mc('grey', '800');
      }
    }
  }

  @import 'node_modules/highlight.js/styles/atom-one-light';
}