aboutsummaryrefslogtreecommitdiff
path: root/stylesheets/library/_reset.sass
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-05 21:34:41 -0600
committerB Mathis <brandon@imathis.com>2009-11-05 21:34:41 -0600
commitf7700443ece4537c252b10a7463d12fd1725f40a (patch)
tree9eefa52f5435bdfb7fd86984ee7ae3ed518b4f5f /stylesheets/library/_reset.sass
parent145f81046bc5881d7da86b05c8b92862b63f8080 (diff)
downloadmy_new_personal_website-f7700443ece4537c252b10a7463d12fd1725f40a.tar.xz
my_new_personal_website-f7700443ece4537c252b10a7463d12fd1725f40a.zip
moved stylesheets
Diffstat (limited to 'stylesheets/library/_reset.sass')
-rw-r--r--stylesheets/library/_reset.sass58
1 files changed, 58 insertions, 0 deletions
diff --git a/stylesheets/library/_reset.sass b/stylesheets/library/_reset.sass
new file mode 100644
index 00000000..af4fe754
--- /dev/null
+++ b/stylesheets/library/_reset.sass
@@ -0,0 +1,58 @@
+// 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