@rfp-h1-size: 2.442em; @rfp-h2-size: 1.953em; @rfp-h3-size: 1.563em; @rfp-lead-size: 1.25em; @rfp-sl-red: @red; @rfp-rp-blue: @rp-type-blue; @rfp-rp-blue-light: #F8F9FD; @rfp-rp-blue-dark: shade(@rfp-rp-blue, 50%); @rfp-rp-blue-darker: shade(@rfp-rp-blue, 65%); @rfp-rp-blue-darkest: shade(@rfp-rp-blue, 75%); @rfp-card-shadow: 0 0 30px 5px rgba(0, 0, 0, .3); @rfp-border-radius: 5px; .rfp-main { background-color: @rfp-rp-blue-dark; color: #FFF; font-size: 18px; } // Typographical scale and basics. .rfp-h1 { font-size: @rfp-h1-size; margin-bottom: 2em; color: inherit; } .rfp-h1-masthead { color: #FFF; margin-bottom: 1em; } .rfp-h2 { font-size: @rfp-h2-size; margin-bottom: 2em; color: inherit; } .rfp-h3 { font-size: @rfp-h3-size; margin-bottom: 2em; color: inherit; } .rfp-h3-cta { margin-top: 0; margin-bottom: 40px; } .rfp-lead { font-size: @rfp-lead-size; margin-bottom: 2em; max-width: 30em; margin-left: auto; margin-right: auto; font-weight: 300; } .rfp-lead-cta { margin-top: 0; margin-bottom: 40px; } .rfp-lead-strong { font-weight: 700; .rfp-section-masthead & { margin-bottom: 0; } } .rfp-p { margin-bottom: 2em; max-width: 30em; margin-left: auto; margin-right: auto; font-weight: 300; .rfp-section-feature & { margin-left: initial; } .rfp-section-feature-alt & { margin-left: auto; margin-right: initial; } } .rfp-highlight, .rfp-highlight-brand { font-weight: 700; } .rfp-highlight-brand { color: @rfp-sl-red; } // Sections .rfp-section { padding: 30px; text-align: center; @media (min-width: @screen-sm-min) { padding: 60px; } } .rfp-section-masthead { color: #FFF; background-size: cover; background-position: center; } .rfp-section-blockquote { position: relative; padding-top: 30px; padding-bottom: 30px; background-color: @rfp-sl-red; box-shadow: @rfp-card-shadow; } .rfp-section-feature { color: @rfp-rp-blue-dark; background-color: @rfp-rp-blue-light; text-align: left; } .rfp-section-feature-alt { color: #FFF; background-color: transparent; text-align: right; } .rfp-section-testimonials { background-color: @rfp-rp-blue-darkest; } .rfp-section-final { background-color: @rfp-rp-blue-darker; } // Elements .rfp-screenshot-masthead { max-width: 100%; box-shadow: @rfp-card-shadow; margin-bottom: 2em; } .rfp-quote-section { @media (min-width: @screen-sm-min) { display: flex; } } .rfp-quote { display: block; width: 100%; padding: 20px 40px; border-left: 0; max-width: 30em; font-size: @rfp-lead-size; quotes: "\201C" "\201D"; box-shadow: @rfp-card-shadow; border-radius: @rfp-border-radius; font-size: @rfp-lead-size; background-color: #FFF; color: @rfp-rp-blue-dark; @media (min-width: @screen-sm-min) { display: flex; flex-direction: column; justify-content: space-between; flex: 0 1 50%; margin-right: 20px; // Override weird Boostrap default. } p { display: block; } &:last-of-type { margin-right: 0; } &::before { content: none; } } .rfp-quote-main { display: flex; max-width: none; border-left: 0; margin: 0 auto; padding: 0; quotes: "\201C" "\201D"; font-size: @rfp-lead-size; // Override weird Boostrap default. p { display: block; } &::before { content: none; } } .rfp-quoted-text { position: relative; display: inline-block; font-family: @font-family-serif; font-style: italic; text-align: left; margin: 0 0 40px 0; &::before { content: open-quote; display: block; position: absolute; font-family: @font-family-serif; font-size: @rfp-lead-size; line-height: inherit; color: inherit; left: -0.75em; } .rfp-quote-main & { flex: 1 1 70%; margin: auto 40px auto auto; } } .rfp-quoted-person { display: inline-block; font-size: .8em; .rfp-quote-main & { display: flex; align-items: center; flex: 0 0 30%; } } .rfp-quoted-person-name { margin: 0; } .rfp-quoted-person-link { margin: 0; font-size: .8em; &:hover, &:focus { text-decoration: none; cursor: pointer; } .rfp-quote-main & { color: #FFF; &:hover, &:focus { color: #FFF; } } } .rfp-quoted-person-photo { border-radius: 3em; width: 6em; margin-bottom: 20px; .rfp-quote-main & { margin-bottom: 0; margin-right: 20px; } } .rfp-cta-container { max-width: 40em; margin: 0 auto; padding: 40px; background-color: #FFF; color: @rfp-rp-blue-dark; box-shadow: @rfp-card-shadow; border-radius: @rfp-border-radius; } .rfp-cta { display: inline-block; background-color: @rfp-sl-red; color: #FFF; font-size: @rfp-h3-size; border-radius: @rfp-border-radius; padding: .75em 1.5em; &:hover, &:focus { color: #FFF; text-decoration: none; outline: 0; .rfp-cta-main { transform: translate(0, -30%); } .rfp-cta-extra { opacity: 1; transform: translate(-50%, -40%); } } } .rfp-cta-main { display: block; transition: transform 0.25s; transform: translate(0, 0); } .rfp-cta-extra { display: block; position: absolute; left: 50%; text-transform: uppercase; transition: opacity 0.25s, transform 0.25s; transform: translate(-50%, 100%); opacity: 0; font-size: 0.5em; }