Skip to content
Permalink
a7298c00d9
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
562 lines (483 sloc) 10.2 KB
/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */
html {
color: #222;
font-size: 1em;
line-height: 1.4;
}
/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
*/
audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}
/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */
.browserupgrade {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
/* ==========================================================================
Author's custom styles
========================================================================== */
body {
font-family: "Exo", sans-serif;
font-weight: 400;
box-sizing: border-box;
}
.thin {
font-weight: 100;
}
.medium {
font-weight: 500;
}
.light-italic {
font-weight: 300;
font-style: italic;
}
.dark-gray {
color: #282828;
}
.salmon {
color: #ff6d6d;
}
.white {
color: white;
}
.salmon-button {
color: white;
background-color: #ff6d6d;
border-radius: 3px;
font-weight: 400;
padding: 10px 30px;
margin: 0;
font-size: 12pt;
}
.tiny {
font-size: 10pt;
}
.small {
font-size: 12pt;
}
.title {
font-size: 30pt;
}
#section-1 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(/img/bg-1_sm.jpeg);
background-size: cover;
background-position: center;
height: 400px;
}
#section-1 h1 {
text-align: center;
max-width: 750px;
margin: 50px;
}
#section-1 .tiny {
color: white;
}
#section-2 {
display: grid;
grid-template-columns: 1fr 80vw 1fr;
grid-template-rows: auto auto auto;
}
#section-2-title {
grid-row: 1/2;
grid-column: 2/3;
}
#section-2-text {
grid-row: 3/4;
grid-column: 2/3;
text-align: center;
}
#section-2-img {
grid-row: 2/3;
grid-column: 2/3;
justify-self: center;
}
#section-3 {
text-align: center;
padding: 50px;
}
#section-3-flex-container img {
width: calc(30px + 1vw);
margin: auto;
}
.section-3-col {
margin: 10px;
}
#section-4 {
display: grid;
grid-template-columns: 1fr 80vw 1fr;
grid-template-rows: auto auto auto;
}
#section-4-title {
grid-row: 1/2;
grid-column: 2/3;
}
#section-4-text {
grid-row: 3/4;
grid-column: 2/3;
text-align: center;
}
#section-4-img {
grid-row: 2/3;
grid-column: 2/3;
justify-self: center;
}
#section-5 {
background-image: url(/img/bg-2_sm.jpeg);
background-size: cover;
text-align: center;
padding: 50px;
}
#section-5-logos{
list-style-type: none;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
#section-5-logos li {
margin: 15px;
}
.jon {
padding: 15px;
}
#section-6-img{
width: 50vw;
margin: 0 auto;
}
#section-6-img img {
max-width: 100%;
}
#section-6-text {
text-align: center;
max-width: 35%;
margin: 0 auto;
}
#section-7 {
background-color: #323969;
text-align: center;
padding: 50px;
}
#section-7 input {
border-radius: 3px;
background-color: #474d78;
border-color: #848bbd;
color: white;
padding: 15px;
border-style: solid;
border-width: 1px;
margin: 10px;
}
#trial-flex-container {
display: flex;
justify-content: center;
}
#trial-img {
align-self: flex-end;
margin-right: 3px;
}
#trial-text {
align-self: flex-start;
}
::placeholder {
color: white;
font-size: 12pt;
}
#section-7 form {
display: flex;
flex-direction: column;
}
#section-7 button {
width: 200px;
}
/* ----------START OF MEDIA QUERIES------------ */
@media (min-width: 484px) {
#section-1 {
background-image: url(/img/bg-1_md.jpeg);
height: 550px;
}
#section-1 .tiny {
color:#282828;
}
#section-5 {
background-image: url(/img/bg-2_md.jpeg);
}
}
@media (min-width: 950px) {
#section-1 {
background-image: url(/img/bg-1_lg.jpeg);
min-height: 800px;
}
#section-1 h1 {
font-size: 50pt;
}
#section-2 {
grid-template-columns: 1fr max(40%);
grid-template-rows: auto auto auto auto;
}
#section-2-title {
grid-column: 1/2;
grid-row: 2/3;
padding-left: 10vw;
padding-right: 10vw;
}
#section-2-text {
grid-column: 1/2;
grid-row: 3/4;
text-align: left;
padding-left: 10vw;
padding-right: 10vw;
}
#section-2-img {
grid-column: 2/3;
grid-row:1/5;
justify-self: right;
padding: 10px;
}
#section-2-img img {
max-width: 100%;
}
#section-3-flex-container {
display: flex;
justify-content: space-around;
}
#section-4 {
grid-template-columns: max(40%) 1fr;
grid-template-rows: auto auto auto auto;
}
#section-4-title {
grid-column: 2/3;
grid-row: 2/3;
padding-left: 10vw;
padding-right: 10vw;
}
#section-4-text {
grid-column: 2/3;
grid-row: 3/4;
text-align: left;
padding-left: 10vw;
padding-right: 10vw;
}
#section-4-img {
grid-column: 1/2;
grid-row:1/5;
justify-self: left;
padding: 10px;
}
#section-4-img img {
max-width: 100%;
}
#section-5 {
background-image: url(/img/bg-2_lg.jpg);
}
.jon{
width: 30%;
}
#section-5-jons {
display: flex;
justify-content: space-evenly;
}
#section-7 form {
flex-direction: row;
}
#form-flex-container {
display: flex;
justify-content: center;
align-items: flex-end;
}
#section-7 input {
width: 20vw;
}
#section-7 button {
width: 20vw;
}
}
@media (min-width: 1921px) {
#section-1 {
background-image: url(/img/bg-1_xl.jpeg);
min-height: 1100px;
}
#section-2 {
padding-left: 15vw;
padding-right: 15vw;
}
}
/* ==========================================================================
Helper classes
========================================================================== */
/*
* Hide visually and from screen readers
*/
.hidden {
display: none !important;
}
/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
* causes content to wrap 1 word per line:
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
/* 1 */
}
/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.sr-only.focusable:active,
.sr-only.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
white-space: inherit;
width: auto;
}
/*
* Hide visually and from screen readers, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.clearfix:after {
clear: both;
}
/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
/* ==========================================================================
Print styles.
Inlined to avoid the additional HTTP request:
https://www.phpied.com/delay-loading-your-print-css/
========================================================================== */
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
/* Black prints faster */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol
*/
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
pre {
white-space: pre-wrap !important;
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
/*
* Printing Tables:
* https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
*/
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}