OLD | NEW |
(Empty) | |
| 1 .unstyled, .unstyled * { margin: 0 !important; padding: 0 !important; border: 0
!important; background: none !important; list-style: none !important; } |
| 2 |
| 3 .sr-only { position: absolute !important; overflow: hidden !important; clip: rec
t(0, 0, 0, 0) !important; width: 1px !important; height: 1px !important; margin:
-1px !important; padding: 0 !important; border: 0 !important; } |
| 4 |
| 5 /** Center within a responsive fixed width Use modifier classes defined in _widt
h.scss to change said fixed width */ |
| 6 .container { width: 1140px; max-width: 100%; margin-right: auto; margin-left: au
to; padding-right: 1em; padding-left: 1em; } |
| 7 |
| 8 /** Clear without collapsed margin */ |
| 9 .clearfix:after, .clearfix:before { display: table; content: " "; } |
| 10 |
| 11 .clearfix:after { clear: both; } |
| 12 |
| 13 /** Align a block to the start of a line */ |
| 14 .float-start { float: left; } |
| 15 |
| 16 [dir="rtl"] .float-start { float: right; } |
| 17 |
| 18 /** Align a block to the end of a line */ |
| 19 .float-end { float: right; } |
| 20 |
| 21 [dir="rtl"] .float-end { float: left; } |
| 22 |
| 23 /** Force full-width */ |
| 24 .full-width { display: block; width: 100%; } |
| 25 |
| 26 /** Fix a block to the width of a phone */ |
| 27 .phone-width { width: auto; } |
| 28 |
| 29 /** Fix a block to the width of a phablet */ |
| 30 .phablet-width { width: 540px; } |
| 31 |
| 32 /** Fix a block to the width of a tablet */ |
| 33 .tablet-width { width: 720px; } |
| 34 |
| 35 /** Fix a block to the width of a desktop */ |
| 36 .desktop-width { width: 960px; } |
| 37 |
| 38 /** Fix a block to the width of a large desktop */ |
| 39 .large-desktop-width { width: 1140px; } |
| 40 |
| 41 /*******************************************************************************
CSS Reset */ |
| 42 /* Reset margins, paddings, and font globally */ |
| 43 html, body, h1, h2, h3, h4, h5, h6, a, p, span, em, small, strong, sub, sup, str
ike, s, mark, del, ins, abbr, dfn, blockquote, q, cite, code, pre, kbd, samp, va
r, output, ruby, ol, ul, li, dl, dt, dd, div, section, article, main, aside, nav
, header, hgroup, footer, img, figure, figcaption, address, time, audio, video,
canvas, object, iframe, embed, details, summary, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { margin: 0px; padding: 0px; bor
der: 0px; font-size: 100%; font: inherit; vertical-align: baseline; } |
| 44 |
| 45 /* Add the correct display in IE 9-. */ |
| 46 article, aside, footer, header, nav, section, main { display: block; } |
| 47 |
| 48 /* Set default box-sizing (opinionated) */ |
| 49 *, *:before, *:after { box-sizing: inherit; } |
| 50 |
| 51 html { box-sizing: border-box; } |
| 52 |
| 53 /* Remove the margin in all browsers (opinionated). */ |
| 54 body { margin: 0px; } |
| 55 |
| 56 /* Remove list styles (opinionated) */ |
| 57 ol, ul { list-style: none; } |
| 58 |
| 59 /* Remove quotes ("") in most browsers (opinionated) */ |
| 60 blockquote, q { quotes: none; } |
| 61 |
| 62 /* Remove quotes ("") in Safari (opinionated) */ |
| 63 blockquote:before, blockquote:after, q:before, q:after { content: ""; content: n
one; } |
| 64 |
| 65 /* Share borders between adjacent cells (opinionated) */ |
| 66 table { border-collapse: collapse; border-spacing: 0; } |
| 67 |
| 68 /* Normalize inline content (opinionated) */ |
| 69 b, strong { font-weight: bolder; } |
| 70 |
| 71 small { font-size: smaller; } |
| 72 |
| 73 abbr { text-decoration: underline; cursor: help; } |
| 74 |
| 75 sup { position: relative; font-size: 75%; vertical-align: super; } |
| 76 |
| 77 a, a:visited { color: inherit; /* Remove the gray background on active links in
IE 10. */ background-color: transparent; text-decoration: none; /* Set default p
ointer regardless of href (opinionated) */ cursor: pointer; } |
| 78 |
| 79 a:hover, a:active, a:focus { text-decoration: underline; } |
| 80 |
| 81 img { /* Make fixed width images responsive */ max-width: 100%; /* Remove the bo
rder on images inside links in IE 10-. */ border-style: none; } |
| 82 |
| 83 /* Set correct display for hidden attribute in IE 10- */ |
| 84 [hidden] { display: none; } |
| 85 |
| 86 /*******************************************************************************
Base styles */ |
| 87 html { color: #212121; background-color: #fff; font-family: "Source Sans Pro", s
ans-serif; line-height: 1.5; } |
| 88 |
| 89 /*******************************************************************************
Basic forms fields /* 1. Reset */ |
| 90 /* Change the font styles in all browsers (opinionated). */ |
| 91 input, optgroup, select, textarea { font: inherit; } |
| 92 |
| 93 /* Show the overflow in IE and Edge */ |
| 94 input { overflow: visible; } |
| 95 |
| 96 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */ |
| 97 select { text-transform: none; } |
| 98 |
| 99 /* Set block display (opinionated) */ |
| 100 fieldset { display: block; } |
| 101 |
| 102 /* Correct the text wrapping in Edge and IE. */ |
| 103 legend { display: table; max-width: 100%; white-space: normal; } |
| 104 |
| 105 /* Remove the default vertical scrollbar in IE. */ |
| 106 textarea { overflow: auto; } |
| 107 |
| 108 /* Remove the padding in IE 10-. */ |
| 109 [type="checkbox"], [type="radio"] { padding: 0px; } |
| 110 |
| 111 /*******************************************************************************
Buttons /* 1. Reset */ |
| 112 button { margin: 0px; color: inherit; font: inherit; /* Show the overflow in IE
and Edge */ overflow: visible; /* Remove rounded corners in Chrome 62+ */ border
-radius: 0; /* Remove the inheritance of text transform in Edge, Firefox, and IE
. */ text-transform: none; } |
| 113 |
| 114 /** 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` contro
ls in Android 4. 2. Correct the inability to style clickable types in iOS and Sa
fari. */ |
| 115 button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearan
ce: button; } |
| 116 |
| 117 /* Remove the inner border and padding in Firefox. */ |
| 118 button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-mo
z-focus-inner, [type="submit"]::-moz-focus-inner { padding: 0px; border-style: n
one; } |
| 119 |
| 120 /* Restore the focus styles unset by the previous rule. */ |
| 121 button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focus
ring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } |
| 122 |
| 123 /*******************************************************************************
Layout */ |
| 124 html { background-color: #F3F3F3; } |
| 125 |
| 126 @media (min-width: 576px) { body { display: table; width: 100%; min-height: 100v
h; } } |
| 127 |
| 128 /* .outer-container */ |
| 129 @media (min-width: 576px) { .outer-container { display: table-cell; vertical-ali
gn: middle; } } |
| 130 |
| 131 /* #page-header */ |
| 132 #page-header { margin-top: 2em; margin-bottom: 1em; } |
| 133 |
| 134 @media (min-width: 576px) { #page-header { margin-top: 0; margin-bottom: 2em; te
xt-align: center; } } |
| 135 |
| 136 #page-header figure { display: inline-table; font-size: 1.5em; font-weight: 300;
} |
| 137 |
| 138 @media (min-width: 576px) { #page-header figure { font-size: 2em; } } |
| 139 |
| 140 #page-header figure img, #page-header figure figcaption { display: table-cell; v
ertical-align: middle; } |
| 141 |
| 142 #page-header figure img { height: 1.5em; } |
| 143 |
| 144 @media (min-width: 576px) { #page-header figure img { height: 2em; } } |
| 145 |
| 146 #page-header figure figcaption { padding: 0 0.5em; } |
| 147 |
| 148 #page-header figure strong { font-weight: 700; } |
| 149 |
| 150 #page-header h1 { margin: 1em auto 0.5em; font-weight: 700; } |
| 151 |
| 152 /* #sign-up, #page-footer */ |
| 153 #sign-up, #page-footer { width: 100%; } |
| 154 |
| 155 @media (min-width: 576px) { #sign-up, #page-footer { max-width: 320px; margin-ri
ght: auto; margin-left: auto; } } |
| 156 |
| 157 #page-footer { margin-top: 1em; text-align: center; } |
| 158 |
| 159 @media (min-width: 576px) { #page-footer { text-align: left; } } |
| 160 |
| 161 /*******************************************************************************
Content */ |
| 162 a, a:visited { color: #077CA6; text-decoration: underline; } |
| 163 |
| 164 /*******************************************************************************
Form */ |
| 165 input, button { width: 100%; height: 2.6em; border-radius: 4px; } |
| 166 |
| 167 /* Input field */ |
| 168 input { margin-bottom: 2em; padding: 0 0.5em; border: 1px solid #CDCDCD; } |
| 169 |
| 170 /* Error state */ |
| 171 .invalid { border-color: #f44336; } |
| 172 |
| 173 .error-message { display: none; } |
| 174 |
| 175 .invalid + .error-message { display: block; margin-top: -0.5em; margin-bottom: 1
em; color: #f44336; } |
| 176 |
| 177 /* Buttons */ |
| 178 button { border: 0; text-transform: uppercase; } |
| 179 |
| 180 .secondary { color: #fff; background-color: #C70D2B; } |
OLD | NEW |