Sha256: 7b5fb5c9b7535e7c3a144c66893c9f39475ac0d4dbab22c3738761e2173b6a74

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

// <<<<< LINK
article {
  .katex-display, div.MathJax_Preview {
    /* Prevent code linebreaks and allow side-scrolling (much better readability on mobile) */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    text-align: left;

    @include pre(2rem);

    backface-visibility: hidden;
  }

  div.MathJax_Preview {
    font-family: $code-font-family;
    font-size: .75em;
    line-height: 1.45;
    white-space: pre;
    margin-bottom: 2rem;
  }

  span.MathJax_Preview {
    font-family: $code-font-family;
    padding: .25em .5em;
    font-size: .85em;
    background-color: $code-bg;
  }
}

.MathJax_Preview:empty {
  display: none;
  visibility: hidden;
}
// >>>>>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-8.0.0 _sass/hydejack/_katex.pre.scss
jekyll-theme-hydejack-7.4.1 _sass/hydejack/_katex.pre.scss
jekyll-theme-hydejack-7.4.0 _sass/hydejack/_katex.pre.scss