Sha256: f6f858d85ed6554b2ee1cf04ffe60f2e34589b53e81d03e60d7fa480c3b20d41

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 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/>.

.content {
  // <<< inline
  margin-left: auto;
  margin-right: auto;
  padding: 8rem $content-padding 12rem;

  @media screen {
    padding-left: $content-padding + .5rem;
    max-width: $content-width;
    min-height: 100vh;
  }

  @media screen and (min-width: $break-point-2) {
    max-width: $content-width-2;
  }

  @media screen and (min-width: $break-point-3) {
    padding-left: $content-padding;
    margin-left: $sidebar-width + $content-margin-3;
    margin-right: $content-margin-3;
  }

  @media screen and (min-width: $break-point-5) {
    margin-left: $sidebar-width + $content-margin-5;
    margin-right: $content-margin-5;
    max-width: $content-width-5;
  }

  @media screen and (min-width: $break-point-dynamic) {
    margin: auto;
  }
  // >>>
  // <<< link
  @media print {
    padding: 1rem;
  }
  // >>>
}

.large-only {
  display: none;
  @media screen and (min-width: $break-point-dynamic) {
    display: block;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

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