Skip to content

Instantly share code, notes, and snippets.

@michaelschofield
Created October 31, 2015 17:19
Show Gist options
  • Save michaelschofield/2755b24a32a457d3b220 to your computer and use it in GitHub Desktop.
Save michaelschofield/2755b24a32a457d3b220 to your computer and use it in GitHub Desktop.
/*------------------------------------*\
#MENU
\*------------------------------------*/
/**
* Mobile fixes
*/
.nav-menu.toggled-on {
background-color: #59b0cc;
padding: 5em 0 1em;
width: 100%;
}
.toggled-on > .menu-item {
border-bottom: 2px solid white;
text-align: left;
}
.toggled-on .sub-menu {
width: 100%;
padding: 1em;
background-color: #249ABF;
}
.toggled-on .sub-menu .menu-item a {
display: block;
}
/*------------------------------------*\
#Calls-to-Action
\*------------------------------------*/
/**
* Mobile fixes
*/
.home #text-7::after,
.home article::after {
clear: both;
content: "";
display: table;
}
/*------------------------------------*\
#Posts
\*------------------------------------*/
/**
* Mobile fixes
*/
.home article.post {
background-color: white;
border: 1px solid #ddd;
margin-bottom: .25em;
padding: 1em;
overflow: hidden;
}
.home article.post .entry-header img {
margin: 0;
}
.home article.post .entry-title {
background-color: white;
position: absolute;
bottom: 0;
width: 100%;
padding: .5em;
}
body.home article h1 a {
position: static !important;
padding: 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment