Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (40 sloc) 1.39 KB
/* ABSTRACTIONS */
/* Global Vars */
:root {
/* Colors */
--base-bg-color: #f1f1f1;
--base-fg-color: #111111;
--base-link-color: #0000ff;
--code-bg-color: rgba(255,255,255,0.4);
--code-fg-color: #333333;
--shadow-color: #cccccc;
/* Typography */
--fontfamily-alpha: "Domine",Georgia,"Times New Roman",times,serif;
--fontfamily-beta: "Leitura News","Domine", serif;
--fontfamily-gamma: monospace;
--base-size: 18;
--base-fontsize: calc((var(--base-size) / 16) * 100%);
--base-lineheight: 1.5;
--size-h1: calc(1rem * (36 / var(--base-size)));
--size-h2: calc(1rem * (27 / var(--base-size)));
--size-h3: calc(1rem * (21 / var(--base-size)));
--size-h4: calc(1rem * (18 / var(--base-size)));
--size-h5: calc(1rem * (16 / var(--base-size)));
--size-h6: calc(1rem * (14 / var(--base-size)));
--size-base: calc(1rem * (var(--base-size) / var(--base-size)));
--size-half: calc(var(--size-base) / 2);
--size-two-thirds: calc(var(--size-base) / 1.5);
--size-quarter: calc(var(--size-base) / 4);
--size-and-quarter: calc(var(--size-base) * 1.25);
--size-and-half: calc(var(--size-base) * 1.5);
--size-double: calc(var(--size-base) * 2);
--size-double-and-half: calc(var(--size-base) * 2.5);
/* Layout */
--grid-max-width: 992px;
}
@media screen and (min-width: {{ BREAKPOINTS.md }}) {
:root {
/* Typography */
--base-fontsize: calc((24 / 16) * 100%);
}
}