Created
January 5, 2012 04:06
-
-
Save chriscoyier/1563656 to your computer and use it in GitHub Desktop.
css-tricks v9.2 css pre SCSS
This file contains 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
/* | |
Theme Name: CSS-Tricks (v9) | |
Theme URI: http://css-tricks.com | |
Description: 9th major iteration | |
Author: Chris Coyier | |
Author URI: http://chriscoyier.net | |
Version: 9 | |
*/ | |
/* | |
#f3a01e; | |
#D05D2A; | |
#9dc425; | |
#4b8db5; | |
#7c48b5; | |
*/ | |
/* | |
RESET & SETUP | |
*/ | |
html { | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/bglines.png); | |
} | |
body { | |
font: 16px/1.4 "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif; | |
color: #333; | |
overflow-x: hidden; | |
} | |
article, aside, figure, footer, header, hgroup, menu, nav, section { | |
display: block; | |
} | |
/* | |
TYPOGRAPHY | |
*/ | |
h1, h2, h3, h4 { | |
font-family: "kulturista-web-1","kulturista-web-2", Sans-Serif; | |
font-weight: 300; | |
line-height: 1; | |
margin: 0 0 25px 0; | |
} | |
h1 { | |
font-size: 50px; | |
font-weight: 800; | |
} | |
h2 { | |
font-size: 40px; | |
} | |
article h2 a:hover { | |
color: #f3a01e; | |
background: none; | |
} | |
.subtitle { | |
font-size: 16px; | |
margin: 0 0 4px 0; | |
font-weight: 600; | |
color: #999; | |
text-transform: uppercase; | |
letter-spacing: 2px; | |
} | |
h3 { | |
font-size: 32px; | |
margin-top: 50px; | |
background: -webkit-linear-gradient(left, #4b8db5, #4b8db5 8px, white 8px, white); | |
background: -moz-linear-gradient(left, #4b8db5, #4b8db5 8px, white 8px, white); | |
background: -ms-linear-gradient(left, #4b8db5, #4b8db5 8px, white 8px, white); | |
background: -o-linear-gradient(left, #4b8db5, #4b8db5 8px, white 8px, white); | |
padding-left: 58px; | |
margin-left: -58px; | |
} | |
h4 { | |
font-weight: 600; | |
font-size: 24px; | |
margin-bottom: 15px; | |
} | |
h5 { | |
font-family: Baskerville, Georgia, Serif; | |
font-style: italic; | |
font-size: 30px; | |
margin: 0 0 15px 0; | |
font-weight: 100; | |
} | |
h1 a, h2 a, h3 a, h4 a, h5 a { | |
border: 0 !important; | |
} | |
a { | |
text-decoration: none; | |
color: black; | |
} | |
ul { | |
list-style: none; | |
} | |
table { | |
border-collapse: collapse; | |
width: 100%; | |
} | |
p { | |
margin: 0 0 15px 0; | |
} | |
#juice article blockquote { | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-style: italic; | |
font-size: 21px; | |
padding: 50px 0; | |
text-align: center; | |
position: relative; | |
} | |
#juice article blockquote p { | |
margin: 0 0 20px 0; | |
} | |
blockquote p:first-child:before { | |
content: "\201C"; | |
} | |
blockquote p:last-child:after { | |
content: "\201D"; | |
} | |
#juice article blockquote:before, #juice article blockquote:after { | |
content: ""; | |
position: absolute; | |
left: 0; | |
right: 0; | |
height: 1px; | |
background: -webkit-linear-gradient(left, #eee, #eee 35%, #f3a01e 35%, #f3a01e 45%, #D05D2A 45%, #D05D2A 55%, #9dc425 55%, #9dc425 65%, #eee 65%, #eee); | |
background: -moz-linear-gradient(left, #eee, #eee 35%, #f3a01e 35%, #f3a01e 45%, #D05D2A 45%, #D05D2A 55%, #9dc425 55%, #9dc425 65%, #eee 65%, #eee); | |
background: -ms-linear-gradient(left, #eee, #eee 35%, #f3a01e 35%, #f3a01e 45%, #D05D2A 45%, #D05D2A 55%, #9dc425 55%, #9dc425 65%, #eee 65%, #eee); | |
background: -o-linear-gradient(left, #eee, #eee 35%, #f3a01e 35%, #f3a01e 45%, #D05D2A 45%, #D05D2A 55%, #9dc425 55%, #9dc425 65%, #eee 65%, #eee); | |
} | |
#juice article blockquote:before { | |
top: 25px; | |
} | |
#juice article blockquote:after { | |
bottom: 25px; | |
} | |
.link blockquote { | |
margin: 0; | |
padding: 0; | |
font-style: italic; | |
} | |
code { | |
background: #eee; | |
color: black; | |
font-family: Monaco, Courier, MonoSpace; | |
border-radius: 4px; | |
font-size: 12px; | |
padding: 0px 5px 1px 5px; | |
white-space: nowrap; | |
} | |
table code { | |
white-space: normal; | |
} | |
pre { | |
position: relative; | |
background: #333; | |
color: white; | |
font-family: Monaco, Courier, MonoSpace; | |
line-height: 1.8; | |
-moz-border-radius: 8px; | |
-webkit-border-radius: 8px; | |
border-radius: 8px; | |
font-size: 12px; | |
padding: 10px; | |
margin: 0 0 25px 0; | |
overflow: auto; | |
} | |
pre code { | |
padding: 0; | |
color: white; | |
background: #333; | |
} | |
pre[rel] { | |
padding-top: 40px; | |
} | |
pre[rel]:after { | |
content: attr(rel); | |
position: absolute; | |
top: 0; | |
background: #F3A01E; | |
padding: 5px; | |
left: 0; | |
right: 0; | |
font-size: 24px; | |
line-height: 0; | |
color: white; | |
font: bold 16px "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif; | |
-webkit-border-top-left-radius: 7px; | |
-webkit-border-top-right-radius: 7px; | |
-moz-border-radius-topleft: 7px; | |
-moz-border-radius-topright: 7px; | |
border-top-left-radius: 7px; | |
border-top-right-radius: 7px; | |
} | |
pre .str { color: #ff8400; } | |
pre .kwd { color: #e8ed97; } /* Some CSS Values */ | |
pre .com { color: #999; } /* CSS Selector, CSS Comments */ | |
pre .typ { color: #9a848c; } /* e.g. Math.whatever */ | |
pre .lit { color: #c9783e; } /* Some CSS Values */ | |
pre .pun { color: #eee; } /* Separators, e.g. =, : */ | |
pre .pln { color: #dfc484; } /* CSS Property */ | |
pre .tag { color: #dfc484; } /* HTML Tag */ | |
pre .atn { color: #dfc484; } /* HTML Attribute */ | |
pre .atv { color: #8e9c5c; } /* String (quotes) */ | |
pre .dec { color: #ccc; } /* Sometimes DOCTYPE */ | |
.button, .gsc-search-button input[type=submit], #wp_page_numbers a { | |
display: inline-block; | |
position: relative; | |
padding: 7px 15px; | |
-webkit-border-radius: 18px; | |
-moz-border-radius: 18px; | |
border-radius: 18px; | |
font: 15px/1.4 "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif; | |
background-color: #b6d3f4; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#b6d3f4), to(#5483b8)) !important; | |
background-image: -webkit-linear-gradient(top, #b6d3f4, #5483b8) !important; | |
background-image: -moz-linear-gradient(top, #b6d3f4, #5483b8) !important; | |
background-image: -ms-linear-gradient(top, #b6d3f4, #5483b8) !important; | |
background-image: -o-linear-gradient(top, #b6d3f4, #5483b8) !important; | |
color: white !important; | |
box-shadow: inset 0 1px 1px white, | |
0 3px 3px rgba(0,0,0,0.6); | |
border: 1px solid #9ac9ff !important; | |
font-weight: 600; | |
text-shadow: 0 -1px 0 rgba(0,0,0,0.3); | |
} | |
.button:hover, .gsc-search-button input[type=submit]:hover, #wp_page_numbers a:hover { | |
box-shadow: inset 0 2px 6px white, | |
0 3px 3px rgba(0,0,0,0.6); | |
} | |
.button:active, .gsc-search-button input[type=submit]:active, #wp_page_numbers a:active { | |
box-shadow: inset 0 2px 6px white, | |
0 1px 1px rgba(0,0,0,0.6); | |
top: 2px; | |
} | |
.gsc-search-button input[type=submit] { | |
padding: 3px 15px; | |
} | |
.explanation { | |
background-color: #fefcaf; | |
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #fefcaf),color-stop(1, #fffeda)); | |
background-image: -webkit-linear-gradient(top, #fefcaf, #fffeda); | |
background-image: -moz-linear-gradient(top, #fefcaf, #fffeda); | |
background-image: -ms-linear-gradient(top, #fefcaf, #fffeda); | |
background-image: -o-linear-gradient(top, #fefcaf, #fffeda); | |
padding: 15px; | |
margin: 0 0 20px 0; | |
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.25); | |
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.25); | |
box-shadow: 1px 1px 3px rgba(0,0,0,0.25); | |
} | |
.explanation p:only-child, .explanation p:last-child { | |
margin: 0; | |
} | |
.author-byline { | |
font: italic 21px Baskerville, Georgia, Serif; | |
margin: 0 0 25px 0; | |
color: #f3a01e; | |
} | |
/* | |
HELPER CLASSES | |
*/ | |
.screen-reader-text { | |
position: absolute; | |
top: -9999px; | |
left: -9999px; | |
} | |
.group:before, | |
.group:after { | |
content:""; | |
display:table; | |
} | |
.group:after { | |
clear:both; | |
} | |
.group { | |
zoom:1; /* For IE 6/7 (trigger hasLayout) */ | |
} | |
.rainbow, .bsap_1235262 a:hover { | |
background-image: -webkit-linear-gradient(left, #f3a01e, #D05D2A, #9dc425, #4b8db5, #7c48b5); | |
background-image: -moz-linear-gradient(left, #f3a01e, #D05D2A, #9dc425, #4b8db5, #7c48b5); | |
background-image: -ms-linear-gradient(left, #f3a01e, #D05D2A, #9dc425, #4b8db5, #7c48b5); | |
background-image: -o-linear-gradient(left, #f3a01e, #D05D2A, #9dc425, #4b8db5, #7c48b5); | |
} | |
.last { | |
margin-right: 0 !important; | |
} | |
/* | |
HEADER | |
*/ | |
header { | |
background-color: #333; | |
background-color: rgba(0,0,0,0.65); | |
box-shadow: inset 0 -5px 8px -5px rgba(0,0,0,0.65); | |
} | |
header .inside { | |
width: 80%; | |
margin: 0 auto; | |
position: relative; | |
} | |
#logo { | |
display: block; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/CSS-Tricks-logo.png) no-repeat; | |
width: 590px; | |
height: 166px; | |
position: absolute; | |
top: 100px; | |
left: -166px; | |
z-index: 2; | |
-webkit-transition: all 0.2s ease; | |
-moz-transition: all 0.2s ease; | |
-ms-transition: all 0.2s ease; | |
-o-transition: all 0.2s ease; | |
} | |
#logo:active #slogan span { | |
text-shadow: 0 0 6px white; | |
} | |
#logo:active #slogan hr:nth-of-type(1) { background-color: #f3a01e; } | |
#logo:active #slogan hr:nth-of-type(2) { background-color: #D05D2A; } | |
#logo:active #slogan hr:nth-of-type(3) { background-color: #4b8db5; } | |
#logo:before { | |
content: ""; | |
position: absolute; | |
width: 1000px; | |
right: 100%; | |
top: 14px; | |
height: 125px; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/logorepeat.png) repeat-x; | |
} | |
#slogan { | |
width: 85px; | |
-moz-transform: rotate(-90deg); | |
-o-transform: rotate(-90deg); | |
-webkit-transform: rotate(-90deg); | |
-ms-transform: rotate(-90deg); | |
position: absolute; | |
top: 26px; | |
left: 52px; | |
text-transform: uppercase; | |
text-align: center; | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-weight: 600; | |
color: #545453; | |
font-size: 12px; | |
} | |
.no-csstransforms #slogan { display: none; } | |
#slogan hr { | |
height: 1px; | |
background: rgba(255,255,255,0.8); | |
border: 0; | |
margin: 5px 0; | |
} | |
#slogan span:nth-of-type(1) { | |
letter-spacing: 6px; | |
} | |
#slogan span:nth-of-type(2) { | |
letter-spacing: 4px; | |
font-size: 10px; | |
} | |
#slogan span:nth-of-type(3) { | |
letter-spacing: 6px; | |
font-size: 13px; | |
} | |
#slogan em { | |
color: white; | |
font-style: italic; | |
text-transform: none; | |
font-size: 15px; | |
display: block; | |
} | |
#tag { | |
position: absolute; | |
top: 93px; | |
left: 219px; | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-weight: 600; | |
color: #807b77; | |
font-size: 12px; | |
text-transform: uppercase; | |
letter-spacing: 6px; | |
} | |
.top-ad-treehouse { | |
position: absolute; | |
right: 0; | |
top: 100px; | |
width: 420px; | |
} | |
.the-frog { | |
width: 200px; | |
height: 144px; | |
float: right; | |
position: relative; | |
} | |
.the-frog span { | |
background-image: url(/images/frog-sprite.png); | |
position: absolute; | |
top: 0; right: 8px; | |
background-size: 100% 300%; | |
-webkit-transition: opacity 0.2s ease; | |
-moz-transition: opacity 0.2s ease; | |
-ms-transition: opacity 0.2s ease; | |
-o-transition: opacity 0.2s ease; | |
} | |
.the-frog-1 { | |
background-position: 0 0; | |
width: 200px; | |
height: 144px; | |
} | |
.the-frog-2 { | |
background-position: 0 -121px; | |
opacity: 0; | |
width: 170px; | |
height: 122px; | |
} | |
.the-frog-3 { | |
background-position: 0 -188px; | |
opacity: 0; | |
width: 130px; | |
height: 94px; | |
} | |
.ad-treehouse-text { | |
position: absolute; | |
right: 210px; | |
bottom: 65px; | |
} | |
.ad-treehouse-title { | |
font-weight: bold; | |
font-size: 18px; | |
line-height: 20px; | |
margin: 0 0 3px 0; | |
} | |
.ad-treehouse-desc { | |
font-size: 12px; | |
} | |
.top-ad-treehouse strong { | |
background: #91ad57; | |
color: white; | |
padding: 1px 5px; | |
border-radius: 5px; | |
} | |
/* | |
SEARCH | |
*/ | |
.gsc-clear-button { | |
display: none; | |
} | |
input.gsc-input { | |
background: white !important; | |
padding: 6px 13px !important; | |
-webkit-border-radius: 15px; | |
-moz-border-radius: 15px; | |
border-radius: 15px; | |
border: 0 !important; | |
box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5); | |
outline: 0; | |
width: 80% !important; | |
} | |
.gsc-branding { | |
display: none; | |
} | |
#browse-archives { | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-size: 14px; | |
-moz-transition: all 0.6s ease-out; | |
-o-transition: all 0.6s ease-out; | |
-webkit-transition: all 0.6s ease-out; | |
-ms-transition: all 0.6s ease-out; | |
margin: 0 0 20px 0; | |
} | |
#browse-archives em { | |
font-family: Baskerville, Georgia, Serif; | |
} | |
#browse-archives a { | |
text-transform: uppercase; | |
} | |
#browse-archives a:hover span:nth-of-type(5n-4), | |
.gallery-link span:nth-of-type(5n-4) { color: #f3a01e; } | |
#browse-archives a:hover span:nth-of-type(5n-3), | |
.gallery-link span:nth-of-type(5n-3) { color: #D05D2A; } | |
#browse-archives a:hover span:nth-of-type(5n-2), | |
.gallery-link span:nth-of-type(5n-2) { color: #9dc425; } | |
#browse-archives a:hover span:nth-of-type(5n-1), | |
.gallery-link span:nth-of-type(5n-1) { color: #4b8db5; } | |
#browse-archives a:hover span:nth-of-type(5n-0), | |
.gallery-link span:nth-of-type(5n-0) { color: #7c48b5; } | |
.gallery-link { font-weight: bold; text-transform: uppercase; } | |
/* | |
NAVIGATION | |
*/ | |
.main-nav { | |
list-style: none; | |
} | |
.main-nav li { | |
float: left; | |
width: 12.5%; | |
position: relative; | |
-webkit-transition: background-color 0.4s ease; | |
-moz-transition: background-color 0.4s ease; | |
-ms-transition: background-color 0.4s ease; | |
-o-transition: background-color 0.4s ease; | |
} | |
.main-nav a { | |
border-top: 0; | |
display: block; | |
text-align: center; | |
position: relative; | |
z-index: 2; | |
color: white; | |
padding: 5px 10px 10px; | |
font: bold 15px kulturista-web-1,kulturista-web-2,serif; | |
text-decoration: none; | |
text-transform: uppercase; | |
letter-spacing: 0.5px; | |
overflow: hidden; | |
} | |
.main-nav a:before { | |
content: ""; | |
display: block; | |
height: 40px; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/nav-sprite.png) top center no-repeat; | |
} | |
.main-nav li:hover { | |
background: rgba(0,0,0,0.4); | |
-webkit-transition: background-color 0.1s ease; | |
-moz-transition: background-color 0.1s ease; | |
-ms-transition: background-color 0.1s ease; | |
-o-transition: background-color 0.1s ease; | |
} | |
.main-nav span { | |
display: block; | |
text-align: center; | |
font-size: 9px; | |
} | |
.main-nav .articles a:before { } | |
.main-nav .forums a:before { background-position: center -40px; } | |
.main-nav .snippets a:before { background-position: center -80px; } | |
.main-nav .almanac a:before { background-position: center -160px; } | |
.main-nav .videos a:before { background-position: center -120px; } | |
.main-nav .gallery a:before { background-position: center -200px; } | |
.main-nav .downloads a:before { background-position: center -240px; } | |
.main-nav .deals a:before { background-position: center -280px; } | |
.home .main-nav .articles a, | |
.single-post .main-nav .articles a, | |
.Vanilla .main-nav .forums a, | |
.page-template-page-snippet-cat-php .main-nav .snippets a, | |
.page-template-page-snippet-php .main-nav .snippets a, | |
.page-template-video-archive-php .main-nav .videos a, | |
.page-template-video-single-php .main-nav .videos a, | |
.page-template-page-almanac-group-php .main-nav .almanac a, | |
.page-template-page-almanac-single-php .main-nav .almanac a, | |
.post-type-archive-screenshot .main-nav .gallery a, | |
.single-screenshot .main-nav .gallery a, | |
.page-template-page-downloads-php .main-nav .downloads a, | |
.page-template-page-deals-php .main-nav .deals a { | |
color: black; | |
} | |
.main-nav li:before { | |
content: ""; | |
position: absolute; | |
top: 100%; | |
left: 0; | |
right: 0; | |
height: 8px; | |
} | |
.page-template-video-archive-php .main-nav .videos, | |
.page-template-video-single-php .main-nav .videos, | |
.main-nav .videos:hover { background: #01b0ec; } | |
.page-template-video-archive-php .main-nav .videos:before, | |
.page-template-video-single-php .main-nav .videos:before { background: #0484b0; } | |
.home .main-nav .articles, | |
.single-post .main-nav .articles, | |
.main-nav .articles:hover { background: #ef7901; } | |
.home .main-nav .articles:before, | |
.single-post .main-nav .articles:before { background: #cf7000; } | |
.Vanilla .main-nav .forums, | |
.main-nav .forums:hover { background: #d54421; } | |
.Vanilla .main-nav .forums:before { background: #bb2904; } | |
.page-template-page-snippet-cat-php .main-nav .snippets, | |
.page-template-page-snippet-php .main-nav .snippets, | |
.main-nav .snippets:hover { background: #98bf0d; } | |
.page-template-page-snippet-cat-php .main-nav .snippets:before, | |
.page-template-page-snippet-php .main-nav .snippets:before { background: #87a812; } | |
.page-template-page-almanac-group-php .main-nav .almanac, | |
.page-template-page-almanac-single-php .main-nav .almanac, | |
.main-nav .almanac:hover { background: #7449f1; } | |
.page-template-page-almanac-group-php .main-nav .almanac:before, | |
.page-template-page-almanac-single-php .main-nav .almanac:before { background: #5531bf; } | |
.post-type-archive-screenshot .main-nav .gallery, | |
.single-screenshot .main-nav .gallery, | |
.main-nav .gallery:hover { background: #b147a3; } | |
.post-type-archive-screenshot .main-nav .gallery:before, | |
.single-screenshot .main-nav .gallery:before { background: #922a84; } | |
.page-template-page-downloads-php .main-nav .downloads, | |
.main-nav .downloads:hover { background: #f6b402; } | |
.page-template-page-downloads-php .main-nav .downloads:before { background: #d49b00; } | |
.page-template-page-deals-php .main-nav .deals, | |
.main-nav .deals:hover { background: #8d8d8d; } | |
.page-template-page-deals-php .main-nav .deals:before { background: #5e5e5e; } | |
@-webkit-keyframes nav-1 { 50% { background: #ef7901; } } | |
@-moz-keyframes nav-1 { 50% { background: #ef7901; } } | |
.home .main-nav .articles { | |
-webkit-animation: nav-1 1.5s 1s ease 1; | |
-moz-animation: nav-1 1.5s 1s ease 1; | |
} | |
@-webkit-keyframes nav-2 { 50% { background: #d54421; } } | |
@-moz-keyframes nav-2 { 50% { background: #d54421; } } | |
.home .main-nav .forums { | |
-webkit-animation: nav-2 1.5s 1.1s ease 1; | |
-moz-animation: nav-2 1.5s 1.1s ease 1; } | |
@-webkit-keyframes nav-3 { 50% { background: #98bf0d; } } | |
@-moz-keyframes nav-3 { 50% { background: #98bf0d; } } | |
.home .main-nav .snippets { | |
-webkit-animation: nav-3 1.5s 1.2s ease 1; | |
-moz-animation: nav-3 1.5s 1.2s ease 1; } | |
@-webkit-keyframes nav-4 { 50% { background: #01b0ec; } } | |
@-moz-keyframes nav-4 { 50% { background: #01b0ec; } } | |
.home .main-nav .videos { | |
-webkit-animation: nav-4 1.5s 1.3s ease 1;; | |
-moz-animation: nav-4 1.5s 1.3s ease 1; } | |
@-webkit-keyframes nav-5 { 50% { background: #7449f1; } } | |
@-moz-keyframes nav-5 { 50% { background: #7449f1; } } | |
.home .main-nav .almanac { | |
-webkit-animation: nav-5 1.5s 1.4s ease 1; | |
-moz-animation: nav-5 1.5s 1.4s ease 1; } | |
@-webkit-keyframes nav-6 { 50% { background: #b147a3; } } | |
@-moz-keyframes nav-6 { 50% { background: #b147a3; } } | |
.home .main-nav .gallery { | |
-webkit-animation: nav-6 1.5s 1.5s ease 1; | |
-moz-animation: nav-6 1.5s 1.5s ease 1; } | |
@-webkit-keyframes nav-7 { 50% { background: #f6b402; } } | |
@-moz-keyframes nav-7 { 50% { background: #f6b402; } } | |
.home .main-nav .downloads { | |
-webkit-animation: nav-7 1.5s 1.6s ease 1; | |
-moz-animation: nav-7 1.5s 1.5s ease 1; } | |
@-webkit-keyframes nav-8 { 50% { background: #8d8d8d; } } | |
@-moz-keyframes nav-8 { 50% { background: #8d8d8d; } } | |
.home .main-nav .deals { | |
-webkit-animation: nav-8 1.5s 1.7s ease 1; | |
-moz-animation: nav-8 1.5s 1.7s ease 1; } | |
#main-content { | |
width: 80%; | |
margin: 125px auto 35px; | |
} | |
#main-content > .inside { | |
position: relative; | |
background: white; | |
border: 8px solid transparent; | |
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
-webkit-background-clip: padding-box; | |
-moz-background-clip: padding-box; | |
background-clip: padding-box; | |
} | |
#juice { | |
width: 50%; | |
float: left; | |
} | |
#juice .inside { | |
padding: 50px; | |
} | |
article { | |
position: relative; | |
padding-bottom: 25px; | |
} | |
figure, .image-wrap { | |
background: #eee; | |
border: 1px solid #ccc; | |
padding: 15px; | |
margin: 0 0 25px 0; | |
text-align: center; | |
} | |
.fluid-width-video-wrapper { | |
width: 100%; | |
position: relative; | |
padding: 0; | |
} | |
.fluid-width-video-wrapper iframe, | |
.fluid-width-video-wrapper object, | |
.fluid-width-video-wrapper embed { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
article img, .image-wrap img { | |
max-width: 100%; | |
height: auto !important; | |
} | |
figure img, .image-wrap img { | |
border: 1px solid #ccc; | |
/* Border causes max-width issues, going over 100% and un-evening the padding, so… */ | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
article ul, article ol { | |
margin: 0 0 25px 25px; | |
} | |
article ul ul, article ol ol { | |
margin: 10px 0 10px 25px; | |
} | |
article ul { | |
list-style: disc; | |
} | |
article li p { | |
margin: 0; | |
} | |
article p, article li { | |
max-width: 650px; | |
} | |
figure p { | |
max-width: 100%; | |
} | |
article a, .comment a, .Message a { | |
color: #4b8db5; | |
border-bottom: 1px dotted #9dc425; | |
padding: 0 1px; | |
} | |
article a:hover, .comment a:hover, .Message a:hover { | |
background: #d9efff; | |
border-bottom: 1px solid #2382c5; | |
color: #2382c5; | |
} | |
article a:active, .comment a:active, .Message a:active { | |
outline: 0; | |
color: black; | |
} | |
figcaption { | |
display: block; | |
text-align: center; | |
font-style: italic; | |
padding-top: 7px; | |
} | |
.page #juice, .single #juice { | |
width: 73%; | |
} | |
.single h1 { | |
margin: 0 0 5px 0; | |
} | |
.end-of-article-stuff { | |
overflow: hidden; | |
margin-top: 25px; | |
} | |
.sharing { | |
width: 33.3333%; | |
float: left; | |
text-align: center; | |
color: white; | |
margin-bottom: 10px; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.sharing > div { | |
height: 21px; | |
-webkit-border-radius: 15px; | |
-moz-border-radius: 15px; | |
border-radius: 15px; | |
padding: 15px 5px; | |
} | |
.sharing-twitter, .sharing-google-plus { | |
padding-right: 10px; | |
} | |
.sharing-twitter > div { | |
background: #46d0fe; | |
} | |
.sharing-google-plus > div { | |
background: #DD4B39; | |
} | |
.sharing-facebook > div { | |
background: #3B5998; | |
} | |
.previous-article { | |
width: 100%; | |
} | |
.previous-article > div { | |
background: #7C48B5; | |
height: auto; | |
} | |
.previous-article a { | |
color: white; | |
padding: 3px 6px; | |
border-radius: 10px; | |
} | |
/* | |
BUBBLES | |
*/ | |
.date-bubble, .comment-bubble { | |
position: absolute; | |
width: 105px; | |
height: 90px; | |
-webkit-border-radius: 65px; | |
-moz-border-radius: 65px; | |
border-radius: 65px; | |
left: -153px; | |
top: 0; | |
background: #c0bbb9; | |
text-align: center; | |
color: #444444; | |
padding-top: 15px; | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-weight: 600; | |
font-size: 21px; | |
line-height: 1.2; | |
overflow: hidden; | |
z-index: -1; | |
} | |
.date-bubble span { | |
display: block; | |
} | |
.comment-bubble { | |
top: 90px; | |
color: #d8d2ce; | |
font-size: 98px; | |
padding-top: 0px; | |
height: 105px; | |
letter-spacing: -5px; | |
background: #cdc7c3; | |
text-indent: -6px; | |
z-index: -2; | |
} | |
.comment-bubble a { | |
color: #d4ceca; | |
} | |
.comments-rss-link { | |
display: inline-block; | |
text-indent: -9999px; | |
width: 26px; | |
height: 26px; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/rss.png) no-repeat; | |
vertical-align: middle; | |
} | |
.commentlist { | |
list-style: none; | |
padding-top: 5px; | |
margin: 0 0 30px 0; | |
} | |
.comment { | |
position: relative; | |
margin: 0 0 20px 0; | |
font-size: 16px; | |
clear: both; | |
} | |
.comment-content { | |
width: 70%; | |
float: right; | |
background: #e8e8e8; | |
padding: 15px; | |
min-height: 165px; | |
overflow: hidden; | |
position: relative; | |
-webkit-border-radius: 15px; | |
-moz-border-radius: 15px; | |
border-radius: 15px; | |
border-top: 1px solid #ccc; | |
z-index: 2; | |
} | |
.comment-author-wrap { | |
position: absolute; | |
left: 0; | |
top: 0; | |
width: 25%; | |
display: block; | |
margin-top: 10px; | |
color: black; | |
font: 12px "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif; | |
} | |
.comment-author-wrap a { | |
border: 0; | |
color: black; | |
} | |
.comment-author { | |
font-size: 15px; | |
} | |
.avatar { | |
border-radius: 42px; | |
position: relative; | |
z-index: 1; | |
} | |
.avatar-wrap { | |
width: 68px; | |
height: 68px; | |
border-radius: 42px; | |
position: relative; | |
border: 8px solid #e8e8e8; | |
margin: 0 0 3px 0; | |
} | |
.avatar-wrap:before { | |
content: ""; | |
position: absolute; | |
width: 350px; | |
height: 8px; | |
background: #e8e8e8; | |
left: 60px; | |
top: 30px; | |
} | |
.comment-reply-link { | |
border: none !important; | |
position: absolute; | |
bottom: 10px; | |
right: 15px; | |
display: block; | |
width: 24px; | |
height: 19px; | |
text-indent: -9999px; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/css-tricks.png) -10px -284px no-repeat !important; | |
opacity: 0; | |
} | |
.comment-content:hover > .reply .comment-reply-link { | |
opacity: 0.6; | |
} | |
.comment-reply-link:hover { | |
opacity: 1; | |
} | |
.children { | |
padding-left: 25px; | |
} | |
.children .children { | |
padding-left: 0; | |
} | |
.children .comment { | |
margin: 0; | |
} | |
.children .avatar { | |
border-color: #f2f2f2; | |
} | |
.children .avatar-wrap:before { | |
background: #f2f2f2; | |
width: 580px; | |
} | |
.children .comment-content { | |
width: 50%; | |
background: #f2f2f2; | |
margin-top: -5px; | |
} | |
.comment.buried { | |
/* Need to do something better */ | |
display: none; | |
} | |
.comment.featured:after { | |
content: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-goldstar.png); | |
position: absolute; | |
top: -16px; | |
right: -12px; | |
z-index: 5; | |
} | |
.comment p { | |
margin: 0 0 15px 0; | |
width: 90%; | |
} | |
#commentPreview .commentlist .comment { | |
width: auto; | |
float: none; | |
padding-bottom: 15px; | |
} | |
#commentPreview .commentlist .comment:before { | |
content: "Comment Preview: "; | |
font-weight: bold; | |
} | |
#commentPreview .comment-author-wrap, | |
#commentPreview .reply { | |
display: none; | |
} | |
#commentPreview .comment-content { | |
width: auto; | |
float: none; | |
} | |
#thread-closed { | |
background: #D05D2A; | |
color: white; | |
padding: 10px; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
font-weight: bold; | |
} | |
#thread-closed a { | |
color: white; | |
border-bottom: 1px dotted white; | |
} | |
#thread-closed a:hover { | |
border-bottom-style: solid; | |
} | |
#respond { | |
position: relative; | |
width: 100%; | |
} | |
#comment-form { | |
clear: both; | |
position: relative; | |
width: 100%; | |
} | |
#comment-form h4 { | |
position: relative; | |
margin: 10px 0 0 0; | |
min-height: 90px; | |
} | |
#inputs { | |
position: relative; | |
width: 75%; | |
float: left; | |
} | |
#inputs > div { | |
margin: 0 0 8px 0; | |
} | |
.infoput { | |
width: 48%; | |
position: absolute; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
padding: 10px 10px 10px 45px; | |
font-size: 18px; | |
} | |
.infoput, #inputs textarea { | |
font-family: "myriad-pro-1","myriad-pro-2"; | |
background: white; | |
border: 0; | |
-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4); | |
-moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4); | |
box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4); | |
} | |
#inputs textarea { | |
padding: 10px; | |
width: 100%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
height: 250px; | |
margin: 0 0 10px 0; | |
font-size: 16px; | |
background: white url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/comment-star.png) 110% 125% no-repeat; | |
-webkit-transition: all 0.3s ease; | |
-moz-transition: all 0.3s ease; | |
-ms-transition: all 0.3s ease; | |
-o-transition: all 0.3s ease; | |
} | |
#inputs textarea:focus { | |
background-position: 130% 195%; | |
} | |
#author { | |
background: white url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-name.png) 6px center no-repeat; | |
top: 0; | |
right: 0; | |
} | |
#email { | |
background: white url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-email2.png) 6px center no-repeat; | |
left: 0; | |
top: 54px; | |
} | |
#url { | |
background: white url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-web.png) 6px center no-repeat; | |
right: 0; | |
top: 54px; | |
} | |
#submit { | |
font-family: "myriad-pro-1","myriad-pro-2"; | |
} | |
#commenting-tips { | |
width: 22%; | |
float: right; | |
font-size: 14px; | |
line-height: 1.4; | |
} | |
#commenting-tips strong { | |
color: #dd7556; | |
cursor: pointer; | |
} | |
#commenting-tips strong:hover { | |
color: #ff8400; | |
} | |
#commenting-tips h5 { | |
font-size: 20px; | |
margin: 15px 0 5px 0; | |
white-space: nowrap; | |
} | |
#commenting-tips ul { | |
margin: 0 0 0 15px; | |
list-style: disc; | |
} | |
#commenting-tips li { | |
font-size: 13px; | |
} | |
#commenting-tips code { | |
font-size: 11px; | |
} | |
/* | |
HOT LINKS (homepage only?) | |
*/ | |
#hot-links, aside { | |
width: 19%; | |
float: right; | |
position: relative; | |
z-index: 20; | |
margin: 20px 30px 0 0; | |
font-size: 12px; | |
} | |
#hot-links .inside, aside .inside { | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/brushed_alu.png); | |
border: 8px solid transparent; | |
background-clip: padding-box; | |
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15); | |
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15); | |
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15); | |
padding: 20px; | |
} | |
/* | |
SIDEBAR | |
*/ | |
aside { | |
width: 30%; | |
max-width: 334px; | |
margin-right: -40px; | |
margin-bottom: 20px; | |
} | |
aside .button { | |
padding: 4px 8px !important; | |
font-size: 14px !important; | |
} | |
aside input.button { | |
font-size: 13px !important; | |
margin-right: 5px; | |
} | |
.sidebar-box { | |
margin: 0 0 20px 0; | |
clear: both; | |
} | |
.one .bsa_it_ad { | |
font: 16px/1.4 "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif !important; | |
} | |
.bsa_it_t { | |
font-size: 15px !important; | |
} | |
.bsap_1235262 a { | |
width: 44% !important; | |
max-width: 125px; | |
margin: 0 0 8px 0; | |
padding: 5px; | |
box-shadow: 0 0 4px rgba(0,0,0,0.4); | |
-moz-transition: background-position 0.3s ease-out; | |
-o-transition: background-position 0.3s ease-out; | |
-webkit-transition: background-position 0.3s ease-out; | |
-ms-transition: background-position 0.3s ease-out; | |
} | |
.bsap_1235262 a.even { | |
float: right; | |
} | |
.bsap_1235262 a img { | |
width: 100%; | |
float: left; /* Removes line space underneath image */ | |
height: auto !important; | |
-webkit-border-radius: 3px; | |
-moz-border-radius: 3px; | |
border-radius: 3px; | |
} | |
.bsap_1241308 a, .bsap_1241308 img { | |
width: 100% !important; | |
height: auto !important; | |
max-width: 330px; | |
} | |
.bsap_1250418 { | |
min-height: 180px; | |
margin: 0 0 100px 0; | |
} | |
.bsap_1250418 .bsa_it_ad { | |
width: 48%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/brushed_alu.png) !important; | |
border: 0 !important; | |
-webkit-border-radius: 20px; | |
-moz-border-radius: 20px; | |
border-radius: 20px; | |
-moz-transition: all 1s ease-out; | |
-o-transition: all 1s ease-out; | |
-webkit-transition: all 1s ease-out; | |
-ms-transition: all 1s ease-out; | |
transition: all 1s ease-out; | |
} | |
.bsap_1250418 .bsa_it_ad:hover { | |
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3); | |
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.3); | |
box-shadow: 0 0 10px rgba(0,0,0,0.3); | |
-moz-transition: all 0.1s ease-out; | |
-o-transition: all 0.1s ease-out; | |
-webkit-transition: all 0.1s ease-out; | |
-ms-transition: all 0.1s ease-out; | |
transition: all 0.1s ease-out; | |
} | |
.bsap_1250418 .bsa_it_i { | |
float: none !important; | |
} | |
.bsap_1250418 .bsa_it_ad a { | |
} | |
.bsap_1250418 .bsa_it_ad img { | |
height: auto !important; | |
-webkit-border-radius: 9px; | |
-moz-border-radius: 9px; | |
border-radius: 9px; | |
margin: 0 0 5px 0; | |
max-width: 100%; | |
} | |
.bsap_1250418 .odd { | |
float: left; | |
} | |
.bsap_1250418 .even { | |
float: right; | |
} | |
.bsap_1250418 .bsa_it_p { | |
display: none !important; | |
} | |
.large-treehouse-ad { | |
max-width: 100%; | |
margin: 0 0 10px 0; | |
} | |
.mini-treehouse-logo { | |
float: right; | |
margin: 0 0 0 10px; | |
} | |
.treehouse-ad-intro { | |
padding-right: 25%; | |
position: relative; | |
} | |
.mini-treehouse-logo { | |
position: absolute; | |
right: 0; | |
bottom: -20px; | |
width: 25%; | |
max-width: 70px; | |
} | |
#hot-links h4, aside h4 { | |
color: #D05D2A; | |
border-bottom: 1px solid #D05D2A; | |
font-size: 14px; | |
padding: 0 0 5px 0; | |
letter-spacing: 2px; | |
text-transform: uppercase; | |
margin-bottom: 10px; | |
} | |
aside h5 { | |
font-size: 24px; | |
line-height: 1.1; | |
} | |
.sidebar-box li a { | |
display: block; | |
overflow: hidden; | |
background: -webkit-linear-gradient(left, transparent, transparent 50%, rgba(0, 0, 0, 0.2)); | |
background: -moz-linear-gradient(left, transparent, transparent 50%, rgba(0, 0, 0, 0.2)); | |
background: -ms-linear-gradient(left, transparent, transparent 50%, rgba(0, 0, 0, 0.2)); | |
background: -o-linear-gradient(left, transparent, transparent 50%, rgba(0, 0, 0, 0.2)); | |
background-size: 200% 100%; | |
-moz-transition: all 0.26s ease-out; /* FF4+ */ | |
-o-transition: all 0.26s ease-out; /* Opera 10.5+ */ | |
-webkit-transition: all 0.26s ease-out; /* Saf3.2+, Chrome */ | |
-ms-transition: all 0.26s ease-out; /* IE10? */ | |
} | |
.cssgradients .sidebar-box li a:hover { | |
background-position: 100% 100%; | |
padding-left: 5px; | |
} | |
.no-cssgradients .sidebar-box li a:hover { | |
text-decoration: underline; | |
} | |
#subscribe-main li a { | |
padding: 4px 0 3px 26px; | |
font-size: 15px; | |
} | |
.cssgradients #subscribe-main li a:hover { | |
padding: 4px 0 3px 32px; | |
} | |
#subscribe-main .rss { | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-rss.png) center left no-repeat; | |
} | |
#subscribe-main .email { | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-email.png) center left no-repeat; | |
} | |
#subscribe-main .itunes { | |
background: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/icon-apple.png) center left no-repeat; | |
} | |
#more { | |
display: block; | |
margin: 5px 0 25px 0; | |
} | |
.wp-polls-ul { | |
margin: 0 0 10px 0; | |
} | |
.wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li { | |
padding: 3px 0; | |
} | |
.wp-polls-form h5 a { | |
color: #4B8DB5; | |
} | |
.breadcrumbs { | |
margin: 0 0 15px 0; | |
position: relative; | |
padding: 0 100px 0 0; | |
font-size: 16px; | |
} | |
.breadcrumbs a { | |
border: 0; | |
} | |
/* Footer */ | |
footer { | |
position: relative; | |
min-height: 140px; | |
background-color: #3f3f3f; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#3f3f3f), to(#2b2b2b)); | |
background-image: -webkit-linear-gradient(top, #3f3f3f, #2b2b2b); | |
background-image: -moz-linear-gradient(top, #3f3f3f, #2b2b2b); | |
background-image: -ms-linear-gradient(top, #3f3f3f, #2b2b2b); | |
background-image: -o-linear-gradient(top, #3f3f3f, #2b2b2b); | |
background-image: linear-gradient(top, #3f3f3f, #2b2b2b); | |
font-size: 16px; | |
color: white; | |
position: relative; | |
overflow: hidden; | |
} | |
footer > span { | |
position: absolute; | |
top: 0; | |
width: 20%; | |
height: 4px; | |
} | |
footer > .f1 { left: 0; background: #f3a01e; } | |
footer > .f2 { left: 20%; background: #D05D2A; } | |
footer > .f3 { left: 40%; background: #9dc425; } | |
footer > .f4 { left: 60%; background: #4b8db5; } | |
footer > .f5 { left: 80%; background: #7c48b5; } | |
footer .inside { | |
width: 80%; | |
margin: 0 auto; | |
padding: 25px 0; | |
} | |
#footer-boxes { | |
margin-top: 35px; | |
} | |
.footer-box { | |
margin: 0 2.7% 0 0; | |
float: left; | |
width: 22.97%; /* Firefox 6 was knocking down at 23 */ | |
height: 175px; | |
padding: 10px; | |
background: #e6e2df; | |
-webkit-background-clip: padding-box; | |
-moz-background-clip: padding-box; | |
background-clip: padding-box; | |
color: #b2aaa4; | |
background-repeat: no-repeat; | |
border: 8px solid transparent; | |
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); | |
overflow: hidden; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
position: relative; | |
} | |
.footer-box.last { | |
float: right; | |
} | |
.footer-box h5 { | |
font-family: "kulturista-web-1","kulturista-web-2"; | |
font-style: normal; | |
font-size: 26px; | |
line-height: 1; | |
margin: 0 0 10px 0; | |
font-weight: 100; | |
letter-spacing: -1px; | |
} | |
.footer-box > * { position: relative; z-index: 1; } | |
.footer-box:hover h5 { text-shadow: 0 0 4px rgba(0,0,0,0.4); color: white; } | |
.footer-box:hover p { color: white; } | |
.footer-box p { font-size: 12px; width: 74%; line-height: 1.5; } | |
.footer-box:hover { background-position: 200px 50%; } | |
.footer-box:after { | |
content: ""; | |
position: absolute; | |
width: 130px; | |
height: 130px; | |
left: 100%; | |
top: 15px; | |
opacity: 1; | |
background-image: url(http://css-tricks.com/wp-content/themes/CSS-Tricks-9/images/css-tricks.png); | |
-webkit-transition: all 0.2s ease; | |
-moz-transition: all 0.2s ease; | |
-ms-transition: all 0.2s ease; | |
-o-transition: all 0.2s ease; | |
} | |
.footer-box:hover:after { | |
left: 75%; | |
opacity: 1; | |
} | |
#f-wufoo:after { | |
background-position: -14px -982px; | |
} | |
#f-wufoo:hover { | |
background-color: #c03823; | |
} | |
#f-wufoo:hover p { | |
color: #fee17f; | |
} | |
#f-lynda:after { | |
background-position: -14px -1144px; | |
} | |
#f-lynda:hover { | |
background-color: #fed300; | |
} | |
#f-lynda:hover p { | |
color: #9f6618; | |
} | |
#f-diw:after { | |
background-position: -10px -1304px; | |
} | |
#f-diw:hover { | |
background-color: #237abe; | |
} | |
#f-qod:after { | |
background-position: -10px -1463px; | |
} | |
#f-qod:hover { | |
background-color: #37597a; | |
} | |
#f-qod:hover p { | |
color: #adbde3; | |
} | |
#f-htmlipsum:after { | |
background-position: -10px -1622px; | |
} | |
#f-htmlipsum:hover { | |
background-color: #333333; | |
} | |
#f-html-ipsum:hover p { | |
color: #fff8da; | |
} | |
#f-bookshelf:after { | |
background-position: -10px -1782px; | |
} | |
#f-bookshelf:hover { | |
background-color: #ff8400; | |
} | |
#f-twitter:after { | |
background-position: -10px -1941px; | |
} | |
#f-twitter:hover { | |
background-color: #4ed2fe; | |
} | |
#f-forrst:after { | |
background-position: -10px -2103px; | |
} | |
#f-forrst:hover { | |
background-color: #203f16; | |
} | |
#f-forrst:hover p { | |
color: #92c59c; | |
} | |
.footer-link-group { | |
float: left; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
position: relative; | |
z-index: 1; | |
} | |
.footer-link-group-1 { width: 32% } | |
.footer-link-group-2, | |
.footer-link-group-3, | |
.footer-link-group-4 { | |
width: 20%; float: right; | |
border-right: 1px solid rgba(255,255,255,0.2); | |
} | |
.footer-link-group a { | |
display: block; | |
overflow: hidden; | |
color: white; | |
background: -webkit-linear-gradient(left, transparent, transparent 30%, rgba(255,255,255, 0.4)); | |
background: -moz-linear-gradient(left, transparent, transparent 30%, rgba(255,255,255, 0.4)); | |
background: -ms-linear-gradient(left, transparent, transparent 30%, rgba(255,255,255, 0.4)); | |
background: -o-linear-gradient(left, transparent, transparent 30%, rgba(255,255,255, 0.4)); | |
background-size: 200% 100%; | |
-moz-transition: all 0.26s ease-out; | |
-o-transition: all 0.26s ease-out; | |
-webkit-transition: all 0.26s ease-out; | |
-ms-transition: all 0.26s ease-out; | |
} | |
.cssgradients .footer-link-group a:hover { | |
background-position: 100% 100%; | |
padding-left: 5px; | |
} | |
.no-cssgradients .footer-link-group a:hover { | |
text-decoration: underline; | |
} | |
.footer-contact { | |
margin-top: 5px; | |
} | |
.footer-contact #meee { | |
left: 50%; | |
top: 78%; | |
position: absolute; | |
z-index: 0; | |
-moz-transition: all 0.26s ease-out; | |
-o-transition: all 0.26s ease-out; | |
-webkit-transition: all 0.26s ease-out; | |
-ms-transition: all 0.26s ease-out; | |
} | |
.footer-contact:hover #meee { | |
left: 50%; | |
top: -25%; | |
position: absolute; | |
} | |
.footer-link-group .footer-contact a { | |
color: #9dc425; | |
} | |
.footer-link-group h5 { | |
font: bold 14px/1.4 "myriad-pro-1","myriad-pro-2", "Lucida Grande", Sans-Serif; | |
color: #f3a01e; | |
letter-spacing: 2px; | |
margin: 0 0 3px 0; | |
text-transform: uppercase; | |
} | |
footer section .footer-link-group:nth-of-type(1) { | |
padding-right: 20px; | |
} | |
footer section .footer-link-group:nth-of-type(1) small { | |
display: block; | |
margin-top: 5px; | |
line-height: 1.4; | |
color: #eee; | |
} | |
footer section .footer-link-group:nth-of-type(2) { | |
padding-left: 18px; | |
} | |
footer section .footer-link-group:nth-of-type(3) { | |
padding-left: 18px; | |
} | |
footer section .footer-link-group:nth-of-type(4) { | |
padding-left: 26px; | |
} | |
video { | |
width: 100% !important; | |
height: auto !important; | |
} | |
/* | |
MEDIA QUERIES | |
*/ | |
@media screen and (max-width: 1350px) { | |
.children .avatar-wrap:before { | |
width: 400px; | |
} | |
} | |
@media screen and (max-width: 1200px) { | |
#hot-links { | |
float: none; | |
clear: both; | |
} | |
aside { | |
margin: 20px; | |
width: 35%; | |
max-width: none; | |
} | |
#juice { | |
width: 58%; | |
} | |
#main-content { | |
margin: 115px auto 65px; | |
} | |
.page #juice, .single #juice { | |
width: 60%; | |
} | |
.main-nav span { | |
display: none; | |
} | |
.main-nav li { | |
width: 25%; | |
border-right: 1px solid rgba(255,255,255,0.2); | |
border-bottom: 1px solid rgba(255,255,255,0.2); | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.main-nav a { | |
background-position: 20px center !important; | |
text-align: left !important; | |
padding: 13px 0 2px 0; | |
} | |
.main-nav a:before { | |
float: left; | |
width: 40px; | |
margin: -13px 5px 0 10px; | |
} | |
.main-nav li:nth-child(4n) { | |
border-right: 0; | |
} | |
.main-nav li:nth-child(n+5) { | |
border-bottom: 0; | |
} | |
.main-nav li:before { | |
display: none; | |
} | |
.main-nav li.current span:after { | |
display: none; | |
} | |
.top-ad-treehouse { | |
top: 113px; | |
width: 392px; | |
} | |
.the-frog-1 { | |
opacity: 0; | |
} | |
.the-frog-2 { | |
opacity: 1; | |
} | |
.ad-treehouse-text { | |
bottom: 78px; | |
right: 185px; | |
} | |
#logo { | |
top: 85px; | |
} | |
#slogan span, #slogan hr { | |
display: none; | |
} | |
#slogan { | |
top: 66px; | |
left: 104px; | |
} | |
#meee { | |
display: none; | |
} | |
.comment { | |
width: 100%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.comment-content, .children .comment-content { | |
width: 100%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
float: none; | |
padding-left: 110px; | |
} | |
.comment-author-wrap { | |
left: 10px; | |
z-index: 4; | |
} | |
.avatar-wrap { | |
border-color: #c2c2c2; | |
} | |
.cancel-comment-reply { | |
margin: 4px 0 10px 0; | |
} | |
#inputs > h4 { | |
display: none; | |
} | |
#commenting-tips { | |
display: none; | |
} | |
#inputs { | |
float: none; | |
width: auto; | |
} | |
#inputs textarea { | |
background: none; | |
} | |
.infoput { | |
width: 100%; | |
position: static; | |
} | |
.avatar-wrap:before { | |
display: none; | |
} | |
.comment-reply-link { | |
opacity: 0.6; | |
} | |
} | |
@media screen and (max-width: 1024px) { | |
#main-content, header .inside, footer .inside { | |
width: 95%; | |
} | |
.page #juice, .single #juice { | |
width: 75%; | |
} | |
.bsap_1235262 a, .bsap_1235262 a.even { | |
float: none !important; | |
margin: 0 0 8px 0 !important; | |
width: auto !important; | |
} | |
.bsap_1235262 a img { | |
float: none; | |
width: 100% !important; | |
} | |
.date-bubble, .comment-bubble { | |
position: relative; | |
width: auto; | |
height: auto; | |
left: 0; | |
top: 0; | |
background: left; | |
text-align: left; | |
color: #f3a01e; | |
padding-top: 0; | |
font-size: 14px; | |
line-height: 1.2; | |
z-index: 1; | |
margin: 0 0 5px 0; | |
} | |
.comment-bubble { | |
display: none; | |
} | |
.date-bubble span { | |
display: inline; | |
} | |
#slogan { | |
display: none; | |
} | |
aside { | |
margin: 0; | |
width: 25%; | |
} | |
aside .inside { | |
border: 0; | |
-webkit-box-shadow: none; | |
-moz-box-shadow: none; | |
box-shadow: none; | |
} | |
} | |
@media screen and (max-width: 860px) { | |
#main-content, header .inside, footer .inside { | |
width: 100%; | |
} | |
.page #juice, .single #juice { | |
width: 100%; | |
} | |
header { | |
background: none; | |
} | |
header .inside { | |
padding: 0; | |
} | |
.main-nav li { | |
background: #434343; | |
} | |
.main-nav a { | |
padding: 10px !important; | |
text-align: center !important; | |
} | |
.main-nav span { | |
display: block; | |
} | |
.main-nav li:nth-child(n+7) { | |
border-bottom: 0; | |
} | |
.main-nav-wrap { | |
margin: -19px 0 0 0; | |
} | |
#logo { | |
position: relative; | |
bottom: auto; | |
top: 0; | |
margin-top: -20px; | |
background-size: 100% 100%; | |
width: 420px; | |
left: -100px; | |
overflow: hidden; | |
height: 120px; | |
} | |
#tag { | |
left: 160px; | |
top: 70px; | |
font-size: 10px; | |
line-height: 11px; | |
letter-spacing: 1px; | |
} | |
h1 { | |
font-size: 30px; | |
} | |
h2 { | |
font-size: 26px; | |
} | |
#main-content { | |
margin-top: 80px; | |
} | |
.main-nav a { | |
background: none !important; | |
padding-top: 10px; | |
} | |
.main-nav a:before { | |
display: none; | |
} | |
.top-ad-treehouse { | |
top: 215px; | |
width: 100%; | |
} | |
.ad-treehouse-text { | |
position: static; | |
display: block; | |
padding: 3px 0 0 20px; | |
} | |
.the-frog-2, .the-frog-1 { | |
opacity: 0; | |
} | |
.the-frog-3 { | |
opacity: 1; | |
} | |
#juice, aside { | |
float: none; | |
width: auto; | |
} | |
#juice .inside { | |
padding: 20px; | |
} | |
#primary-sponsor { | |
display: none; | |
} | |
.bsap_1235262 a, .bsap_1235262 a.even { | |
float: left !important; | |
margin: 0 8px 8px 0 !important; | |
width: auto !important; | |
padding: 1%; | |
} | |
.footer-box { | |
height: 230px; | |
} | |
.footer-box p { | |
width: auto; | |
} | |
.footer-box:after { | |
left: 13%; | |
top: 110%; | |
} | |
.footer-box:hover:after { | |
top: 60%; | |
left: 13%; | |
} | |
.footer-box { | |
width: 100%; | |
margin: 10px 0; | |
height: auto; | |
} | |
.footer-box:after { | |
display: none !important; | |
} | |
.footer-link-group { | |
float: none; | |
width: 100%; | |
margin: 0; | |
padding: 10px !important; | |
border: 0; | |
} | |
} | |
@media screen and (max-width: 600px) { | |
.main-nav li { | |
width: 50%; | |
} | |
.main-nav li:nth-child(even) { | |
border-right: 0; | |
} | |
.main-nav li:nth-child(n+5) { | |
border-bottom: 1px solid rgba(255,255,255,0.2); | |
} | |
.top-ad-treehouse { | |
top: 315px; | |
} | |
.ad-treehouse-desc { | |
display: none; | |
} | |
#deals a.footer-box { | |
background-size: 480px 190px; | |
} | |
.sharing { | |
width: 100%; | |
padding-right: 0 !important; | |
} | |
.infoput, #inputs textarea { | |
-webkit-box-shadow: none; | |
-moz-box-shadow: none; | |
box-shadow: none; | |
border: 1px solid #ccc; | |
} | |
} | |
@media print { | |
aside { display: none; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment