irrisponsibly massive commit

This commit is contained in:
Brandon Mathis 2011-04-17 22:49:30 -05:00
parent 4db81a9e51
commit e4c2d5790b
119 changed files with 16689 additions and 2442 deletions

View file

@ -1,3 +0,0 @@
//compass default reset
+global-reset
@import compass

View file

@ -1,51 +0,0 @@
$page_pad: 30px
$page_width: 980px
$sidebar_margin: 20px
$sidebar_width: 280px
$default_border_radius: 4px
html body
background-color: $body_bg
color: $body_color
a
color: $link_color
&:hover, &:focus
color: saturate(darken($link_color, 15), 20)
&:visited
color: darken(adjust_hue($link_color, 70), 10)
#header, #footer, #nav
.content
position: relative
margin: 0 auto
width: $page_width - $page_pad
padding: 0 $page_pad/2
#page, #header, #footer, #nav
min-width: $page_width
#page, #content, .content
+pie-clearfix
#content
margin: 0 auto
width: $page_width - $sidebar_width - $page_pad/2
padding: 0 $sidebar_width 0 $page_pad/2
#main
float: left
width: 100%
.content
padding-right: $sidebar_margin
#sidebar
float: left
width: $sidebar_width - $sidebar_margin
margin: 0 -100% 0 0
padding: $page_pad 0 $page_pad $sidebar_margin
#page.expanded
#content
width: $page_width - $page_pad/2
padding: 0 0 0 $page_pad/2
#sidebar
float: none
margin: 0
padding: 0 0 $page_pad

View file

@ -1,7 +0,0 @@
@import compass/utilities
@import compass/css3
@import library/reset
@import library/list_borders
@import library/typography
@import library/link_colors

View file

@ -1,13 +0,0 @@
@import partials/shared
@import partials/syntax
@import partials/search
@import partials/sidebar
@import partials/twitter
/* layout partials */
@import partials/header
@import partials/navigation
@import partials/page
@import partials/sidebar
@import partials/blog
@import partials/footer

View file

@ -1,47 +0,0 @@
// Link Colors
$link_color: lighten(#165B94, .30)
// Main Section Colors
$body_color: #333
$light_text: #999
$body_bg: #323232
$header_bg: #323232
$header_border: #181818
$title_color: #ddd
$nav_color: #555
$nav_color_hover: #000
$nav_bg: #e8e8e8
$nav_border_top: #fff
$nav_border_bottom: #aaa
$nav_border_left: #ccc
$nav_border_right: #fff
$page_border_sides: #ccc
$page_bg: #f0f0f0
$sidebar_bg: #fcfcfc
$sidebar_border: #eee
// Blog
$article_border: #eee
$main_bg: #fff
$footer_color: #999
$footer_bg: #444
// Form Colors
$fieldset_bg: #ececec
$fieldset_border: #c3c3c3
$textinput_color: #333
$textinput_bg: #f4f4f4
$textinput_bg_focus: #fefeee
$textinput_border_top: #aaa
$textinput_border_bottom: #c6c6c6
$textinput_border_left: #c3c3c3
$textinput_border_right: #c3c3c3
$textinput_border_focus: #989898
$twitter_topic: #888

View file

@ -1,45 +0,0 @@
$base_font_size: 16px
$base_font_size_small: 13px
$base_font_color: #333
$default_border_radius: 6px
+general-typography
=heading-font
+serif-font
=quote-font
+serif-font
body
font-size: $base_font_size
+serif-font
h1,h2,h3,h4,h5,h6
color: #333
font-weight: bold
+heading-font
h1,h2,h3,h4
letter-spacing: -1px
blockquote
+quote-font
font-style: italic
color: #555
background: #f8f8f8
border:
top: 1px solid #e5e5e5
bottom: 1px solid #e5e5e5
&:before
color: #ddd
cite
+sans-font
font-size: $base_font_size - 2px
display: block
padding-top: $base_font_size
&:before
content: "\30FC"
padding-right: 2px
a
color: inherit !important
&:hover
color: $link_color !important

View file

View file

@ -1,16 +0,0 @@
// based on compass float
@import modules/_clearfix.sass
// Available as alternate syntax with just +float
=float($side: "left")
display: inline
float: !side
// Implementation of float:left with fix for double-margin bug
=float-left
+float("left")
// Implementation of float:right with fix for double-margin bug
=float-right
+float("right")

View file

@ -1,24 +0,0 @@
$default_link_color: #165B94 !default
$default_link_color_hover: #fff !default
$default_link_color_alt: #91D5F1 !default
$default_link_color_hover_alt: #000 !default
=link-color($hover: true)
+link-color-style($default_link_color, $default_link_color_hover, $default_link_color, $hover)
=link-color-alt($hover: true)
+link-color-style($default_link_color_alt, $default_link_color_hover_alt, $default_link_color_alt, $hover)
=link-color-heading($link_color: "inherit", $hover_bg_color: #ccc)
+link-color-style($link_color)
=link-color-style($color: $default_link_color, $color_hover: $default_link_color_hover, $link_hover_bg: $color, $hover: true)
color: $color
padding: 2px
margin: 0 -2px
+border-radius(3px)
@if $hover
&:hover
background-color: $link_hover_bg
color: $color_hover
text-decoration: none

View file

@ -1,7 +0,0 @@
=list-borders($color1, $color2)
border-left: 1px solid $color1
border-right: 1px solid $color2
&.alpha
border-left: none
&.omega
border-right: 0

View file

@ -1,58 +0,0 @@
// Borrowed from the blueprint reset
// Global reset rules.
// For more specific resets, use the reset mixins provided below
=global-reset
html, body
+reset
+nested-reset
// Reset all elements within some selector scope.To reset the selector itself,
// mixin the appropriate reset mixin for that element type as well. This could be
// useful if you want to style a part of your page in a dramatically different way.
=nested-reset
div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
pre, a, abbr, acronym, address, code, del, dfn, em, img,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr
+reset
blockquote, q
+reset-quotation
th, td, caption
+reset-table-cell
table
+reset-table
a img
border: none
=reset-box-model
margin: 0
padding: 0
border: 0
=reset
+reset-box-model
font:
weight: inherit
style: inherit
size: 100%
family: inherit
vertical-align: baseline
=reset-quotation
+reset
quotes: "" ""
&:before,
&:after
content: ""
=reset-table-cell
+reset
text-align: left
font-weight: normal
vertical-align: middle
=reset-table
+reset
border-collapse: separate
border-spacing: 0
vertical-align: middle

View file

@ -1,171 +0,0 @@
$base-font-size: 16px !default
$small: floor($base-font-size * 0.85) !default
$big: floor($base-font-size * 1.25) !default
$base-font-color: #333333 !default
$h6: ceil($base-font-size * 1)
$h5: ceil($base-font-size * 1)
$h4: ceil($base-font-size * 1.2)
$h3: ceil($base-font-size * 1.8)
$h2: ceil($base-font-size * 2.8)
$h1: ceil($base-font-size * 3.2)
=heading-font
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
=sans-font
font-family: "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", Helvetica, Arial, Verdana, sans-serif
=serif-font
font-family: Georgia, Times, "Times New Roman", serif
=fixed-font
font-family: "Menlo", "Bitstream Vera Sans", Monaco, "Andale Mono", "Lucida Console", monospace
=mono-font
+fixed-font
=general-typography($font-size: $base-font-size)
+set-heading-sizes($font-size)
+typography-defaults($font-size)
=set-heading-sizes($font-size: $base-font-size)
$h6: ceil($font-size * 1)
$h5: ceil($font-size * 1)
$h4: ceil($font-size * 1.2)
$h3: ceil($font-size * 1.8)
$h2: ceil($font-size * 2.8)
$h1: ceil($font-size * 3.2)
h1, h2, h3, h4
&:first-child
margin-top: 0
h1,h2,h3,h4,h5,h6
line-height: 1.1em
margin-bottom: 0.7em
margin-top: 0.3em
h1
font-size: $h1
h2
font-size: $h2
h3
font-size: $h3
h4
font-size: $h4
h5
font-size: $h5
h6
font-size: $h6
=typography-defaults($font-size: $base-font-size)
body
line-height: 1.45em
color: $base-font-color
p
+p-style($font-size)
table
+table-style($font-size)
ol
+ol-style($font-size)
ul
+ul-style($font-size)
dl
+dl-style($font-size)
blockquote
+quote-style
q
font-style: italic
&:before
content: "\201C"
&:after
content: "\201D"
em, dfn
font-style: italic
strong, dfn
font-weight: bold
del
text-decoration: line-through
span.highlight, em.highlight, strong.highlight
background-color: #ffff66
padding: 2px
margin: 0 -2px
abbr, acronym
border-bottom: 1px dotted
cursor: help
address
margin-top: $font-size * 1.625
font-style: italic
pre, code, tt
+fixed-font
line-height: $font-size * 1.5
tt
display: block
margin: $font-size * 1.625 0
sub, sup
line-height: 0
hr
margin-bottom: 0.2em
small, .small
font-size: floor($font-size * 0.85)
big, .big
font-size: floor($font-size * 1.25)
=ol-style($font-size: $base-font-size)
list-style: inside decimal
margin: 0 0 $font-size * 1.625
li ol
margin: 0 0 $font-size * 1.625
=ul-style($font-size: $base-font-size)
list-style: inside
margin: 0 0 $font-size * 1.625
li ul
margin: 0 0 $font-size * 1.625
=dl-style($font-size: $base-font-size)
margin: 0 0 $font-size * 1.625
dt
font-weight: bold
dd
margin-left: $font-size * 1.625
=quote-style($font-size: $base-font-size)
padding: $font-size * 1.5 $font-size * 1.5 $font-size * 1.5 $font-size * 1.8
position: relative
margin-bottom: $font-size * 0.813
&:before
content: "\201C"
font-size: $font-size * 3
margin: 5px 0 0 -0.525em
position: absolute
font-family: Times, Georgia, serif
line-height: 0
> p
padding: 0
margin: 0
=p-style($font-size: $base-font-size)
padding-bottom: 1.3em
img
float: left
margin:
top: $font-size * 0.5
right: $font-size * 0.813
bottom: $font-size * 0.813
left: 0
padding: 0
&.right
margin:
right: 0
left: $font-size * 0.813
=table-style($font-size: $base-font-size)
margin: 0 0 $font-size * 1.625
border-collapse: collapse
th
font-weight: bold
tr, th, td
margin: 0
padding: 0 $font-size * 1.625 0 $font-size
tfoot
font-style: italic
caption
text-align: center

View file

@ -1,26 +0,0 @@
.blog
h2
padding-top: 0
margin-bottom: 0.1em
.title
text-decoration: none
&:hover
text-decoration: underline
.article
padding: $base-font-size * 1.5 0 $base-font-size * 1.5
border-bottom: 1px solid $article-border
&:first-child
padding-top: 0
#disqus_thread
padding-top: $base-font-size
.meta
+sans-font
border-bottom: 1px dashed #dddddd
text-transform: uppercase
color: #777777
padding: 8px 0 5px
margin-bottom: 1.5em
font-size: 75%
letter-spacing: 1px
.footer
padding-top: 15px

View file

@ -1,12 +0,0 @@
#footer
+linear-gradient(color-stops(darken($body-bg, 5), $body-bg))
font-size: $base-font-size-small
color: $footer-color
border-top: 10px solid $footer-bg
padding: 15px 0
position: relative
z-index: 2
a
color: #dddddd
&:hover
color: white

View file

@ -1,11 +0,0 @@
#header
background-color: $header_bg
border-bottom: 1px solid $header_border
padding: 25px 0
h1
display: inline-block
margin: 0
a.title
font-weight: normal
color: $title_color
text-decoration: none

View file

@ -1,38 +0,0 @@
#nav
+clearfix
position: relative
z-index: 1
background-color: $nav-bg
+linear-gradient(color-stops(#fcfcfc, #f4f4f4 0.3, #dddddd))
border:
top: 1px solid $nav-border-top
bottom: 1px solid $nav-border-bottom
ul
position: relative
+horizontal-list
margin: 0 auto
padding: 6px 0
li
padding: 0 15px
border-left: 1px solid $nav-border-left
border-right: 1px solid $nav-border-right
&.alpha
border-left: none
padding-left: 0
&.omega
border-right: 0
&.subscribe
position: absolute
left: $page-width - $sidebar-width - $sidebar-margin / 2
border: none
a
display: inline-block
padding-left: 28px
background: image-url("rss.png") left top no-repeat
a
display: inline-block
color: $nav-color
line-height: 150%
text-decoration: none
&:hover
color: $nav-color-hover

View file

@ -1,8 +0,0 @@
#page
background-color: $main_bg
#main
background-color: $main_bg
border-right: 1px solid $sidebar_border
padding:
top: 25px
bottom: 25px

View file

@ -1,20 +0,0 @@
#search
position: absolute
left: $page-width + $sidebar-margin - $sidebar-width
top: 30%
form
background: image-url("search_bg.png") no-repeat
padding: 0
height: 28px
width: 218px
#q
background: none
position: relative
top: 1px
width: 160px
margin-left: 30px
font-size: 15px
border: none
color: #aaaaaa
&:focus
outline: none

View file

@ -1,13 +0,0 @@
#collapser
+sans-font
display: block
cursor: pointer
background: #f8f8f8
color: #888
padding: 5px 10px
font-size: 10px
line-height: 150%
cursor: pointer
position: absolute
top: 0
right: 0

View file

@ -1,37 +0,0 @@
#sidebar
line-height: 1.45em
font-size: 90%
h3
font-size: $h4 + 2
margin: 20px -15px 10px
padding: 12px 15px
background: white
border-bottom: 1px solid #e5e5e5
border-top: 1px solid #e5e5e5
&:first-child
margin-top: 0
h4
font-size: $h5
#twitter, #delicious
+border-radius
background: #f8f8f8
border: 1px solid #eeeeee
padding: 5px 0
ul
list-style-type: none
margin: 0
li
margin: 0 15px
padding: 10px 0 0
border-bottom: #dddddd 1px dashed
&:last-child
border-bottom: 0
#delicious
p
font-style: italic
li
color: #666666
font-style: normal
padding-bottom: 8px

View file

@ -1,281 +0,0 @@
.code_window
+border-top-radius(5px)
+border-bottom-radius(2px)
background: #aaaaaa image-url("code_bg.png") top repeat-x
position: relative
margin: 0.3em 0 1.3em
padding: 0 3px 3px
font-size: 14px
border: 1px solid #898989
border-top-color: #cbcbcb
border-left-color: #a5a5a5
border-right-color: #a5a5a5
em
text-align: center
+text-shadow(#cccccc, 1px, 1px, 1px)
display: block
padding: 1px 0
color: #333333
font-style: normal
+sans-font
.highlight
margin: 0
pre
color: #cccccc
font-size: 13px
background: #222222
line-height: 1.5em
border: #aaaaaa 1px solid
overflow-x: auto
overflow-y: hidden
padding: 25px 20px
.lineno
color: #888888
background: #e3e3e3
display: inline-block
padding: 0 0 0 10px
&:first-child
padding-top: 15px
display: inline-block
.highlight
position: relative
.pre_expander
+mono-font
font-size: 10px
text-align: right
padding: 4px 8px
line-height: 150%
position: absolute
cursor: pointer
top: 2px
right: 2px
+border-bottom-left-radius
display: block
color: #777777
background: #333333
&:hover
background: #444444
color: #cccccc
// based on: http://github.com/mojombo/tpw/raw/master/css/syntax.css
.editor
background: rgb(0, 22, 41)
line-height: 1.25
pre.console
background-color: black
color: lighten(green, 25)
letter-spacing: 1px
padding: 0.5em
.prompt
color: lighten(navy, 50)
&:before
color: white
content: "["
&:after
color: white
content: "]"
.stdin
font-weight: bold
color: lighten(green, 75)
.highlight
padding: 0 0 0.1em
color: white
// Comment
.c
color: #999988
font-style: italic
// Error
.err
color: #a61717
background-color: #e3d2d2
// Name
.n
color: white
// Keyword
.k
color: rgb(255, 157, 0)
// Paren
.p
color: darken(#ff9d00, 33)
// Operator
.o
color: rgb(255, 157, 0)
// Comment.Multiline
.cm
color: #999988
font-style: italic
// Comment.Preproc
.cp
color: #999999
// Comment.Single
.c1
color: #999988
font-style: italic
// Comment.Special
.cs
color: #999999
font-style: italic
// Generic.Deleted
.gd
color: black
background-color: #ffdddd
// Generic.Deleted.Specific
.gd .x
color: black
background-color: #ffaaaa
// Generic.Emph
.ge
font-style: italic
// Generic.Error
.gr
color: #aa0000
// Generic.Heading
.gh
color: #999999
// Generic.Inserted
.gi
color: black
background-color: #ddffdd
// Generic.Inserted.Specific
.gi .x
color: black
background-color: #aaffaa
// Generic.Output
.go
color: #888888
// Generic.Prompt
.gp
color: #555555
// Generic.Strong
.gs
color: white
// Generic.Subheading
.gu
color: #aaaaaa
// Generic.Traceback
.gt
color: #aa0000
// Keyword.Constant
.kc
color: white
// Keyword.Declaration
.kd
color: white
// Keyword.Pseudo
.kp
color: white
// Keyword.Reserved
.kr
color: white
// Keyword.Type
.kt
color: #445588
// Literal.Number
.m
color: rgb(255, 98, 140)
// Literal.String
.s
color: #dd1144
// Name.Attribute
.na
color: teal
// Name.Builtin
.nb
color: darken(rgb(128, 255, 187), 20)
// Name.Class
.nc
color: darken(rgb(128, 255, 187), 20)
// Name.Constant
.no
color: rgb(128, 255, 187)
// Name.Entity
.ni
color: purple
// Name.Exception
.ne
color: rgb(255, 221, 0)
// Name.Function
.nf
color: rgb(255, 221, 0)
// Name.Namespace
.nn
color: #555555
// Name.Tag
.nt
color: white
// Name.Variable
.nv
color: teal
// Operator.Word
.ow
color: white
// Text.Whitespace
.w
color: #bbbbbb
// Literal.Number
.nl
color: rgb(255, 98, 140)
// Literal.Number.Float
.mf
color: rgb(255, 98, 140)
// Literal.Number.Hex
.mh
color: rgb(255, 98, 140)
// Literal.Number.Integer
.mi
color: rgb(255, 98, 140)
// Literal.Number.Oct
.mo
color: rgb(255, 98, 140)
// Literal.String.Backtick
.sb
color: rgb(58, 217, 0)
// Literal.String.Char
.sc
color: rgb(58, 217, 0)
// Literal.String.Doc
.sd
color: rgb(58, 217, 0)
// Literal.String.Double
.s2
color: rgb(58, 217, 0)
// Literal.String.Escape
.se
color: rgb(58, 217, 0)
// Literal.String.Heredoc
.sh
color: rgb(58, 217, 0)
// Literal.String.Interpol
.si
color: rgb(158, 255, 128)
// Literal.String.Other
.sx
color: rgb(58, 217, 0)
// Literal.String.Regex
.sr
color: #009926
// Literal.String.Single
.s1
color: rgb(58, 217, 0)
// Literal.String.Symbol
.ss
color: rgb(255, 98, 140)
// Name.Builtin.Pseudo
.bp
color: #999999
// Name.Variable.Class
.vc
color: teal
// Name.Variable.Global
.vg
color: teal
// Name.Variable.Instance
.vi
color: teal
// Literal.Number.Integer.Long
.il
color: rgb(255, 98, 140)

View file

@ -1,15 +0,0 @@
#twitter
p
padding-bottom: 10px
a.topic
color: $twitter_topic
.meta
color: $light_text
font-size: 80%
display: block
padding: 8px 0 0
a
color: inherit
text-decoration: none
&:hover
text-decoration: underline

View file

View file

@ -1,11 +0,0 @@
/* SASS mixins */
@import library
/* primary SASS */
@import base
@import theme
@import typography
@import layout
/* specific SASS */
@import partials