Sha256: a92895106db27685386d5a6bdc6e70c8c06156a336c9cfd5182b70bd53c5b0d3

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 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
body {
  /* Prevent side-scrolling on mobile */
  display: block;
  position: relative;
  overflow-x: hidden;
}

hy-push-state, hy-drawer {
  display: block;
  overflow: hidden;
}
// >>>
// <<< INLINE
body::before {
  @media screen {
    content: '';
    width: .5rem;
    background: var(--gray-bg);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
  }

  @media (min-width: $break-point-3) {
    width: $sidebar-width;
  }

  @media (min-width: $break-point-dynamic) {
    width: calc(50% - #{$half-content});
  }
}

html {
  @media screen and (min-width: $break-point-1) {
    font-size: var(--root-font-size-medium);
  }

  @media screen and (min-width: $break-point-font-large) {
    font-size: var(--root-font-size-large);
  }
}
// >>>
// <<< LINK
@media print { 
  html { 
    font-size: var(--root-font-size-print);
  } 
}

@page { 
  margin: 16mm;
} 
// >>>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-9.0.4 _sass/hydejack/_base.pre.scss