Skip to content

Commit

Permalink
Add yui-css-rest-context
Browse files Browse the repository at this point in the history
  • Loading branch information
stjhimy committed Oct 15, 2011
1 parent 4fea292 commit 9fd7fd6
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
125 changes: 125 additions & 0 deletions vendor/assets/stylesheets/yui-css-reset-context.css
@@ -0,0 +1,125 @@
/*
YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
/*e
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
.yui3-cssreset html{
color:#000;
background:#FFF;
}
/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
.yui3-cssreset body,
.yui3-cssreset div,
.yui3-cssreset dl,
.yui3-cssreset dt,
.yui3-cssreset dd,
.yui3-cssreset ul,
.yui3-cssreset ol,
.yui3-cssreset li,
.yui3-cssreset h1,
.yui3-cssreset h2,
.yui3-cssreset h3,
.yui3-cssreset h4,
.yui3-cssreset h5,
.yui3-cssreset h6,
.yui3-cssreset pre,
.yui3-cssreset code,
.yui3-cssreset form,
.yui3-cssreset fieldset,
.yui3-cssreset legend,
.yui3-cssreset input,
.yui3-cssreset textarea,
.yui3-cssreset p,
.yui3-cssreset blockquote,
.yui3-cssreset th,
.yui3-cssreset td {
margin:0;
padding:0;
}
.yui3-cssreset table {
border-collapse:collapse;
border-spacing:0;
}
.yui3-cssreset fieldset,
.yui3-cssreset img {
border:0;
}
/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
.yui3-cssreset address,
.yui3-cssreset caption,
.yui3-cssreset cite,
.yui3-cssreset code,
.yui3-cssreset dfn,
.yui3-cssreset em,
.yui3-cssreset strong,
.yui3-cssreset th,
.yui3-cssreset var {
font-style:normal;
font-weight:normal;
}

.yui3-cssreset ol,
.yui3-cssreset ul {
list-style:none;
}

.yui3-cssreset caption,
.yui3-cssreset th {
text-align:left;
}
.yui3-cssreset h1,
.yui3-cssreset h2,
.yui3-cssreset h3,
.yui3-cssreset h4,
.yui3-cssreset h5,
.yui3-cssreset h6 {
font-size:100%;
font-weight:normal;
}
.yui3-cssreset q:before,
.yui3-cssreset q:after {
content:'';
}
.yui3-cssreset abbr,
.yui3-cssreset acronym {
border:0;
font-variant:normal;
}
/* to preserve line-height and selector appearance */
.yui3-cssreset sup {
vertical-align:text-top;
}
.yui3-cssreset sub {
vertical-align:text-bottom;
}
.yui3-cssreset input,
.yui3-cssreset textarea,
.yui3-cssreset select {
font-family:inherit;
font-size:inherit;
font-weight:inherit;
}
/*to enable resizing for IE*/
.yui3-cssreset input,
.yui3-cssreset textarea,
.yui3-cssreset select {
*font-size:100%;
}
/*because legend doesn't inherit in IE */
.yui3-cssreset legend {
color:#000;
}

7 changes: 7 additions & 0 deletions vendor/assets/stylesheets/yui-css-reset-context.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fd7fd6

Please sign in to comment.