@import "bourbon/bourbon"; @import "neat/neat"; // Colors $atlantic_blue: #323A45; // gray-dark $pacific_blue: #046B99; // primary-alt-darkest $miami_vice_blue: $pacific_blue; // original $white: #fff; $black: #323A45; // gray-dark $usds-navy: #103c68; $usds-navy-dark: #122d44; $usds-navy-light: #577795; $usds-blue-medium: #064e96; $usds-blue-bright-dark: #0071bc; $usds-gray: #5d5d5d; $usds-gray-dark: #3f3f3f; // Fonts $serif: 'Merriweather', Georgia, serif; $sans-serif: 'Source Sans Pro', sans-serif; // Mobile Breakpoints $mobile: new-breakpoint(min-width 0px max-width 640px 4); $slimmer: new-breakpoint(min-width 641px max-width 980px 12); @media screen { body { background: $white; font-family: $serif; margin: 0; line-height: 1.5em; } body#techfar_landing_page { background: $atlantic_blue; } a { color: inherit; font-family: inherit; font-weight: inherit; text-decoration: none; } a.anchor_offset { display: block; position: relative; top: -60px; visibility: hidden; } a:hover { text-decoration: underline; } ol, ul { list-style-type: decimal; list-style-position: inside; li { margin: 1em 0; color: $black; } } h1 { font-size: 52px; font-weight: 300; border-bottom: 1px solid $white; padding-bottom: 0.25em; margin-bottom: 20px; line-height: 1.375em; @include media($mobile){ font-size: 28px; } } h2 { font-family: $serif; font-size: 30px; line-height: 1.375em; font-weight: 300; } h2.display { font-family: $serif; font-size: 54px; line-height: 1.3em; font-weight: 300; margin-top: 0; color: $black; @include media($mobile) { font-size: 32px; } } h3 { font-family: $serif; font-size: 20px; font-weight: 700; } h4 { font-family: $serif; font-size: 17px; font-weight: 700; line-height: 1.5em; color: $pacific_blue; margin-bottom: 0; } h6 { font-family: $sans-serif; font-size: 14px; font-weight: 300; line-height: 1.5em; margin-bottom: 15px; } p { color: $black; font-weight: 400; font-size: 17px; line-height: 2.0em; } .outer_container { @include outer-container(); padding: 40px; @include media($mobile) { padding: 20px; } } .inner_container { @include shift(1); @include span-columns(10); @include media($mobile) { @include shift(0); @include span-columns(4); } @include media($slimmer) { @include shift(0); @include span-columns(12); } } .button { font-size: 17px; font-family: $sans-serif; font-weight: 700; line-height: 1.5em; display: inline-block; margin-top: 40px; margin-right: 20px; a { display: inline-block; border-radius: 3px; padding: 10px 20px; text-decoration: none; border: 2px solid $white; min-width: 172px; text-align: center; } a:hover { background: $white; color: $atlantic_blue; text-decoration: none; } @include media($mobile) { margin-top: 20px; display: block; margin-right: 0; text-align: left; } } #alpha_tag { float: right; background: green; color: $white; padding: 10px; font-family: $sans-serif; } #introduction { background: $usds-navy; color: $white; padding-bottom: 60px; a { text-decoration: underline; } a:hover { background: $white; color: $atlantic_blue; } #usds_logo { display: inline-block; img { max-height: 100%; max-width: 100%; width: 150px; } } #usds_logo:hover { background: none; img{ opacity: 0.9; } } .button a { text-decoration: none; } p { max-width: 700px; font-family: $serif; font-size: 20px; font-weight: 300; line-height: 2.0em; margin-top: 40px; color: $white; } p.download_links { font-size: 16px; } @include media($mobile) { p { font-size: 16px; line-height: 24px; margin-top: 20px; } padding-bottom: 20px; } } #navigation_bar { visibility: hidden; display: none; position: fixed; width: 100%; height: 0; background: $usds-navy; color: $white; .outer_container { padding: 0 40px; } h3 { padding: 20px 0; margin-top: 0; font-weight: 300; color: $white; // line-height: 20px; display: inline-block; } h3:hover { text-decoration: underline; } ul { float: right; display: inline; padding: 0; list-style-position: outside; } .active { a { background: $usds-blue-bright-dark; color: $white; text-decoration: none; } } li { display: inline; margin-left: 5px; list-style-type: none; a { display: inline-block; height: 24px; width: 24px; line-height: 22px; text-align: center; font-family: $serif; font-weight: lighter; color: $white; border: 1px solid $usds-blue-bright-dark; } a:hover { background: $usds-blue-bright-dark; color: $white; text-decoration: none; } } #menu_icon { display: none; height: 14px; width: 16px; margin-top: 16px; float: right; background-image: url('../images/menu_icon.svg'); background-size: contain; a { display: block; height: 100%; width: 100%; } } @include media($mobile) { ul { display: none; } #menu_icon { display: inline-block; } .outer_container { padding: 0 20px; } h3 { font-size: 16px; padding: 16px 0; line-height: 16px; } } @include media($slimmer) { ul { display: none; } #menu_icon { display: inline-block; margin-top: 20px; height: 18px; width: 20px; } } } #navigation_bar.show { visibility: visible; display: block; height: 60px; @include media($mobile) { height: 48px; visibility: visible; display: block; } } #plays_index { background: $usds-blue-medium; padding-bottom: 60px; color: $white; h2 { margin-bottom: 38px; } .columns { -moz-column-count: 2; -moz-column-gap: 20px; -webkit-column-count: 2; -webkit-column-gap: 20px; column-count: 2; column-gap: 20px; } ol { list-style-position: inside; padding-left: 0px; margin-top: 0px; a { vertical-align: top; color: $white; margin-top: 0; display: inline-block; width: 85%; } } ol, li { font-size: 20px; font-weight: 300; line-height: 1.5em; margin: 0; color: $white; } li { padding-bottom: 20px; } .button { a { color: white; } a:hover { color: $black; } } @include media($mobile) { h2 { font-size: 18px; margin-bottom: 20px; } ol, li { font-size: 16px; line-height: 24px; } padding-bottom: 20px; } @include media($slimmer) { .columns { -moz-column-count: 1; -moz-column-gap: 0px; -webkit-column-count: 1; -webkit-column-gap: 0px; column-count: 1; column-gap: 00px; } } @include media($mobile) { .columns { -moz-column-count: 1; -moz-column-gap: 0px; -webkit-column-count: 1; -webkit-column-gap: 0px; column-count: 1; column-gap: 00px; } } } #plays, #techfar { h2, h3 { @include span-columns(8); } h3 { // margin-top: 0px; color: $atlantic_blue; } h2 { margin-bottom: 24px; } p { @include span-columns(9); } ol, ul { @include span-columns(8); list-style-position: outside; padding-left: 25px; } ol { list-style-image: url("../images/bullet-sq.svg"); margin-top: 0px; } li { padding-left: 5px; font-size: 15px; } ul { list-style-image: url("../images/bullet-circle.svg"); } a { color: #0071bc; text-decoration: underline; display: inline-block; } a:visited { color: #4c2c92; } @include media($mobile) { p { font-size: 16px; // line-height: 24px; } ol, li { font-size: 16px; // line-height: 20px; } h2, h3, p, ol, ul { @include span-columns(4); } } @include media($slimmer) { h2, h3 { @include span-columns(9); } p { @include span-columns(10); } } } #techfar { em { font-size: 12px; // margin-right: 5px; line-height: 0; vertical-align: super; } h2, h4 { margin-top: 20px; } img { max-width: 100%; } } } @media print { body { background: white; font-family: $serif; font-weight: lighter; line-height: 1.5em; font-size: 12px; margin-left: 16.5%; margin-right: 16.5% } #plays_index { ol { list-style-type: decimal; } a { text-decoration: none; } } #navigation_bar { display: none; } a { color: $black; text-decoration: underline; } ol, ul { width: 80%; } ol { list-style-type: square; } p { width: 100%; } h2, h4 { width: 66%; } h2 { margin-top: 0px; } h5 { margin-top: 60px; margin-bottom: 0px; } .button { display: none; } }