YUI base.css in SASS

37 views
Skip to first unread message

Jordan Isip

unread,
Feb 20, 2008, 2:51:41 PM2/20/08
to Haml
Here is the YUI base.css converted to SASS. It makes for a good
starting point (after a reset.css). Just posting in case anyone wants
it.


=================================================
/
Setting base HTML Elements that were reset by YUI Reset.
UI base.css, version: 2.4.1 part of YUI's CSS Foundation

h1
:font-size 138.5%

h2
:font-size 123.1%

h3
:font-size 108%

h1,h2,h3
:margin 1em 0

h1,h2,h3,h4,h5,h6,strong
:font-weight bold

abbr,acronym
:border-bottom 1px dotted #000
:cursor help

em
:font-style italic

blockquote,ul,ol,dl
:margin 1em

ol,ul,dl
:margin-left 2em

ol li
:list-style decimal outside

ul li
:list-style disc outside

dl dd
:margin-left 1em

th,td
:border 1px solid #000
:padding .5em

th
:font-weight bold
:text-align center

caption
:margin-bottom .5em
:text-align center

p,fieldset,table,pre
:margin-bottom 1em

/
setting a consistent width, 160px
control of type=file still not possible
input[type=text],input[type=password],textarea
:width 12.25em
:*width 11.9em

=================================================

By the way, thanks for HAML + SASS!
Reply all
Reply to author
Forward
0 new messages