Skip to content

Instantly share code, notes, and snippets.

@pstonier
Created April 27, 2017 11:12
Show Gist options
  • Save pstonier/305c573eda0cf39dfc9b8bd05e5a2607 to your computer and use it in GitHub Desktop.
Save pstonier/305c573eda0cf39dfc9b8bd05e5a2607 to your computer and use it in GitHub Desktop.
/*
Adds the weight of 700 for PT Sans
*/
@import url('https://fonts.googleapis.com/css?family=PT+Sans:700');
/*
Moves the search icon below the rest of the menu
*/
li.fusion-custom-menu-item.fusion-main-menu-search.fusion-last-menu-item {
clear: both;
float: right;
padding: 0;
margin-right: 15px;
}
/*
Adjusts the positioning of the search icon
*/
li.fusion-custom-menu-item.fusion-main-menu-search.fusion-last-menu-item a {
line-height: 16px !important;
height: 26px !important;
}
/*
Moves the search icon back in-line with the menu when it's in sticky mode
*/
.fusion-is-sticky li.fusion-custom-menu-item.fusion-main-menu-search.fusion-last-menu-item {
clear: none;
float: left;
}
.fusion-is-sticky li.fusion-custom-menu-item.fusion-main-menu-search.fusion-last-menu-item a {
line-height: 60px !important;
}
/*
Bleeds images to the edge on mobile
*/
@media screen and (max-width: 500px) {
.fusion-logo {
display: block;
float: left;
max-width: 80%;
zoom: 1;
}
.fusion-imageframe {
max-width: 126%;
margin: 0 -12%;
}
}
/*
Styles the phone number in the header area
*/
.phone-header-button {
max-width: 700px;
margin: 0 auto;
display: table;
text-align: center;
}
.phone-header-button .phone-icon {
float: left;
width: 46px;
height: 68px;
display: table-cell;
padding: 9px 0;
}
.phone-header-button .phone-icon svg {
height: 100%;
width: 100%;
}
.phone-header-button a:hover {
color: rgb(51, 51, 51);
}
.phone-header-button .phone-number-text {
display: table-cell;
font-size: 2.3em;
vertical-align: middle;
font-family: 'PT Sans', sans-serif;
font-weight: 700;
height: 68px;
}
/*
Styles the look of quotes
*/
#wrapper .post-content blockquote {
background: none;
border: none;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
color: #000;
font-family: 'PT Sans', sans-serif;
font-style: italic;
font-size: 1.5em;
text-indent: -.1em;
}
/*
Removes spacing between checklists
*/
#wrapper li.fusion-li-item {
margin: 0;
padding: 0;
}
li.fusion-li-item h3 {
margin: 0;
}
/*
Hides the breadcrumbs on non-mobile pages
*/
@media screen and (min-width: 480px) {
#breadcrumbs {
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px);
/* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}
}
/*
Breadcrumb positioning on mobile
*/
@media screen and (max-width: 480px) {
#main {
padding-top: 0;
}
#breadcrumbs {
margin-top: 0;
padding-top: 1em;
}
}
/*
Increases the size of the hamburger icon
*/
.fusion-icon-bars:before {
font-size: 1.5em;
}
/*
Makes the title bar for forms expand to the edge of the container
*/
#wrapper .post-content .form-title {
margin: -30px -25px 1em -25px !important;
}
/*
Styles for the form titles
*/
#wrapper .post-content .form-title h2 {
color: white;
background-color: #999999;
margin: 0 !important;
padding: 1em !important;
}
/*
We're not currently using this. I used this as a way to add the emergency phone number styles as text inside a div with a class of emergency
*/
.emergency {
color: rgb(147, 36, 48);
padding-top: 12px;
}
.emergency p {
margin: 0;
font-family: 'PT Sans', sans-serif;
font-size: 1.7em;
line-height: 1.2em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment