2 Copyright (c) 2007, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
7 /* for all templates and grids */
8 body
{text-align:center
;}
11 /* 750 centered, and backward compatibility */
12 #doc,#doc2
,#doc3
,#doc4
,.yui-t1
,.yui-t2
,.yui-t3
,.yui-t4
,.yui-t5
,.yui-t6
,.yui-t7
{
13 margin:auto
;text-align:left
;
14 width:57.69em;*width:56.301em;min-width:750px;}
17 width:73.074em;*width:71.313em;}
18 /* 100% with 10px viewport side matting */
20 margin:auto
10px; /* not for structure, but so content doesn't bleed to edge */
24 width:74.923em;*width:73.117em;}
26 /* below required for all fluid grids; adjust widths and margins above accordingly */
28 /* to preserve source-order independence for Gecko */
29 .yui-b{position:relative
;}
30 .yui-b{_position:static
;} /* for IE < 7 */
31 #yui-main .yui-b
{position:static
;}
33 #yui-main {width:100%;}
36 .yui-t3 #yui-main{float:right
;margin-left:-25em;/* IE: preserve layout at narrow widths */}
40 .yui-t6 #yui-main{float:left
;margin-right:-25em;/* IE: preserve layout at narrow widths */}
44 width:12.3207em;*width:12.0106em;}
45 .yui-t1 #yui-main .yui-b{
46 margin-left:13.3207em;*margin-left:13.0106em;
51 width:13.8456em;*width:13.512em;}
52 .yui-t2 #yui-main .yui-b {
53 margin-left:14.8456em;*margin-left:14.512em;
58 width:23.0759em;*width:22.52em;}
59 .yui-t3 #yui-main .yui-b {
60 margin-left:24.0759em;*margin-left:23.52em;
65 width:13.8456em;*width:13.512em;}
66 .yui-t4 #yui-main .yui-b {
67 margin-right:14.8456em;*margin-right:14.512em;
72 width:18.4608em;*width:18.016em;}
73 .yui-t5 #yui-main .yui-b {
74 margin-right:19.4608em;*margin-right:19.016em;
79 width:23.0759em;*width:22.52em;}
80 .yui-t6 #yui-main .yui-b {
81 margin-right:24.0759em;*margin-right:23.52em;
84 .yui-t7 #yui-main .yui-b {
85 display:block
;margin:0 0 1em 0;
87 #yui-main .yui-b
{float:none
;width:auto
;}
88 /* GRIDS (not TEMPLATES) */
90 .yui-gb
.yui-g
,/*new for nesting normal grids in special grids*/
91 .yui-gb
.yui-gb
,/*new for nesting normal grids in special grids*/
93 .yui-g
.yui-gb
.yui-u
,
100 .yui-gd .yui-u{float:left
;margin-left:2%;width:32%;}
102 .yui-gb
.yui-gb
.yui-u
,
103 .yui-gb .yui-gc .yui-u {_margin-left:1.2%;*margin-left:1.7%;}
104 .yui-g .yui-gb .yui-u {_margin-left:.8%;} /* for #8-10 for IE6 */
105 .yui-gb .yui-u {margin-left:2%;width:32%;float:right
;*width:31.8%;}
106 .yui-gb div.first {margin-left:0;*margin-right:1px;float:left
;}
107 .yui-gb .yui-gb div.first {*margin-right:0;width:31.7%;} /* for #29 for IE7*/
108 .yui-gb
.yui-gc div
.first
, /* for #41 for IE7 */
109 .yui-gb
.yui-gd div
.first
/* for #40 for IE7 */
112 .yui-g
.yui-gc div
.first
,
113 .yui-g .yui-ge div.first {float:left
;}
115 .yui-gb .yui-gd .yui-u {*width:66%;_width:61.2%;}
116 .yui-gb .yui-gd div.first {*width:31%;_width:29.5%;}
118 .yui-gb
.yui-gc
.yui-u
,
119 .yui-g .yui-gc .yui-u {_float:right
;width:32%;_width:29.9%;}
120 .yui-gb .yui-gc div.first {width:66%;*width:64.5%;*float:left
;*margin-left:0;}
121 .yui-gb
.yui-ge
.yui-u
,
122 .yui-gb .yui-gf .yui-u {margin:0;}
124 /*Float units (and sub grids) to the right */
134 .yui-g
.yui-gc
.yui-u
,
138 .yui-gf .yui-u{float:right
;display:inline
;}
140 /*Float units (and sub grids) to the left */
144 .yui-gc div
.first div
.first
,
147 .yui-gf div.first{float:left
;}
149 .yui-g
.yui-g
.yui-u
,
150 .yui-gb
.yui-g
.yui-u
,
151 .yui-gc
.yui-g
.yui-u
,
152 .yui-gd
.yui-g
.yui-u
,
153 .yui-ge
.yui-g
.yui-u
,
154 .yui-gf .yui-g .yui-u {width:48.1%;*margin-left:0;}
155 .yui-g .yui-g div.first {*margin:0;}
156 .yui-gb .yui-g div.first {*margin-right:1px;}
158 .yui-gb .yui-gb .yui-u {_margin-left:.7%;} /* for #23-32 for IE6*/
159 .yui-gb
.yui-g div
.first
, /* for #23 for IE6*/
160 .yui-gb .yui-gb div.first {*margin-left:0;}
162 .yui-gc
.yui-g
.yui-u
,
163 .yui-gd .yui-g .yui-u {_width:48.1%;*width:48.1%;*margin-left:0;}
171 .yui-g .yui-gf {width:49.1%;}
173 .yui-g
.yui-gb div
.first
,
176 .yui-gd div.first {margin-left:0;}
178 .yui-g
.yui-gc div
.first
,
180 .yui-gd
.yui-g
, /* for 056, 057 */
181 .yui-gd .yui-u {width:66%;}
184 .yui-gb .yui-gd div.first {width:32%;}
185 .yui-g .yui-gd div.first {_width:29.9%;}
189 .yui-gf div.first {width:24%;}
193 .yui-gf .yui-u{width:74.2%;}
195 /* narrower width in nexted contexts */
196 .yui-gb
.yui-ge
.yui-u
,
197 .yui-gb .yui-gf div.first {*width:24%;_width:20%;}
199 /* narrower width in nexted contexts */
200 .yui-gb
.yui-ge div
.first
,
201 .yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}
209 .yui-gf:after{content:".";display:block
;height:0;clear:both
;visibility:hidden
;}