Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created December 24, 2012 21:43
Show Gist options
  • Save tomharrigan/4370775 to your computer and use it in GitHub Desktop.
Save tomharrigan/4370775 to your computer and use it in GitHub Desktop.
mods to css
/*
WOO CUSTOM STYLESHEET
---------------------
Instructions:
Add your custom styles in this file instead of style.css so it
is easier to update the theme. Simply copy an existing style
from style.css to this file, and modify it to your liking. */
/*
GLOBAL STYLES
----------------
Add styles beneath this line that you want to be applied across your entire site */
.homepage-banner {
position: relative;
max-width: 75.949em;
margin-left: auto;
margin-right: auto;
margin-bottom: 3.631em;
display: block;
}
html.boxed body {
margin-bottom: 0em;
margin-top: 0em;
box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
}
img {
vertical-align: bottom;
max-width: 200%;
height: auto;
}
#header {
padding-top: 1em;
padding-bottom: 0em
}
#header #navigation {
display: block !important;
margin-top: 2.382em;
}
html {
margin-top: 0px !important;
}
/*
DESKTOP STYLES
-----------------
Add styles inside the media query below that you only want to be applied to the desktop layout of your site */
@media only screen and (min-width: 768px) {
/* Desktop styles go here */
html.boxed body {
margin-left: 14em;
margin-right: 14em;
}
img {
max-width: 200%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment