Changeset 8370

Show
Ignore:
Timestamp:
04/30/07 16:35:32 (19 months ago)
Author:
alex
Message:

roll in the YUI CSS rules now that we've vetted the IP. Should speed up page loading considerably. Fixes #2872.

Location:
dojo/trunk/resources
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/resources/dojo.css

    r8304 r8370  
    77*/ 
    88 
    9 @import "http://yui.yahooapis.com/2.2.1/build/reset/reset-min.css"; 
    10 @import "http://yui.yahooapis.com/2.2.1/build/fonts/fonts-min.css"; 
     9/* 
     10        The below are borrowed from YUI's reset style sheets for pages and fonts. 
     11        We've verified w/ the YUI development team that these are entirely 
     12        copyright Yahoo, written entirely by Nate Koechley and Matt Sweeney without 
     13        external contributions. 
     14 
     15        Copyright (c) 2007, Yahoo! Inc. All rights reserved. 
     16        Code licensed under the BSD License: 
     17        http://developer.yahoo.net/yui/license.txt 
     18        version: 2.2.1 
     19*/ 
     20 
     21body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { 
     22        margin: 0; 
     23        padding: 0; 
     24} 
     25 
     26table{ 
     27        border-collapse: collapse; 
     28        border-spacing: 0; 
     29} 
     30 
     31fieldset, img { 
     32        border: 0; 
     33} 
     34 
     35address,caption,cite,code,dfn,em,strong,th,var{ 
     36        font-style: normal;  
     37        font-weight: normal; 
     38} 
     39 
     40/* 
     41        alex: hate this. 
     42 
     43ol, ul { 
     44        list-style: none; 
     45} 
     46*/ 
     47 
     48caption, th { 
     49        text-align: left; 
     50} 
     51 
     52h1, h2, h3, h4, h5, h6 { 
     53        font-size: 100%; 
     54        font-weight: normal; 
     55} 
     56 
     57q:before, q:after { 
     58        content:''; 
     59} 
     60 
     61abbr, acronym { 
     62        border:0; 
     63} 
     64 
     65body { 
     66        font: 13px arial,helvetica,clean,sans-serif;  
     67        *font-size: small; 
     68        *font: x-small; 
     69} 
     70 
     71table { 
     72        font-size: inherit; 
     73        font: 100%; 
     74} 
     75 
     76select, input, textarea { 
     77        font: 99% arial,helvetica,clean,sans-serif; 
     78} 
     79 
     80pre, code { 
     81        font:115% monospace; 
     82        *font-size:100%; 
     83} 
     84 
     85body * { 
     86        line-height:1.22em; 
     87} 
    1188 
    1289/*  
     90 
     91        End YUI imported code. 
     92        Begin Dojo additions. 
     93 
    1394        Style definitions, based partially on the Tundra theme. 
    1495        Relative unit calculations based on "Compose to a Vertical Rhythm",