Skip to content

Instantly share code, notes, and snippets.

@JonCrawford
Created August 2, 2008 04:56
Show Gist options
  • Save JonCrawford/3718 to your computer and use it in GitHub Desktop.
Save JonCrawford/3718 to your computer and use it in GitHub Desktop.
/* =General
----------------------------------------------*/
body {
margin: 0 auto;
font-size: 13px;
line-height:1.5;
background-position:center top;
}
#wrapper {
margin: 0 auto;
width: 980px;
}
.bold {
font-weight: bold;
}
div.clearfix {
clear: both;
}
/* =User Bar
----------------------------------------------*/
#user_content {
position: relative;
margin: 0 auto;
width: 980px;
}
ul.login {
position: absolute;
top: 0;
right: 50px;
text-align:center;
width: 167px;
padding: 5px 0 5px 20px;
}
ul.login li {
margin-right: 20px;
}
/* =Header
----------------------------------------------*/
#header {
color:#666;
}
#header h1 {
text-align:center;
}
#header h1.no_banner {
padding-top:50px;
font-size:50px;
padding-bottom:15px;
}
#header a:link, #header a:visited {
color:#eee;
border-bottom: none;
}
#header a:hover {
color: #CCC;
border-bottom: none;
}
/* =Navigation
----------------------------------------------*/
#navigation {
float: left;
margin: 10px 10px 0 10px;
padding: 0 20px;
display: inline;
background: #333333 url(/images/gradient_nav_25.png) repeat-x;
}
* html #navigation { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_nav_25.png", sizingMethod="scale");
}
#navigation li {
float: left;
display:inline;
width:40px;
}
#navigation li a {
display: block;
padding: 7px 20px;
color:#16353A;
line-height:18px;
font-weight:bold;
height:18px;
}
#navigation li a:hover, #navigation li a.hilite {
background-image: url(/images/gradient_tab_25.png);
background-repeat: repeat-x;
}
* html #navigation li a:hover, * html #navigation a.hilite { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_tab_25.png", sizingMethod="scale");
}
#navigation li span.collection_count {
font-size:11px;
vertical-align:1px;
font-weight:normal;
}
/* =News Ticker - LEFT OUT OF VERSION
----------------------------------------------*/
.news_ticker {
float: left;
width: 100%;
height: 35px;
background: #666 url(/images/gradient_newsflash_25.png) repeat-x;
display: inline;
}
* html .news_ticker { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_newsflash_25.png", sizingMethod="scale");
}
.news_flash {
font-size: 16px;
color: #FFF;
}
.news_ticker p {
padding: 8px 0 0 29px;
}
/* =Content
----------------------------------------------*/
#content_wrapper {
float: left;
width: 960px;
padding: 10px;
margin-bottom: 50px;
display: inline;
background: #f1f1f1 url(../images/gradient_newsflash_25.png) repeat-x;
}
* html #content_wrapper { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_newsflash_25.png", sizingMethod="scale");
}
#content {
position: relative;
float: left;
width: 960px;
background-image: url(/images/gradient_content_25.png);
background-repeat: repeat-x;
/*padding: 14px 4px 20px 16px;*/
display: inline;
}
* html #content { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_content_25.png", sizingMethod="scale");
}
/* =Storefront Heading
----------------------------------------------*/
#content h2#title {
margin: 0;
font-size: 36px;
font-weight: normal;
line-height: 36px;
margin: 10px 0 10px 5px;
letter-spacing:-1px;
}
/* =Tags
----------------------------------------------*/
ul#tags {
float: left;
width: 100%;
margin: 0 0 5px 6px;
color: #333;
}
ul#tags li {
display: inline;
margin-right: 5px;
}
/* =Info Bar
----------------------------------------------*/
.info {
float: left;
display:inline;
width: 218px;
color: #666666;
margin: 14px 0 0 16px;
}
#info_top {
width: 218px;
height: 4px;
background: transparent url(/images/info_box_top.png) no-repeat;
}
* html #info_top { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/info_box_top.png", sizingMethod="image");
}
#info_wrapper {
width: 210px;
padding: 15px 4px;
background: transparent url(/images/bg_info_box.png);
}
* html #info_wrapper { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/bg_info_box.png", sizingMethod="crop");
}
#info_bottom {
width: 218px;
height: 4px;
margin-bottom: 40px;
background: transparent url(/images/info_box_bottom.png) no-repeat;
}
* html #info_bottom { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/info_box_bottom.png", sizingMethod="image");
}
/* =Store Location
----------------------------------------------*/
#store_location {
font-size: 16px;
font-weight: bold;
letter-spacing: -.3px;
width: 180px;
padding: 0 15px 10px 15px;
border-bottom: 1px solid #CCC;
color: #555555;
}
/* =Follow Button
----------------------------------------------*/
#follow {
display: block;
height: 37px;
border-bottom: 1px solid #CCC;
}
a#follow_store {
background:transparent url(/images/btn_follow_store.png) no-repeat;
width:182px;
height:28px;
display:block;
margin: 0 0 10px 11px;
text-indent:-99999px;
}
.info img {
margin: 10px 0 0 -2px;
}
/* =Other Links - (Places)
----------------------------------------------*/
ul.places {
padding: 15px 5px;
border-bottom: 1px solid #999;
line-height:22px;
overflow:hidden;
}
ul.places li {
float:left;
font-size: 11px;
margin: 2px 2px;
display: inline;
}
ul.places a {
height: 12px;
padding: 3px 5px;
text-align: center;
text-shadow:#ddd 0px 1px 1px;
border: 1px solid #999;
background: transparent url(../images/bg_places.png) repeat-x;
}
ul.places a:link, ul.places a:visited {
color: #464646;
}
ul.places a:hover {
color: #999;
}
/* =About Us
----------------------------------------------*/
.info h6 {
font-size: 14px;
padding: 3px 5px 3px 15px;
border-top: 1px solid #FFF;
border-bottom: 1px solid #CCC;
background-color: #e1e1e1;
}
p.about {
font-size: 11px;
padding: 15px;
border-bottom: 1px solid #999;
}
/* =Updates
----------------------------------------------*/
ul.updates {
padding: 15px;
border-bottom: 1px solid #999;
}
ul.updates li {
padding-left: 25px;
padding-bottom: 6px;
padding-top: 3px;
margin-bottom: 6px;
font-weight: bold;
line-height: 1;
background: transparent url(/images/icon_note.png) no-repeat left top;
}
ul.updates li.last_update {
margin-bottom: 0;
}
ul.updates li a:link, ul.updates li a:visited {
color: #333;
}
ul.updates li a:hover {
color: #666;
}
/* =Help Buttons
----------------------------------------------*/
#info_buttons {
border-top: 1px solid #FFF;
}
a.contact_us, a.sizing_chart, a.returns, a.faqs {
display: block;
width: 182px;
height: 28px;
margin: 0 0 5px 11px;
text-indent: -999px;
}
a.contact_us {
margin-top: 15px;
background: transparent url(/images/btn_support.png) no-repeat;
}
a.sizing_chart {
background: transparent url(/images/btn_sizing_chart.png) no-repeat;
}
a.returns {
background: transparent url(/images/btn_returns.png) no-repeat;
}
a.faqs {
background: transparent url(/images/btn_faqs.png) no-repeat;
}
/* =Main Content
----------------------------------------------*/
#main_content {
float: left;
width: 711px;
margin-left: 11px;
display: inline;
margin-top: 14px;
margin-bottom: 40px;
}
/* =Collections Page
---------------------------------------------------------------------------------------------------*/
/* =Collections Product Holder
----------------------------------------------*/
li.product {
position: relative;
float: left;
width: 225px;
height: 225px;
margin: 0 12px 12px 0;
background: transparent url(/images/bg_product_image.png) no-repeat;
display: inline;
}
* html li.product { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/bg_product_image.png", sizingMethod="scale");
}
/* =Collections Product Images
----------------------------------------------*/
li.product a {
margin: 9px 0 0 9px;
width: 207px;
display:block;
height: 207px;
overflow:hidden;
}
/* =Collections Product Titles
----------------------------------------------*/
li.product .item_info {
position:absolute;
bottom:8px;
z-index:10;
width: 207px;
height: 35px;
line-height: 100%;
font-size: 12px;
font-weight: normal;
letter-spacing: normal;
background: #FFF url(/images/gradient_product_title_25.png) repeat-x;
}
* html div.item_info { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_product_title_25.png", sizingMethod="scale");
}
div.item_info {
color: #464646;
}
p.item_name {
height:25px;
margin: 0 0 0 0;
padding: 5px;
text-align: center;
font-size: 12px;
font-weight: bold;
}
p.item_name {
display:block;
height:25px;
padding-top:5px;
overflow:hidden;
}
/* =Collections Product Price Tag
----------------------------------------------*/
div.price {
position: absolute;
top: 0;
right: 15px;
}
div.left_side {
float: left;
width: 4px;
height: 33px;
background: url(/images/price_corner.png) no-repeat;
}
* html div.left_side { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/price_corner.png", sizingMethod="scale");
}
p.item_price {
float: left;
font: 14px Georgia;
font-weight: normal;
padding: 8px 8px;
background-image:url(/images/gradient_price_25.png);
background-repeat: repeat-x;
}
* html p.item_price { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/gradient_price_25.png", sizingMethod="scale");
}
/* =Product Add Notice
----------------------------------------------*/
#add_notice {
height: 30px;
margin: 0;
background-color: #FFF;
color:#666;
}
#add_notice #adding_to_cart {
text-align:center;
line-height:30px;
}
#add_notice a {
color:#999;
}
a#add_notice_checkout {
float: right;
width: 84px;
height: 30px;
text-indent: -9999px;
background: transparent url(/images/btn_checkout.png) no-repeat;
}
#add_notice p#item_added {
float: left;
width: 144px;
height: 22px;
font: 11px 'Lucida Grande', 'Lucida Sans', 'Lucida Sans Unicode', sans-serif;
color: #999;
padding: 8px 3px 0 6px;
text-align: center;
}
#items_in_cart {
float: right;
height: 23px;
border-left:1px solid #CCCCCC;
color: #999;
font-size:13px;
line-height:17px;
font-family: 'Lucida Grande', 'Lucida Sans', 'Lucida Sans Unicode', sans-serif;
padding: 7px 10px 0 8px;
}
#items_in_cart img{
display:block;
float:left;
margin-right:5px;
}
#over_quantity {
margin: 0;
color:#eee;
padding:4px 4px 4px 45px;;
background: #ed4c4c url(/images/icon_fail.png) no-repeat 5px 50%;
}
/* =Product Page
---------------------------------------------------------------------------------------------------*/
/* =Product Add Notice
----------------------------------------------*/
#add_notice {
height: 30px;
margin: 0;
background-color: #FFF;
color:#666;
}
#add_notice #adding_to_cart {
text-align:center;
line-height:30px;
}
#add_notice a {
color:#999;
}
a#add_notice_checkout {
float: right;
width: 84px;
height: 30px;
text-indent: -9999px;
background: transparent url(/images/btn_checkout.png) no-repeat;
}
#add_notice p#item_added {
float: left;
width: 144px;
height: 22px;
font: 11px 'Lucida Grande', 'Lucida Sans', 'Lucida Sans Unicode', sans-serif;
color: #999;
padding: 8px 3px 0 6px;
text-align: center;
}
#items_in_cart {
float: right;
height: 23px;
border-left:1px solid #CCCCCC;
color: #999;
font-size:13px;
line-height:17px;
font-family: 'Lucida Grande', 'Lucida Sans', 'Lucida Sans Unicode', sans-serif;
padding: 7px 10px 0 8px;
}
#items_in_cart img{
display:block;
float:left;
margin-right:5px;
}
#over_quantity {
margin: 0;
color:#eee;
padding:4px 4px 4px 45px;;
background: #ed4c4c url(/images/icon_fail.png) no-repeat 5px 50%;
}
/* =Product Image Large
----------------------------------------------*/
div.product {
width: 359px;
float:left;
display:inline;
}
#product_top {
width: 359px;
height: 4px;
background: transparent url(/images/bg_large_product_top.png) no-repeat;
}
* html #product_top { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/bg_large_product_top.png", sizingMethod="image");
}
#product_wrapper {
width: 341px;
background: transparent url(/images/bg_large_product.png);
padding:5px 9px;
text-align:center;
}
* html #product_wrapper { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/bg_large_product.png", sizingMethod="crop");
}
#product_wrapper img {
margin: 0 auto;
display:block;
}
#product_bottom {
width: 359px;
height: 4px;
background: transparent url(/images/bg_large_product_bottom.png) no-repeat;
}
* html #product_bottom { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/bg_large_product_bottom.png", sizingMethod="image");
}
/* =Product Image Thumbs
----------------------------------------------*/
a.product_thumb {
display:block;
background-color:#fff;
width:81px;
height:81px;
padding:2px;
float:left;
margin-right:4px;
}
a#first_thumb.product_thumb {
margin-left: 3px;
}
a.product_thumb img {
display:block;
}
/* =Product Info
----------------------------------------------*/
div.product_info {
float: left;
width: 319px;
margin: 4px 0 0 16px;
display: inline;
}
/* =Product Price Total
----------------------------------------------*/
div.total {
height: 65px;
background: transparent url(/images/total_box.png) no-repeat;
font-family:Georgia;
color:#FFF;
margin-bottom:10px;
}
* html div.total { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/box_total.png", sizingMethod="scale");
}
div.total p.price {
font: 36px Georgia;
padding-top: 7px;
font-weight: bold;
text-align: center;
color: #b2ecfd;
text-shadow: #2ec1eb 0px 0px 4px;
}
/* =Product Stock Charts
----------------------------------------------*/
div.stock_container {
width: 317px;
height: 30px;
margin-top: 10px;
border: 1px solid #666;
background: transparent url(../images/bg_input.png) no-repeat;
}
* html div.stock_container { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/clear.png", sizingMethod="scale");
}
div.stock_bar {
float: left;
height: 30px;
background: #CCC url(/images/stock_bar_slice.png) repeat-x;
}
div#stock_bar_empty {
background: transparent;
}
div#stock_bar_empty p {
color: #333;
}
p.variant {
float: left;
margin-top:7px;
margin-left:5px;
color:#333;
line-height:14px;
padding:1px 3px 2px 3px;
position:absolute;
font-size: 14px;
font-weight: bold;
letter-spacing: -1px;
display: inline;
white-space: nowrap;
text-shadow:#ddd 0px 1px 1px;
}
div.add, div.sold_out {
float: right;
width: 46px;
height: 30px;
border-left: 1px solid #666;
}
/* =Product Description
----------------------------------------------*/
div.description {
margin-top: 20px;
}
.description h6 {
font-size: 16px;
}
p.product_description {
line-height: 120%;
}
/* =FAQs Page
----------------------------------------------*/
#index.faqs #content h2#title, #index.support_requests #content h2#title {
padding: 0 36px 0 20px;
}
#index.faqs label, #index.support_requests label {
display:block;
}
#index.faqs textarea#provide_info, #index.support_requests textarea#provide_info {
width: 400px;
height: 120px;
}
#main_content h4.question {
padding: 5px 36px 5px 25px;
font-size: 18px;
text-decoration: underline;
}
#main_content .answer {
padding: 5px 36px 5px 25px;
}
ol.answer {
list-style-type: decimal;
list-style: decimal inside;
}
/* =Support Page
----------------------------------------------*/
#contact_wrapper {
margin-left: 25px;
}
#contact_wrapper p {
padding: 5px 0;
}
#support_form select {
margin: 5px 0;
}
/* =Footer
----------------------------------------------*/
#footer {
position: relative;
float:left;
margin: 10px 0 0 0;
width: 960px;
background-repeat: repeat-x;
display: inline;
}
#footer a {
font-weight: bold;
}
#footer a#storenvy_powered {
float: right;
width: 189px;
height: 47px;
display: block;
margin: 5px 20px 0 0;
text-indent: -9999px;
overflow: hidden;
background: transparent url(/images/powered_by_beta_small.png) no-repeat;
}
* html a#storenvy_powered { /* PNG Hack for IE */
background-image: none;
filter: progid:DXImagetransform.Microsoft.AlphaImageLoader(src="/images/powered_by_beta_small.png", sizingMethod="scale");
}
div#footer_info {
float: left;
width: 751px;
display: inline;
}
ul.footer_links {
float: left;
width: 100%;
margin: 5px 0 0 20px;
font-size: 14px;
font-weight: normal;
letter-spacing: -1px;
display: inline;
}
ul.footer_links li {
display: inline;
margin-right: 20px;
}
p.copyright {
float: left;
width: 100%;
margin: 0 0 0 20px;
font-size: 11px;
display: inline;
}
/* Jon Added
*****************************************************/
a.close_link:link, a.close_link:visited {
color:#555;
margin:22px 0 0 10px;
float:left;
display: inline;
}
.georgia {
font-family:Georgia;
font-style:italic;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment