Skip to content

Instantly share code, notes, and snippets.

@gazdagergo
Created January 6, 2015 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gazdagergo/60d4f503fa95da1ce032 to your computer and use it in GitHub Desktop.
Save gazdagergo/60d4f503fa95da1ce032 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
/*
Basic styles for FoundationPress demo site
*/
// Reset margin and padding on figure element
figure {
margin: 0;
padding: 0;
}
// Add some basic styling for figcaption element
figcaption {
margin-bottom: rem-calc(20);
margin-top: rem-calc(10);
color: #6f6f6f;
}
// Add the alignment classes used by the WordPress media library
.alignleft {
float: left;
}
.alignright {
float: right;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
blockquote.alignleft,
img.alignleft {
margin: rem-calc(7) rem-calc(24) rem-calc(7) 0;
}
.wp-caption.alignleft {
margin: rem-calc(7) rem-calc(14) rem-calc(7) 0;
}
blockquote.alignright,
img.alignright {
margin: rem-calc(7) 0 rem-calc(7) rem-calc(24);
}
// Add some whitespace between top bar and content
.top-bar-container, .tab-bar {
margin-bottom: rem-calc(32);
}
// Fix the issue where the WP adminbar overlaps the mobile menu
#wpadminbar {
position: fixed !important;
}
// A more subtle background color for the active menu item
.top-bar-section li.active:not(.has-form) a:not(.button) {
background: #272727;
}
.top-bar-section li.active:not(.has-form) a:hover:not(.button) {
background: #202020;
}
// Add some whitespace above the footer for medium-up screens
@media #{$medium-up} {
footer.row {
margin-top: rem-calc(60);
}
}
// Hero
#homepage-hero {
background: url("http://foundation.zurb.com/assets/img/marquee-stars.svg") repeat scroll 0 0 #074E68;
padding: rem-calc(20) 0;
margin: - rem-calc(32) 0 rem-calc(32);
position: relative;
text-align: left;
height: auto;
h1 a, h4 { color: #fff; }
.floatingyeti img {
max-width: 30%;
position: absolute;
right: rem-calc(100);
}
.download { margin-top: rem-calc(20); }
}
Undefined variable: "$medium-up".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment