Adapt paradigm shift to 60/40 layout

This commit is contained in:
2019-09-01 11:44:28 -04:00
commit 34a097dd61
72 changed files with 17506 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
///
/// Paradigm Shift by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Basic */
// MSIE: Required for IEMobile.
@-ms-viewport {
width: device-width;
}
// MSIE: Prevents scrollbar from overlapping content.
body {
-ms-overflow-style: scrollbar;
}
// Ensures page width is always >=320px.
@include breakpoint('<=xsmall') {
html, body {
min-width: 320px;
}
}
// Set box model to border-box.
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html {
overflow-x: hidden;
}
body {
background: _palette(bg);
overflow-x: hidden;
// Stops initial animations until page loads.
&.is-preload {
*, *:before, *:after {
@include vendor('animation', 'none !important');
@include vendor('transition', 'none !important');
}
}
}

View File

@@ -0,0 +1,76 @@
///
/// Paradigm Shift by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
// Reset.
// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
&:before,
&:after {
content: '';
content: none;
}
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
-webkit-text-size-adjust: none;
}
mark {
background-color: transparent;
color: inherit;
}
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input, select, textarea {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
}

View File

@@ -0,0 +1,218 @@
///
/// Paradigm Shift by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Typography */
html {
font-size: 18pt;
@include breakpoint('<=xlarge') {
font-size: 13pt;
}
@include breakpoint('<=medium') {
font-size: 14pt;
}
@include breakpoint('<=small') {
font-size: 12pt;
}
@include breakpoint('<=xsmall') {
font-size: 11pt;
}
}
body {
background-color: _palette(bg);
color: _palette(fg);
}
body, input, select, textarea {
color: _palette(fg-bold);
font-family: _font(family);
font-size: 1rem;
font-weight: _font(weight);
letter-spacing: _font(kerning);
line-height: 2;
}
a {
@include vendor('transition', 'border-bottom-color #{_duration(transition)} ease-in-out');
text-decoration: none;
color: _palette(fg-bold);
border-bottom: dotted 1px;
&:hover {
text-decoration: none;
border-bottom-color: transparent;
}
}
strong, b {
font-weight: _font(weight-bold);
color: _palette(fg-bold);
}
em, i {
font-style: italic;
}
p {
margin: 0 0 _size(element-margin) 0;
}
h1, h2, h3, h4, h5, h6 {
color: _palette(fg-bold);
font-family: _font(family-heading);
font-weight: _font(weight-heading-light);
letter-spacing: _font(kerning-heading);
line-height: 1.75;
margin: 0 0 (_size(element-margin) * 0.75) 0;
text-transform: uppercase;
a {
color: inherit;
text-decoration: none;
}
}
h1 {
font-family: _font(family);
font-size: 5rem;
font-weight: _font(weight-extrabold);
letter-spacing: _font(kerning-heading-alt);
line-height: 1.1;
margin: 0 0 (_size(element-margin) * 0.75) 0;
text-transform: none;
}
h2 {
font-size: 1.25rem;
font-weight: _font(weight-heading);
margin: 0 0 _size(element-margin) 0;
}
h3 {
font-size: 0.875rem;
}
h4 {
font-size: 0.875rem;
}
h5 {
font-size: 0.75rem;
}
h6 {
font-size: 0.625rem;
}
@include breakpoint('<=small') {
h1 {
font-size: 4.5rem;
line-height: 1.1;
}
h2 {
font-size: 1.25rem;
line-height: 1.7;
}
h3 {
font-size: 0.9rem;
}
h4 {
font-size: 0.75rem;
}
h5 {
font-size: 0.675rem;
}
}
@include breakpoint('<=xxsmall') {
h1 {
font-size: 3.75rem;
}
h2 {
font-size: 1.125rem;
}
h3 {
font-size: 0.8rem;
}
h4 {
font-size: 0.675rem;
}
h5 {
font-size: 0.675rem;
}
}
sub {
font-size: 0.8rem;
position: relative;
top: 0.5rem;
}
sup {
font-size: 0.8rem;
position: relative;
top: -0.5rem;
}
blockquote {
border-left: solid 0.5rem _palette(border);
font-style: italic;
margin: 0 0 _size(element-margin) 0;
padding: (_size(element-margin) * 0.5) 0 (_size(element-margin) * 0.5) _size(element-margin);
}
code {
background: _palette(border-bg);
border-radius: _size(border-radius);
font-family: _font(family-fixed);
font-size: 0.9rem;
margin: 0 0.25rem;
padding: 0.25rem 0.65rem;
}
pre {
-webkit-overflow-scrolling: touch;
font-family: _font(family-fixed);
font-size: 0.9rem;
margin: 0 0 _size(element-margin) 0;
width: 100%;
code {
display: block;
line-height: 1.75;
padding: 1rem 1.5rem;
overflow-x: auto;
}
}
hr {
border: 0;
border-bottom: solid 2px _palette(border);
margin: (_size(element-margin) * 1.5) 0;
&.major {
margin: (_size(element-margin) * 2.5) 0;
}
@include breakpoint('<=small') {
&.major {
margin: (_size(element-margin) * 1.5) 0;
}
}
}