Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_document.scss « document « reset « sass « assets - github.com/frjo/hugo-theme-zen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b5eb9a491c4727ef3ce0de882aed6ff1430dc56 (plain)
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
// stylelint-disable property-no-vendor-prefix

// Document

html {
  // Change the default font family in all browsers (opinionated).
  @include typeface(body);
  // Set base font size in percent.
  font-size: $base-font-size / $browser-font-size * 100%;
  // Correct the line height in all browsers.
  line-height: 1.5;
  // Prevent adjustments of font size.
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  // On short pages, we want any background gradients to fill the entire height
  // of the browser.
  min-height: 100%;
  // Use the saner border-box model.
  box-sizing: border-box;
  // Use smooth scrolling.
  scroll-behavior: smooth;
  // Improve text rendering.
  -webkit-font-smoothing: antialiased;
}

// Use the saner border-box model for all elements.
*,
*::before,
*::after {
  box-sizing: inherit;
}