diff --git a/assets/sass/_colors.scss b/assets/sass/_colors.scss index 8d71ee4..dccda8f 100644 --- a/assets/sass/_colors.scss +++ b/assets/sass/_colors.scss @@ -48,6 +48,7 @@ $colors: ( mobile-menu-cover: rgba($black, .2), button: $nearblack, + button-text: $white, button-disabled: $grey, form-error: $red, diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss index d7555d4..db229f5 100644 --- a/assets/sass/_variables.scss +++ b/assets/sass/_variables.scss @@ -63,7 +63,7 @@ $font-weight: ( $times-new-roman: 'Times New Roman', Times, Georgia, 'DejaVu Serif', serif; $times: Times, 'Times New Roman', Georgia, 'DejaVu Serif', serif; $georgia: Georgia, 'Times New Roman', 'DejaVu Serif', serif; -$garamond: 'Garamond Premier Pro', Charter, 'Times New Roman', serif; +$garamond: 'Garamond Premier Pro', Garamond, Charter, 'Times New Roman', serif; // Sans-serif font stacks. $verdana: Verdana, Tahoma, 'DejaVu Sans', sans-serif; diff --git a/assets/sass/_zen.scss b/assets/sass/_zen.scss index 8d612a7..da0577f 100644 --- a/assets/sass/_zen.scss +++ b/assets/sass/_zen.scss @@ -298,6 +298,13 @@ figure { } } +// Icons. + +.icon { + // Reset set SVG to block but icons are normally inline. + display: inline; +} + // Header anchor links .anchor-link { diff --git a/assets/sass/base/_normalize.scss b/assets/sass/base/_normalize.scss deleted file mode 100644 index 74f9522..0000000 --- a/assets/sass/base/_normalize.scss +++ /dev/null @@ -1,25 +0,0 @@ -// Normalize.css is intended to be used as an alternative to CSS resets. -// -// @see https://necolas.github.io/normalize.css/ -// -// This directory is a slight fork of this original source: -// normalize.css 8.0.1 | MIT License - - -// Universal -// ========================================================================== - -// Broken into modular pieces to make it easier to edit. -@import 'document/document'; -@import 'sections/sections'; -@import 'grouping/grouping'; -@import 'links/links'; -@import 'text/text'; -@import 'embedded/embedded'; -@import 'forms/forms'; -@import 'tables/tables'; -@import 'interactive/interactive'; -@import 'scripting/scripting'; - -// Note: we allow the .button component (loaded by forms) to override :link, by -// loading links first. diff --git a/assets/sass/base/embedded/_embedded.scss b/assets/sass/base/embedded/_embedded.scss deleted file mode 100644 index 68147c5..0000000 --- a/assets/sass/base/embedded/_embedded.scss +++ /dev/null @@ -1,31 +0,0 @@ -// Embedded content - -// Audio - -audio { - // Add your styles. -} - -// Image -// -// An `` element represents an image. - -img { - // Add your styles. -} - -img, -svg { - // Suppress the space beneath the baseline - // vertical-align: bottom; - - // Responsive images - max-width: 100%; - height: auto; -} - -// Video - -video { - // Add your styles. -} diff --git a/assets/sass/base/forms/_forms.scss b/assets/sass/base/forms/_forms.scss deleted file mode 100644 index 95fff17..0000000 --- a/assets/sass/base/forms/_forms.scss +++ /dev/null @@ -1,229 +0,0 @@ -// stylelint-disable property-no-vendor-prefix - -// Form defaults -// -// These are the default base styles applied to HTML form elements. -// -// Component classes can override these styles, but if no class applies a style -// to an HTML form element, these styles will be the ones displayed. - -// -// The following rules are from normalize.css and help to fix inconsistencies -// across various browsers. You should probably leave these rules as is and jump -// to the "Buttons" rule on line 92 before you start editing this file. -// - -button, -input, -optgroup, -select, -textarea { - // Change the font styles in all browsers (opinionated). - @include typeface(body); - @include line-height(1); - font-size: 100%; - // Keep form elements constrained in their containers. - box-sizing: border-box; - max-width: 100%; - // Remove the margin in Firefox and Safari. - margin: 0; -} - -// Show the overflow in IE. -button { - overflow: visible; -} - -// Remove the inheritance of text transform in Edge, Firefox, and IE. -button, -select { - text-transform: none; -} - -// Show the overflow in Edge. -input { - overflow: visible; -} - -// Correct the cursor style of increment and decrement buttons in Chrome. -[type='number']::-webkit-inner-spin-button, -[type='number']::-webkit-outer-spin-button { - height: auto; -} - -[type='search'] { - // Correct the odd appearance in Chrome and Safari. - -webkit-appearance: textfield; - // Correct the outline style in Safari. - outline-offset: -2px; - - // Remove the inner padding and cancel buttons in Chrome and Safari on macOS. - &::-webkit-search-cancel-button, - &::-webkit-search-decoration { - -webkit-appearance: none; - } -} - -::-webkit-file-upload-button { - // Correct the inability to style clickable types in iOS and Safari. - -webkit-appearance: button; - // Change font properties to `inherit` in Safari. - font: inherit; -} - -// Buttons -// -// Buttons built with the `