Skip to content

Instantly share code, notes, and snippets.

@ckschmieder
Created February 16, 2017 20:33
Show Gist options
  • Save ckschmieder/f5558fcb2f1f754e1c5decafd3d078a9 to your computer and use it in GitHub Desktop.
Save ckschmieder/f5558fcb2f1f754e1c5decafd3d078a9 to your computer and use it in GitHub Desktop.
Backup of styles from the IH custom css plugin.
ul#menu-main-navigation > li > a {
pointer-events: none;
}
h4 {
margin-bottom: 1em;
}
.wrapper {
max-width: 1100px;
margin: 0 auto;
}
.container {
width: 100%;
box-sizing: border-box;
}
.content-container {
box-sizing: border-box;
}
#main-content img {
height: auto;
}
.container-fluid {
max-width: 1100px;
}
#home-slider {
display: none!important;
}
.slider-area {
width: 94%;
margin: 0 auto;
}
#footer-top {
display: flex;
}
.wp-caption.alignright {
float: right;
margin-left: 5px;
margin-right: 0;
padding: .7em 0 0 .4em;
}
.wp-caption.alignleft {
float: left;
margin-left: 0;
margin-right: 5px;
padding: .7em .4em 0 0;
}
.wp-caption.aligncenter {
margin-left: auto;
margin-right: auto;
}
.wp-caption {
max-width: 100%;
}
.wp-caption img {
max-width: 100%;
height: auto;
}
.logo {
width: 30%;
max-height: 4em;
}
@media screen and (min-width: 568px) {
.logo a {
background-size: contain;
}
}
@media (max-width: 567px) and (min-width: 320px) {
.header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 12px 0px!important;
}
.logo {width: 63px!important;}
.logo a {
width: 100%;
height: 100%;
}
.wrapper {
padding-right: 0;
padding-left: 0;
}
.sidebar-container a {
font-weight: 400;
}
#main-content p {
font-weight: 400;
}
.sidebar-inner .sidebar-testimonial p {
font-weight: 400;
}
.hero-area p {
font-size: 1.15em!important;
font-family: "Helvetica", Helvetica, Arial, sans-serif!important;
}
.hero-area p em {
font-style: normal;
}
}
#main-navigation nav.menu-main-navigation-container ul#menu-main-navigation {
float: left;
margin-left: 0;
}
@media screen and (max-width: 1024px) {
.widget-1.widget-odd.sidebar-inner {
padding-top: 0!important;
}
}
.sidebar-inner .sidebar-testimonial {
width: auto;
}
.created {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
color: #b9b9b9;
font-family: "Bree Serif", serif;
font-size: 14px;
}
.created a {
-webkit-box-flex: 0;
-ms-flex: 0 1 125px;
flex: 0 1 125px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.created a img {
width: 100%;
}
.created span {
margin-right: 1em;
}
span.copyright {
margin-left: 50px;
}
/* Social Navbar Stuff */
#main-navigation {
display: flex;
border-bottom: 1px solid #a7a9ab;
align-items: center;
justify-content: space-between;
margin-top: 1em;
padding-top: 1.5em;
}
#main-navigation nav.menu-main-navigation-container {
border-bottom: none;
margin-top: 0;
}
.social-mob {
display: flex;
justify-content: flex-end;
height: 30px;
width: 100px;
}
.social-mob a {
flex: 0 0 30px;
/* display: flex; */
margin-left: 5px;
}
.social-mob a img {
width: 100%;
height: auto;
}
.social-mob span {
display: none;
}
.content-slide-wrap .slider {max-height: none!important;}
.hero-area {
background-color: #159033;
}
/* Add line between hero section and Lastest News */
/*.hero-section::after {
content: "";
display: block;
border-bottom: 1px solid #7e7e7e;
position: relative;
padding-top: 20px;
}*/
/* Mission statement */
.hero-area p {
font-size: 1.3em;
font-family: "bree serif", serif;
padding: .65em 3% 1.3em;
color: white;
font-weight: 400;
/* font-style: italic; */
line-height: 1.35;
}
#main-content {box-sizing: border-box; padding: 0!important;}
@media screen and (min-width: 768px) {
#main-content {width: 68%; }
.hero-area {
/*width: calc(100% + 32px);*/
}
}
.sidebar-container::after {
content: "";
display: block;
clear: both;
float: none;
}
.sidebar-container {
box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
.connect-middle {
text-align: center;
}
.hero-section {
width: 100vw!important;
margin-left: -3.125%;
}
#main-content {
width: 100%; box-sizing: border-box;
}
.sidebar-container {
width: 100%!important;
border-right: none!important;
min-height: inherit;
clear: both;
border-top: 1px solid #a7a9ab;
padding-top: 1.8em;
}
}
.button:hover {
color: white;
}
.sidebar-inner {
padding: 1.8em 1.5em;
width: 100%!important;
}
.sidebar-inner ul {
padding-left: 1em;
font-family: "Helvetica", Helvetica, Arial, sans-serif;
font-size: 1em;
font-weight: 100;
color: #2b2b2b;
line-height: 2.16667em;
}
.sidebar-inner ul li:before {
margin-right: 0;
margin-left: -.9em;
padding-right: 5px;
}
@media screen and (min-width: 768px) {
img.wp-post-image {
width: 100%;
height: 100%;
border-top: none;
}
#main-content {
padding-top: 0;
}
}
.header {
/*margin-bottom: 0.66666667em!important;*/
margin-bottom: 0!important;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}
#search {
margin-top: .3em;
margin-bottom: 1em;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
ul#menu-main-navigation li:first-of-type {
margin-left: 0!important;
}
a[href^="tel:"]:before {
content: "\260E";
display: inline;
margin-right: 0.5em;
}
/* Custom bullets */
#main-content ul {
list-style: none;
}
#main-content ul li {
line-height: 1.8;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
padding-left: 0;
margin-bottom: 1.2em;
}
.home #main-content ul li {
padding-left: 0;
}
#main-content p ul li:before {
content: '';
height: 9px;
width: 9px;
background: #159033;
display: block;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin: 0!important;
position: absolute;
left: 0;
top: .32em;
}
.home #main-content ul li:before {
display: none;
}
/* Sidebar */
.sidebar-container * {
box-sizing: border-box;
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
.testimonial-name {
float: none;
display: block;
margin-bottom: .3em;
}
}
/* Events */
.result {
display: block;
}
@media screen and (min-width: 500px) {
.result {
display: flex;
}
.thumbnail {
flex: 0 1 210px;
margin-right: 3%;
}
.result-right {
flex: 1;
}
}
.event-section-title {
border-bottom: 1px solid;
padding-bottom: .4em;
}
/* Footer */
#footer-middle > div {
box-sizing: border-box;
}
/* Shiftnav inner pane */
.shiftnav-contact {
display: flex;
align-items: center;
padding: .6em 1em;
justify-content: space-around;
}
.shiftnav-phone a {
font-size: 1.4em;
}
.shiftnav-inner .social-mob {
display: flex;
justify-content: space-around;
align-items: center;
flex: 0 0 32%;
padding-top: 2px;
}
.shiftnav-inner .social-mob a {
flex: 0 0 40%;
margin-left: 0;
height: auto;
}
.shiftnav-inner .social-mob a img {
width: 100%;
height: auto;
}
/* Shiftnav main */
ul#menu-main-navigation-1 > li >a {
background-color: #159033!important;
color: white;
}
/* Leadership Page */
.team-member img {
width: auto;
max-width: 120px;
max-height: 175px;
}
.trustees-2 p {
margin: 0!important;
padding-bottom: 1em;
}
.col-third.officers.trustees-1 p {
margin: 0!important;
padding-bottom: 1em;
}
@media screen and (min-width: 640px) {
.trustees-2 {
width: 66.66%;
float: left;
column-count: 2;
padding: 0 1em;
box-sizing: border-box;
}
.col-third.officers.trustees-1 {
width: 33.33%;
float: left;
box-sizing: border-box;
padding: 0 1em;
}
}
.trustees p {
line-height: 1.5;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
.header {
width: 100%;
}
}
.social-mob.social-shiftnav {
height: auto;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
padding: 5px 25px;
font-size: 1.6em;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.social-mob.social-shiftnav a {
max-width: 36px!important;
margin-left: 10px;
}
/* Responsive Footer */
@media screen and (max-width: 767px) and (min-width: 320px) {
footer {
display: block;
max-width: 100%;
}
#bg-middle {
background-color: #159033;
color: white;
border: none;
width: 100%;
}
#footer-middle {
display: block;
width: 100%;
}
div#footer-middle > div {
width: 100%;
max-width: 100%;
display: block;
background-color: inherit!important;
}
.footer-title {
text-align: center;
font-size: 1.5em;
}
.inner-contact {
background-color: inherit;
border: none!important;
width: 50%!important;
}
.footer-third {
border-bottom: 1px solid white;
}
span.copyright {
display: block;
width: 100%;
text-align: center;
font-size: .9em;
margin: 10px 0 0 0!important;
padding: 0!important;
}
ul#menu-careers {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
ul#menu-careers li {
width: 33%;
padding: .2em 0;
}
.testimonial-name {
float: none;
}
}
.created {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: .8em 15px;
}
/* Hide old mobile footer */
#footer-mob {
display: none!important;
}
#hotlines a::before {
color: white!important;
}
.corp-logos::after {
clear: both;
display: block;
content: "";
}
.corp-logos {
margin-bottom: 1em;
border: 1px solid gray;
padding: .8em;
}
.corp-logos img {
margin-left: 1.4em;
}
/* Custom Bullets for UL's */
#main-content ul {
list-style: none;
}
#main-content ul li {
margin: 0;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
}
#main-content ul li:before {
content: '';
height: .5em;
width: .5em;
background: green;
display: inline;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin-right: .8em;
}
/* Remove after arrow from sidebar list items */
#menu-sidebar-menu li:after {
content: ""!important;
}
/* Remove italics from phone icon when number is italic */
a[href^="tel:"]:before {
font-style: normal!important;
}
/* Fix layout of News archive page */
#main-content ol.search-results li.result .thumbnail {
max-width: inherit;
}
#main-content ol.search-results li.result .thumbnail img {
max-width: 210px;
max-height: inherit;
}
#main-content ol.search-results li.result .post-info {
margin-bottom: 0;
}
#main-content ol.search-results li.result .thumbnail + .result-right {
margin-left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment