Skip to content

Instantly share code, notes, and snippets.

@tdreyno
Created April 8, 2010 17:34
Show Gist options
  • Save tdreyno/360312 to your computer and use it in GitHub Desktop.
Save tdreyno/360312 to your computer and use it in GitHub Desktop.
@import "base";
@include global-reset;
@include blueprint-typography;
body {
background: $unfocused-background-color image_url("white-bg.jpg") repeat-y 50% 0;
color: $text-color;
}
.content_wrapper {
@include container;
width: 910px;
}
#header {
height: 72px;
background: $header-background-color;
@include clearfix;
h1 {
color: white;
@include float-left;
a {
@include replace-text("logo.jpg");
width: 116px;
height: 72px;
display: block;
text-decoration: none;
}
}
ul {
@include horizontal-list;
padding: 0 0 0 25px;
li {
@include incr(18px);
padding: 0 20px 0 0;
text-transform: uppercase;
a {
color: #febf0f;
text-decoration: none;
width: 100px;
height: 72px;
display: block;
}
&#header-threads a {
@include replace-text("header-threads-text.jpg");
}
&#header-timeline a {
@include replace-text("header-timeline-text.jpg");
}
}
}
}
#paging {
background: $paging-background-color;
height: 33px;
padding: 15px 0 0 0;
h6 {
@include float-left;
color: #908f8b;
padding-right: 20px;
text-transform: uppercase;
a {
color: #f07b07;
text-decoration: none;
}
}
ul {
@include horizontal-list;
li {
padding: 3px 4px;
a {
color: #4c4c4c;
@include replace-text("thread-paging-inactive-bullet.jpg");
width: 10px;
height: 10px;
display: block;
}
&.active a {
color: #f17d06;
background-image: image_url("thread-paging-active-bullet.jpg");
}
}
}
}
#thread {
@include container;
width: 910px;
}
.js {
#content {
overflow: hidden;
width: 100%;
position: relative;
}
#thread {
padding: 0;
width: 5000px;
position: absolute;
top: 0px;
left: 0px;
@include transition-rule;
@include transition-property(left);
@include transition-duration(0.5s);
//@include transition-timing-function(ease-in-out);
@for $i from 0 through 30 {
&.position#{$i} {
@include transition-rule;
left: ($i * -910px);
}
}
}
}
.story {
@include float-left;
width: 810px;
padding: 0 50px;
h4.date {
@include float-right;
@include span(1);
background: $unfocused-background-color;
padding: 10px 20px;
@include border-radius(3px);
}
h1 {
padding: 40px 0 20px 0;
border-bottom: $thick-border;
color: $story-title-color;
@include incr(30px);
}
.artifacts {
@include column(3);
.row {
@include clearfix;
border-bottom: $dotted-border;
margin-bottom: $blueprint-grid-margin;
}
.artifact {
color: $light-text-color;
img {
margin-bottom: 0.5em;
}
a {
font-weight: bold;
text-decoration: none;
color: #0a83e0;
}
}
.threecol { @include column(3); }
.twocol { @include column(2); }
.onecol { @include column(1); }
.last { @include last; }
}
.information {
@include column(1.6, true);
border-bottom: $dotted-border;
margin-left: 40px;
h2 {
@include incr(20px, $blueprint-font-size, 35px);
}
.textblock p {
@include incr(13px, $blueprint-font-size, 26px);
}
.quote {
color: $quote-text-color;
blockquote {
@include incr(18px, $blueprint-font-size, 30px);
color: $quote-text-color;
margin: 0;
padding: 12px 18px;
background: $quote-background-color;
@include border-radius(5px);
}
cite {
display: block;
padding: 0.5em 18px 1.5em 18px;
}
}
.disclosure {
border-top: $dotted-border;
h5 {
padding: 10px 0;
margin: 0;
color: $disclosure-text-color;
}
p {
color: #a8a8a8;
}
}
}
}
#footer {
@include container;
background: white;
width: 810px;
padding: $blueprint-grid-margin 0;
.inner {
border-top: $thick-border;
padding: 30px 0;
}
p {
@include float-right;
@include incr(10px);
color: #b3b3b3;
}
ul {
@include horizontal-list;
li {
padding: 0 30px 0 0;
a {
text-decoration: none;
color: #ef7a06;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment