Sha256: 59dc93f05b88ceecad39cc612f555fd86c60568837e0447f3ef9829cbf4e82a1

Contents?: true

Size: 1.79 KB

Versions: 12

Compression:

Stored size: 1.79 KB

Contents

// THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
//
// To change the contents of this file,
// edit `_sass/pooleparty/_code.pre.scss`
// and run `npm run build:css`.
//
// During development you can run `npm run watch:css`
// to continuosly rebuild this file.

// 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/>.


code, pre {
  font-family: var(--code-font-family);
}

code {
  @extend .color-transition;
  padding: .25em .5em;
  background-color: var(--gray-bg);
  font-size: .85em;
}

.pre-base {
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 1rem;
  background-color: var(--gray-bg);

  // Prevent code linebreaks and allow side-scrolling for better readability on mobile
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  // HACK: prevents painting for some reason
  backface-visibility: hidden;

  @media print {
    width: 100%!important;
    page-break-inside: avoid;
    break-inside: avoid-page;
  }
}

pre {
  @extend .pre-base;
  margin-top: 0;
  display: block;
  line-height: 1.4;
  font-size: .85em;
}

pre > code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  font-size: 1em;
}

pre, .highlight {
  margin-bottom: 2rem;
}

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
jekyll-theme-hydebetty-1.0.2 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydebetty-1.0.1 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.5.2 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.5.1 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.5.0 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.4.0 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.3.2 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.3.1 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.3.0 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.2.0 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.1.1 _sass/pooleparty/__link__/_code.scss
jekyll-theme-hydejack-8.1.0 _sass/pooleparty/__link__/_code.scss