Skip to content

Instantly share code, notes, and snippets.

@dn7734
Last active November 6, 2015 10:41
Show Gist options
  • Save dn7734/82959a2c6394c8be899c to your computer and use it in GitHub Desktop.
Save dn7734/82959a2c6394c8be899c to your computer and use it in GitHub Desktop.
wordpress sage assets/styles/common _global.scss
/* hero_content */
.content-1 {
padding-bottom: 147px;
background-repeat: no-repeat;
text-align: center;
background-size: cover;
.Happy-Clients {
font-size: 24px;
font-family: "Montserrat";
color: rgb(238, 238, 238);
line-height: 1.455;
text-align: center;
text-shadow: 0.5px 0.866px 1px rgba(0, 0, 0, 0.32);
.span-cont {
font-size: 152px;
color: rgb(238, 238, 238);
}
}
}
.content_video {
margin-bottom: 40px;
.line-title{
background-color: #47c9f4;
height: 2px;
display: block;
width: 25%;
margin: 25px auto;
}
.content-video-link a{
border: 1px solid #18A01A !important;
border-radius: 19px;
padding: 10px 35px;
text-transform: uppercase;
font-family: "Montserrat";
color: rgb(60, 61, 65);
margin-top: 20px;
letter-spacing: 1px;
background-color: transparent !important;
font-size: 9px;
}
}
/*Navbar Fixes*/
.logo>a {
display: none;
}
@media (min-width: $screen-sm-min) {
.navbar-default {
margin-top: 29px;
margin-bottom: 8px;
}
.home {
.navbar-default {
position: absolute;
z-index: 100;
left: 0;
right: 0;
.navbar-nav>li>a {
color: #fff !important;
&:hover {
color: darken(#fff, 5) !important;
}
}
}
}
.navbar-center {
width: 100%;
text-align: center;
>li {
float: none;
display: inline-block!important;
> a {
font-weight: 700;
text-transform: uppercase;
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
letter-spacing: .5px;
padding-left: 19px;
padding-right: 19px;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}
}
}
.navbar-brand {
display: none;
}
.logo>a {
min-width: 200px;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-left: 100px !important;
padding-right: 100px !important;
img {
margin: 0 auto;
}
}
}
/*masonry Fixes*/
.line-title{
background-color: #6BC72A;
height: 2px;
display: block;
width: 25%;
margin: 25px auto;
}
.heading-title {
font-size: 32px;
font-family: "Montserrat";
font-weight: bold;
line-height: 1.2;
text-shadow: 0.5px 0.866px 1px rgba(0, 0, 0, 0.32);
color: #40c8f4;
}
.container980 {
max-width: 980px;
margin: 0 auto;
}
.masonry-big-title .overlay .headin {
font-size: 22px;
}
.overlay {
display: block;
position: relative;
.content {
position: absolute;
left: 0;
bottom: -18px;
padding: 20px;
width:50%;
z-index: 2;
}
.line {
background-color: #6BC72A;
height: 2px;
display: block;
}
.headin {
font-size: 15px;
font-family: "Montserrat";
color: rgb(255, 255, 255);
font-weight: bold;
line-height: 1.2;
text-shadow: 0.5px 0.866px 1px rgba(0, 0, 0, 0.32);
}
.overlay-bg {
background-color: transparent;
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
-webkit-transition: all 150ms linear;
-moz-transition: all 150ms linear;
-o-transition: all 150ms linear;
-ms-transition: all 150ms linear;
transition: all 150ms linear;
}
&:hover .overlay-bg{
background-color: rgba(0,0,0,.68);
}
}
.item {
margin-bottom: 30px;
}
// Hero
.static-hero {
position: relative;
z-index: 50;
left: 0;
width: 100%;
padding-top: 220px;
padding-bottom: 50px;
background-color: #2e2e30;
overflow: hidden;
color: #fff;
text-align: center;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
.container {
position: relative;
z-index: 2;
}
.background {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
background: 50% 50% no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
opacity: 80;
filter: alpha(opacity=8000);
opacity: 0.8;
filter: alpha(opacity=80);
}
h1 {
font-size: 66px;
color: rgb(255, 255, 255);
font-weight: bold;
}
.row.heading {
margin-top: 140px;
margin-bottom: 160px;
}
.content {
h3 {
font-size: 18px;
font-weight: 700;
}
h4 {
font-size: 14px;
}
hr {
margin-top: 14px;
margin-bottom: 12px;
border-top: 3px solid #fff;
}
}
}
footer {
background-color: #3b3c40;
.logo-footer {
margin-top: 40%;
}
.subscribe-block {
margin-top: 20px;
.subscribe-title {
color: #f7f7f7;
text-transform: uppercase;
}
.subscribe-subtitle {
color: #666666;
margin-top: 20px;
display: block;
}
button {
background-color: #40c8f3;
height: 34px;
}
input {
height: 34px;
}
div.input-group {
margin-top: 40px;
}
}
span.ion-ios-email-outline {
font-size: 20px;
line-height: 0px;
color: #fff;
}
.menu-corporate-container {
text-transform: lowercase;
font-size: 20px;
margin-top: 15%;
ul {
list-style: none;
li {
padding-top: 10px;
}
}
}
.menu-connect-with-us-container {
ul {
margin-top: 15px;
margin-bottom: 60px;
display: inline-block;
list-style: none;
li {
font-size: 20px;
float: left;
margin-right: 35px;
}
}
}
}
/* Contact us */
.acf-map {
width: 100%;
height: 400px;
border: #ccc solid 1px;
margin: 20px 0;
}
/* fixes potential theme css conflict */
.acf-map img {
max-width: inherit !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment