diff options
Diffstat (limited to 'js/yui3/cssfonts-context/cssfonts-context.css')
-rw-r--r-- | js/yui3/cssfonts-context/cssfonts-context.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/js/yui3/cssfonts-context/cssfonts-context.css b/js/yui3/cssfonts-context/cssfonts-context.css new file mode 100644 index 000000000..12dc270d6 --- /dev/null +++ b/js/yui3/cssfonts-context/cssfonts-context.css @@ -0,0 +1,48 @@ +/* +YUI 3.7.3 (build 5687) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +/** + * Percents could work for IE, but for backCompat purposes, we are using keywords. + * x-small is for IE6/7 quirks mode. + */ +.yui3-cssfonts body, .yui3-cssfonts { + font:13px/1.231 arial,helvetica,clean,sans-serif; + *font-size:small; /* for IE */ + *font:x-small; /* for IE in quirks mode */ +} + +/** + * Nudge down to get to 13px equivalent for these form elements + */ +.yui3-cssfonts select, +.yui3-cssfonts input, +.yui3-cssfonts button, +.yui3-cssfonts textarea { + font:99% arial,helvetica,clean,sans-serif; +} + +/** + * To help tables remember to inherit + */ +.yui3-cssfonts table { + font-size:inherit; + font:100%; +} + +/** + * Bump up IE to get to 13px equivalent for these fixed-width elements + */ +.yui3-cssfonts pre, +.yui3-cssfonts code, +.yui3-cssfonts kbd, +.yui3-cssfonts samp, +.yui3-cssfonts tt { + font-family:monospace; + *font-size:108%; + line-height:100%; +} +/* YUI CSS Detection Stamp */ +#yui3-css-stamp.cssfonts-context { display: none; } |