Last active
August 29, 2015 14:19
-
-
Save kylewest/aba643fca261c47dfb91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 960px) { | |
.left, | |
.right { | |
float: none !important; | |
} | |
#masterwrapper | |
/*Wraps the wrapper with 16px to each side*/ { | |
margin: 0 auto; | |
width: 100%; | |
} | |
#wrapper | |
/*Wraps all content on page*/ { | |
margin: 0 auto; | |
width: 100%; | |
} | |
#header { | |
padding: 0 10px; | |
width: 100%; | |
} | |
#fixednav #main { | |
background: #FFF !important; | |
padding: 0; | |
} | |
#footer { | |
padding: 0 10px; | |
} | |
#alpha { | |
display: none; | |
} | |
#beta { | |
float: none; | |
padding: 10px 0 !important; | |
width: 100%; | |
} | |
#gamma { | |
padding: 0; | |
width: 100%; | |
} | |
/*------------------------------------------------------------------- | |
#beta Columns - Correct usage of columns will always sum to 9 | |
===================================================================*/ | |
#beta .c1, | |
#beta .c2, | |
#beta .c3, | |
#beta .c4, | |
#beta .c5, | |
#beta .c6, | |
#beta .c7, | |
#beta .c8, | |
#beta .mid { | |
width: 100%; | |
} | |
/*------------------------------------------------------------------- | |
#gamma Columns - Correct usage of columns will always sum to 10 | |
===================================================================*/ | |
#gamma .c1, | |
#gamma .c2, | |
#gamma .c3, | |
#gamma .c4, | |
#gamma .c5, | |
#gamma .c6, | |
#gamma .c7, | |
#gamma .c8, | |
#gamma .c9 { | |
width: 100%; | |
} | |
/* Force table to not be like tables anymore */ | |
#allbrands table, | |
#allbrands thead, | |
#allbrands tbody, | |
#allbrands th, | |
#allbrands td, | |
#allbrands tr, | |
#homepagefeatures table, | |
#homepagefeatures thead, | |
#homepagefeatures tbody, | |
#homepagefeatures th, | |
#homepagefeatures td, | |
#homepagefeatures tr { | |
display: block; | |
} | |
/* Hide table headers (but not display: none;, for accessibility) */ | |
#allbrands thead tr, | |
#homepagefeatures thead tr { | |
left: -9999px; | |
position: absolute; | |
top: -9999px; | |
} | |
#allbrands td, | |
#homepagefeatures td { | |
/* Behave like a "row" */ | |
border: none !important; | |
padding: 10px 0 !important; | |
position: relative; | |
width: 100% !important; | |
} | |
#allbrands td:before, | |
#homepagefeatures td:before { | |
left: 6px; | |
padding-right: 10px; | |
/* Now like a table header */ | |
position: absolute; | |
/* Top/left values mimic padding */ | |
top: 6px; | |
white-space: nowrap; | |
width: 35%; | |
} | |
#ctl00_MainContentPlaceHolder_NarrowByCategoryPanel, | |
#ctl00_MainContentPlaceHolder_NarrowByBrandPanel { | |
display: none; | |
} | |
#nav #home, | |
#nav #accountinfo, | |
#nav #contact, | |
#nav #logout { | |
display: none; | |
} | |
#headermenu { | |
width: 100% !important; | |
} | |
#headermenu .AspNet-Menu-Horizontal { | |
position: relative !important; | |
} | |
#headermenu ul ul { | |
background: #000 !important; | |
} | |
#headermenu .AspNet-Menu-Horizontal ul.AspNet-Menu { | |
width: 100%; | |
} | |
#headermenu .AspNet-Menu-Horizontal ul.AspNet-Menu li { | |
width: 43% !important; | |
} | |
#headermenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul { | |
width: 100% !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment