Skip to content

Instantly share code, notes, and snippets.

@jasonhobbsllc
Created May 2, 2017 22:28
Show Gist options
  • Save jasonhobbsllc/e2450715e01cc1c37bec48d869ab995a to your computer and use it in GitHub Desktop.
Save jasonhobbsllc/e2450715e01cc1c37bec48d869ab995a to your computer and use it in GitHub Desktop.
Copy and paste of Tropical theme for Rainmaker Platform Landing Page Builder.
/*
Theme Name: Tropical
Theme URI: http://www.newrainmaker.com
Description: Tropical template description.
Author: New Rainmaker
Author URI: http://www.newrainmaker.com
Version: 1.0
Tags: default-landing-page
*/
/*
Imports
---------------------------------------------------------------------------------------------------- */
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);
/*
Defaults
---------------------------------------------------------------------------------------------------- */
/* Typographical Elements
--------------------------------------------- */
html {
font-size: 62.5%; /* 10px browser default */
}
body {
background-color: #fff;
color: #333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 18px;
font-weight: 400;
line-height: 1.75;
}
a {
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
-o-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
a,
button,
input {
outline: none;
}
::-moz-selection {
background-color: #333;
color: #fff;
}
::selection {
background-color: #333;
color: #fff;
}
a,
a:visited {
color: #12ad7c;
}
a img {
margin-bottom: -4px;
}
a:hover {
color: #333;
}
p {
margin: 0 0 24px;
padding: 0;
}
strong {
font-weight: 700;
}
blockquote,
blockquote::before {
color: #999;
}
blockquote {
font-style: italic;
margin: 40px 40px 24px;
}
blockquote::before {
content: "\201C";
display: block;
font-size: 30px;
height: 0;
left: -20px;
position: relative;
top: -10px;
}
.content code {
background-color: #333;
color: #ddd;
}
cite {
font-style: normal;
}
a:focus,
a:hover,
a:active {
outline: none;
}
/* Headings
--------------------------------------------- */
.site-header h1 {
font-size: 64px;
line-height: 1.15;
letter-spacing: -1px;
margin: 30px 0 15px;
}
.site-header h1 a {
color: #111;
}
.section-heading p,
.site-header .site-description {
color: #888;
font-size: 30px;
font-family: 'Open Sans', sans-serif;
font-weight: 300;
line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #111;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
line-height: 1.3;
margin: 0 0 16px;
}
h1,
.section-heading h2 {
font-size: 48px;
letter-spacing: -1px;
}
h2 {
font-size: 36px;
}
h3 {
color: #12ad7c;
font-size: 30px;
}
h4 {
color: #12ad7c;
font-size: 26px;
font-weight: 400;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 16px;
}
.section-heading {
margin-bottom: 40px;
}
/* Forms
--------------------------------------------- */
input,
select,
textarea {
background-color: #fff;
border: none;
border-radius: 3px;
box-shadow: 1px 1px 5px #ddd inset;
color: #999;
font-family: 'Open Sans', sans-serif;
padding: 25px;
width: 100%;
}
input:focus,
textarea:focus {
outline: none;
}
::-moz-placeholder {
color: #999;
opacity: 1;
}
::-webkit-input-placeholder {
color: #999;
}
a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input.submit {
background-color: #12ad7c;
border: none;
border-radius: 3px;
box-shadow: none;
color: #fff !important;
cursor: pointer;
font-family: 'Open Sans', sans-serif;
font-weight: bold;
padding: 20px 40px;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 2px;
width: auto;
-webkit-transition: background-color 0.5s ease-in-out;
-moz-transition: background-color 0.5s ease-in-out;
-ms-transition: background-color 0.5s ease-in-out;
-o-transition: background-color 0.5s ease-in-out;
transition: background-color 0.5s ease-in-out;
}
a.button:hover,
button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
input.submit {
background-color: #333;
color: #fff;
}
.button {
display: inline-block;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
display: none;
}
/*
Structure and Layout
---------------------------------------------------------------------------------------------------- */
/* Site Containers
--------------------------------------------- */
.site-container,
.single-column .section-heading-wrap {
background: #fff;
margin: 0;
max-width: 960px;
position: relative;
}
.wrap {
padding: 0 100px 0 100px;
}
.section-wrap {
padding: 0 0 0 100px;
}
.single-column .section-wrap {
max-width: 100%;
padding-right: 100px;
}
.section,
.site-header {
padding: 24px 0;
}
.module {
margin-bottom: 40px;
}
.section .module:last-child {
margin-bottom: 0;
}
/* Column Widths and Positions
--------------------------------------------- */
.content {
width: 100%;
}
/* Site Header
--------------------------------------------- */
.site-header {
}
/*
Common Classes
---------------------------------------------------------------------------------------------------- */
/* Titles
--------------------------------------------- */
.entry-title {
font-size: 36px;
line-height: 1;
text-align: center;
}
.entry-subtitle {
font-size: 24px;
font-size: 2.4rem;
text-align: center;
}
.content .notice {
background-color: #ffffe6;
margin: 0 16px 16px 16px;
overflow: auto;
padding: 16px 24px;
border: 1px solid #ddd;
}
/*
Landing Page
---------------------------------------------------------------------------------------------------- */
/* General
--------------------------------------------- */
.separator {
border-top: 1px solid #ddd;
height: 1px;
}
.features ul,
.features ul li,
.testimonials ul,
.testimonials ul li,
.pricing ul,
.pricing ul li {
list-style: none;
margin: 0;
padding: 0;
}
/* Features
--------------------------------------------- */
.features ul li {
padding: 0 0 25px 65px;
}
.features ul li p {
}
.features ul li .feature-icon {
color: #12ad7c;
font-size: 45px;
}
.features ul li .feature-icon,
.features ul li img {
float: left;
margin-right: 20px;
margin-left: -65px;
max-width: 65px;
}
/* Testimonials
--------------------------------------------- */
.testimonials ul li {
padding-bottom: 40px;
}
.testimonials ul li img {
border-radius: 50%;
float: left;
max-width: 100px;
margin: 0 30px 20px 0;
}
.testimonials ul li blockquote {
margin: 0;
}
.testimonials ul li cite {
display: block;
font-weight: bold;
margin-top: 15px;
}
.single-column .testimonials blockquote,
.single-column .testimonials ul li cite {
margin-left: 140px;
}
/* Opt-in Form
--------------------------------------------- */
.optinform {
background: #12ad7c;
border: 10px solid #fff;
color: #fff;
padding: 50px;
overflow: hidden;
text-align: center;
margin-left: 40px;
margin-right: -150px;
}
.optinform input[type=text],
.optinform input[type=email],
.optinform input[type=submit] {
margin-bottom: 10px;
text-align: center;
width: 100%;
}
.optinform h3 {
color: #fff;
text-transform: uppercase;
letter-spacing: 1px;
margin: 0 0 25px;
}
.optinform small {
display: block;
font-style: italic;
margin: 10px 0 0;
}
.optinform small a {
color: #fff;
}
.optinform input[type="button"],
.optinform input[type="reset"],
.optinform input[type="submit"],
.optinform input.submit {
background: rgba(0,0,0,0.5);
}
.optinform input[type="button"]:hover,
.optinform input[type="reset"]:hover,
.optinform input[type="submit"]:hover,
.optinform input.submit:hover {
background: rgba(0,0,0,0.3);
}
/* Aweber standard form */
.optinform .module-wrap div {
display: inline;
}
.optinform label {
display: none;
}
/* Plans & Pricing
--------------------------------------------- */
.price-section .price-column.one-half,
.price-section .price-column.one-third,
.price-section .price-column.one-fourth,
.price-section .price-column.one-fifth {
margin-left: 4%;
width: 45%;
}
.price-section .price-column:nth-of-type(3),
.price-section .price-column:nth-of-type(5) {
clear: both;
margin-left: 0;
}
.price-section .price-column.first {
margin-left: 0;
}
.pricing {
background: #fff;
border: 3px solid #ddd;
border-radius: 5px;
color: #1e1810;
padding: 40px;
margin-top: 20px;
position: relative;
text-align: center;
width: 100%;
}
.price-section .price-column.full-width {
float: none;
margin: 0 auto;
width: 60%;
}
.pricing .name {
background: #ddd;
color: #222;
font-size: 24px;
font-family: 'Open Sans', sans-serif;
font-weight: bold;
line-height: 1.3;
margin: -40px -40px 10px;
padding: 20px 0;
}
.pricing .price {
font-family: 'Open Sans', sans-serif;
font-size: 72px;
font-weight: 100;
}
.pricing .signup small,
.pricing .price small {
color: #666;
font-size: 20px;
font-style: italic;
opacity: 0.6;
}
.pricing .signup small {
display: block;
font-size: 16px;
margin-top: 20px;
}
.pricing .features {
margin: 0px 0 40px;
}
.pricing .features p {
color: #666;
margin: 0;
padding: 10px 0 0 35px;
position: relative;
font-style: italic;
text-align: left;
}
.pricing .features p:before {
background: rgba(0,0,0,0.2);
border-radius: 50%;
content: "\f147";
color: #fff;
display: block;
font-family: "dashicons";
font-size: 18px;
height: 25px;
line-height: 27px;
position: absolute;
left: 0px;
top: 10px;
width: 25px;
-webkit-font-smoothing: antialiased;
}
.pricing.most-popular a {
color: #fff !important;
}
.pricing.most-popular {
background: #222;
border-color: #222;
color: #fff;
}
.pricing.most-popular .name {
background: #333;
color: #fff;
}
.pricing.most-popular p,
.pricing.most-popular small,
.pricing.most-popular .price {
color: #fff;
}
.popular-tag {
border-radius: 5px;
display: block;
font-size: 12px;
font-weight: bold;
letter-spacing: 1px;
text-align: center;
text-transform: uppercase;
}
.pricing.most-popular .button:hover {
background: #fff;
color: #222 !important;
}
.pricing .button {
width: 100%;
}
/* Video
--------------------------------------------- */
embed,
object,
video {
max-width: 100%;
}
.video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16/9 ratio */
padding-top: 0; /* IE6 workaround*/
height: 0;
overflow: hidden;
}
.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video {
background: rgba(0,0,0,0.2);
border-radius: 5px;
line-height: 350px;
margin: 0 auto 96px !important;
position: relative;
text-align: center;
max-width: 960px;
z-index: 1;
}
.video .module-wrap {
padding: 0;
}
.video.small {
height: 350px;
}
.video .video-preview {
border-radius: 3px;
overflow: hidden;
position: absolute;
width: 100%;
}
.video .video-preview img {
left: 50%;
position: absolute;
top: 50%;
z-index: 0;
}
.video button {
border: 2px solid #fff;
position: relative;
top: 50%;
z-index: 1;
}
/* Social
--------------------------------------------- */
.social {
}
.site-container .social .sharrre {
height: 80px;
margin: 0 7px;
position: relative;
text-align: center;
vertical-align: top;
width: 80px;
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: none;
transition: none;
}
.site-container .social .share:hover:before,
.site-container .social .share:before {
font-size: 25px !important;
top: 25px !important;
left: 0px;
text-align: center;
width: 100%;
}
.site-container .social .sharrre:hover .share,
.site-container .social .share:hover,
.site-container .social .share,
.site-container .social .share-outlined .share,
.site-container .social .share-outlined .share:hover,
.site-container .social .share-outlined.share-small .twitter .share,
.site-container .social .share-outlined.share-medium .twitter .share {
border: 2px solid #12ad7c;
border-radius: 50% !important;
background: none !important;
color: #12ad7c;
display: block;
height: 80px;
float: none;
font-size: 14px;
text-indent: -9999px;
width: 100% !important;
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
-o-transition: none;
transition: none;
}
.site-container .social .sharrre:not(.twitter):hover .share {
color: #fff !important;
}
.site-container .social .count {
display: none;
}
.site-container .social .sharrre:hover .count {
background: #fff !important;
border: none;
color: #12ad7c;
display: block;
font-size: 18px;
height: 23px;
line-height: 23px;
border-radius: 0;
position: absolute;
top: 30px;
left: 50%;
margin-left: -25px;
width: 50px;
z-index: 99;
}
.site-container .social .twitter.sharrre:hover .count {
display: none;
}
.site-container .social .share-tall .twitter .share:before {
display: block;
}
/*
Site Footer
---------------------------------------------------------------------------------------------------- */
.site-footer {
color: #aaa;
font-size: 14px;
padding: 40px 0;
}
.site-footer p {
margin-bottom: 0;
}
#premise-final-edit-post-link {
clear: both;
}
/*
Media Queries
---------------------------------------------------------------------------------------------------- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
}
@media only screen and (max-width: 1139px) {
}
@media only screen and (max-width: 1024px) {
.wrap,
.section-wrap,
.single-column .section-wrap {
padding: 0 5%;
}
.image {
margin: 0 0 -50px;
}
.optinform {
margin: 0;
}
.image figcaption {
display: none;
}
.section, .site-header {
padding-bottom: 0;
}
}
@media only screen and (max-width: 768px) {
.site-header h1 {
font-size: 50px;
margin: 15px 0;
}
.site-header .site-description {
font-size: 26px;
margin-bottom: 0;
}
.social,
.site-footer {
text-align: center;
}
.site-container .price-section .price-column {
margin-bottom: 10px;
margin-left: 0;
width: 100%;
}
}
@media only screen and (max-width: 460px) {
.site-header h1 {
font-size: 36px;
}
.site-header .site-description,
.section-heading p {
font-size: 20px;
line-height: 1.35;
}
.optinform {
border: none;
padding: 20px;
}
.image {
margin-bottom: -20px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment