diff options
Diffstat (limited to 'stylesheets/library')
-rw-r--r-- | stylesheets/library/_float.sass | 16 | ||||
-rw-r--r-- | stylesheets/library/_link_colors.sass | 24 | ||||
-rw-r--r-- | stylesheets/library/_list_borders.sass | 7 | ||||
-rw-r--r-- | stylesheets/library/_reset.sass | 58 | ||||
-rw-r--r-- | stylesheets/library/_typography.sass | 171 |
5 files changed, 0 insertions, 276 deletions
diff --git a/stylesheets/library/_float.sass b/stylesheets/library/_float.sass deleted file mode 100644 index 1bb6ea3f..00000000 --- a/stylesheets/library/_float.sass +++ /dev/null @@ -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")
\ No newline at end of file diff --git a/stylesheets/library/_link_colors.sass b/stylesheets/library/_link_colors.sass deleted file mode 100644 index d822c81b..00000000 --- a/stylesheets/library/_link_colors.sass +++ /dev/null @@ -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
\ No newline at end of file diff --git a/stylesheets/library/_list_borders.sass b/stylesheets/library/_list_borders.sass deleted file mode 100644 index aaa5ed2b..00000000 --- a/stylesheets/library/_list_borders.sass +++ /dev/null @@ -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
\ No newline at end of file diff --git a/stylesheets/library/_reset.sass b/stylesheets/library/_reset.sass deleted file mode 100644 index cc0de601..00000000 --- a/stylesheets/library/_reset.sass +++ /dev/null @@ -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 diff --git a/stylesheets/library/_typography.sass b/stylesheets/library/_typography.sass deleted file mode 100644 index d433601d..00000000 --- a/stylesheets/library/_typography.sass +++ /dev/null @@ -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 |