Skip to content
Permalink
84b6dc4994
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
749 lines (649 sloc) 13.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;
margin: 0;
font-size: 12pt;
border: none;
}
.salmon-button:hover {
cursor: pointer;
}
.tiny {
font-size: 10pt;
}
.small {
font-size: 12pt;
}
.title {
font-size: 30pt;
margin-top: 0;
}
.pre-title {
margin-bottom: 0;
}
ul {
list-style-type: none;
padding-left: 0;
}
#section-1 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url(../img/bg-1_sm.jpeg);
background-size: cover;
height: 400px;
}
#section-1 h1 {
text-align: center;
max-width: 750px;
margin: 50px;
}
#section-1 .tiny {
color: white;
}
#try-now {
padding-left: 50px;
padding-right: 50px;
}
#section-2 {
display: grid;
grid-template-columns: 1fr minmax(60vw, 80vw) 1fr;
grid-template-rows: auto auto auto;
padding: 50px 50px 25px 50px;
}
#section-2-title {
grid-row: 1/2;
grid-column: 2/3;
}
#section-2-text {
grid-row: 3/4;
grid-column: 2/3;
text-align: left;
margin-top: 30px;
}
#section-2-img {
grid-row: 2/3;
grid-column: 2/3;
justify-self: center;
max-width: 100vw;
}
#section-3 {
text-align: center;
padding: 50px;
}
#section-3-flex-container img {
width: calc(30px + 1vw);
margin: auto;
}
.section-3-col {
margin: 10px;
padding: 0 15px;
}
#section-3 .tiny {
margin-top: 0;
margin-bottom: 25px;
}
#section-3-flex-container .small {
margin-bottom: 5px;
}
#section-4 {
display: grid;
grid-template-columns: 1fr minmax(60vw, 80vw) 1fr;
grid-template-rows: auto auto auto;
padding: 0 50px 50px 50px;
}
#section-4-title {
grid-row: 1/2;
grid-column: 2/3;
}
#section-4-text {
grid-row: 3/4;
grid-column: 2/3;
text-align: left;
margin-top: 30px;
}
#section-4-img {
grid-row: 2/3;
grid-column: 2/3;
justify-self: center;
max-width: 90vw;
}
#section-5 {
background-image: url(../img/bg-2_lg.png);
background-size: cover;
text-align: center;
padding: 50px;
}
#section-5-logos{
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
#section-5-logos li {
margin: 15px;
}
.jon {
padding: 15px;
}
.jon .small {
margin-bottom: 0;
}
.jon .salmon {
margin-top: 0;
}
#section-6 {
padding-top: 50px;
}
#section-6-img{
width: 50vw;
margin: 0 auto;
}
#section-6-img img {
max-width: 100%;
}
#section-6-text {
text-align: center;
margin: 0 50px;
}
#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-wrapper {
margin: 30px auto 50px auto;
}
#trial-img {
align-self: flex-end;
margin-right: 3px;
margin-top: 8px;
}
#trial-text {
align-self: flex-start;
margin-top: 0;
}
::placeholder {
color: #cbcbcb;
font-size: 12pt;
}
#section-7 form {
display: flex;
flex-direction: column;
}
#section-7 button {
width: 200px;
margin-top: 10px;
}
footer {
display: flex;
flex-wrap: wrap;
padding: 50px;
}
#contact {
margin: 16px;
}
#contact p {
margin: 2pt;
order: 1;
}
#footer-flex-container {
display: flex;
width: 100%;
justify-content: space-evenly;
order: 3;
}
#footer-flex-container h3 {
margin-bottom: 5px;
}
#footer-flex-container li {
margin-bottom: 5px;
}
#social-flex-container {
display: flex;
justify-content: center;
}
#social-flex-container li {
margin: 15px;
}
#newsletter-wrapper {
order: 2;
margin-left: 15px;
}
footer form {
border-radius: 3px;
border-color: #cbcbcb;
background-color: #f6f6f6;
border-style: solid;
border-width: 1px;
height: 45px;
display: flex;
}
footer input {
background-color: #f6f6f6;
padding: 15px;
border-style: none;
margin: 0px;
}
footer button {
height: 45px;
width: 45px;
}
/* ----------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;
}
}
@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 minmax(30%, 40%);
grid-template-rows: min-content 1fr;
}
#section-2-title {
grid-column: 1/2;
grid-row: 1/2;
padding-left: 10vw;
padding-right: 10vw;
}
#section-2-text {
grid-column: 1/2;
grid-row: 2/3;
text-align: left;
padding-left: 10vw;
padding-right: 10vw;
margin-top: 0;
}
#section-2-img {
grid-column: 2/3;
grid-row:1/3;
justify-self: center;
align-self: center;
padding: 10px;
}
#section-2-img img {
max-width: 100%;
}
#section-3-flex-container {
display: flex;
justify-content: space-around;
}
#section-4 {
grid-template-columns: minmax(40%, 50%) 1fr;
grid-template-rows: min-content 1fr;
}
#section-4-title {
grid-column: 2/3;
grid-row: 1/2;
padding-left: 5vw;
padding-right: 5vw;
}
#section-4-title h3 {
margin-bottom: 20px;
}
#section-4-text {
grid-column: 2/3;
grid-row: 2/3;
text-align: left;
padding-left: 5vw;
padding-right: 5vw;
margin-top: 0;
}
#section-4-img {
grid-column: 1/2;
grid-row:1/3;
justify-self: center;
padding: 10px;
align-self: center;
}
#section-4-img img {
max-width: 100%;
}
.jon{
width: 30%;
}
#section-5-jons {
display: flex;
justify-content: space-evenly;
}
#section-6-img {
text-align: center;
}
#section-6-text {
max-width: 50%;
margin: 0 auto 50px auto;
}
#section-7 form {
flex-direction: row;
align-items: flex-end;
}
#form-flex-container {
display: flex;
justify-content: center;
align-items: flex-end;
margin-bottom: 50px;
}
#section-7 input {
box-sizing: border-box;
width: 20vw;
height: 50px;
margin-bottom: 0;
}
#section-7 button {
width: 100%;
height: 50px;
padding: 15px;
}
#trial-wrapper {
margin: 0 10px 0 10px;
width: 20vw;
}
#footer-flex-container {
width: 50%;
justify-content: space-evenly;
}
footer {
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
justify-content: space-evenly;
width: 75%;
margin: 0 auto;
}
#contact {
margin-top: 16px;
}
#contact p {
width: fit-content;
}
#newsletter-wrapper {
order: 4;
}
}
@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;
}
#section-3 {
padding-left: 15vw;
padding-right: 15vw;
}
#section-4 {
padding-left: 15vw;
padding-right: 15vw;
}
#section-4-img {
justify-self: right;
}
#section-5 {
padding-left: 15vw;
padding-right: 15vw;
}
#section-7 {
padding-left: 15vw;
padding-right: 15vw;
}
footer {
padding-left: 15vw;
padding-right: 15vw;
width: auto;
}
#section-7 input {
width: 15vw;
}
#trial-wrapper {
width: 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;
}
}