grid_12-825-55-15.css (4970B)
1 /*Notes about grid: 2 Columns: 12 3 Grid Width: 825px 4 Column Width: 55px 5 Gutter Width: 15px 6 -------------------------------*/ 7 8 9 .section { 10 margin-bottom: 18px; 11 } 12 13 .section:after { 14 content: '.'; 15 display: block; 16 height: 0; 17 clear: both; 18 visibility: hidden; 19 } 20 21 .section { 22 *zoom: 1; 23 } 24 25 .section .firstcolumn, 26 .section .firstcol { 27 margin-left: 0; 28 } 29 30 31 /* Border on left hand side of a column. */ 32 .border { 33 padding-left: 7px; 34 margin-left: 7px; 35 border-left: 1px solid #eee; 36 } 37 38 /* Border with more whitespace, spans one column. */ 39 .colborder { 40 padding-left: 42px; 41 margin-left: 42px; 42 border-left: 1px solid #eee; 43 } 44 45 46 /* The Grid Classes */ 47 .grid1, .grid1_2cols, .grid1_3cols, .grid1_4cols, .grid2, .grid2_3cols, .grid2_4cols, .grid3, .grid3_2cols, .grid3_4cols, .grid4, .grid4_3cols, .grid5, .grid5_2cols, .grid5_3cols, .grid5_4cols, .grid6, .grid6_4cols, .grid7, .grid7_2cols, .grid7_3cols, .grid7_4cols, .grid8, .grid8_3cols, .grid9, .grid9_2cols, .grid9_4cols, .grid10, .grid10_3cols, .grid10_4cols, .grid11, .grid11_2cols, .grid11_3cols, .grid11_4cols, .grid12 { 48 margin-left: 15px; 49 float: left; 50 display: inline; 51 overflow: hidden; 52 } 53 54 55 .width1, .grid1, .span-1 { 56 width: 55px; 57 } 58 59 .width1_2cols, .grid1_2cols { 60 width: 20px; 61 } 62 63 .width1_3cols, .grid1_3cols { 64 width: 8px; 65 } 66 67 .width1_4cols, .grid1_4cols { 68 width: 2px; 69 } 70 71 .input_width1 { 72 width: 49px; 73 } 74 75 .width2, .grid2, .span-2 { 76 width: 125px; 77 } 78 79 .width2_3cols, .grid2_3cols { 80 width: 31px; 81 } 82 83 .width2_4cols, .grid2_4cols { 84 width: 20px; 85 } 86 87 .input_width2 { 88 width: 119px; 89 } 90 91 .width3, .grid3, .span-3 { 92 width: 195px; 93 } 94 95 .width3_2cols, .grid3_2cols { 96 width: 90px; 97 } 98 99 .width3_4cols, .grid3_4cols { 100 width: 37px; 101 } 102 103 .input_width3 { 104 width: 189px; 105 } 106 107 .width4, .grid4, .span-4 { 108 width: 265px; 109 } 110 111 .width4_3cols, .grid4_3cols { 112 width: 78px; 113 } 114 115 .input_width4 { 116 width: 259px; 117 } 118 119 .width5, .grid5, .span-5 { 120 width: 335px; 121 } 122 123 .width5_2cols, .grid5_2cols { 124 width: 160px; 125 } 126 127 .width5_3cols, .grid5_3cols { 128 width: 101px; 129 } 130 131 .width5_4cols, .grid5_4cols { 132 width: 72px; 133 } 134 135 .input_width5 { 136 width: 329px; 137 } 138 139 .width6, .grid6, .span-6 { 140 width: 405px; 141 } 142 143 .width6_4cols, .grid6_4cols { 144 width: 90px; 145 } 146 147 .input_width6 { 148 width: 399px; 149 } 150 151 .width7, .grid7, .span-7 { 152 width: 475px; 153 } 154 155 .width7_2cols, .grid7_2cols { 156 width: 230px; 157 } 158 159 .width7_3cols, .grid7_3cols { 160 width: 148px; 161 } 162 163 .width7_4cols, .grid7_4cols { 164 width: 107px; 165 } 166 167 .input_width7 { 168 width: 469px; 169 } 170 171 .width8, .grid8, .span-8 { 172 width: 545px; 173 } 174 175 .width8_3cols, .grid8_3cols { 176 width: 171px; 177 } 178 179 .input_width8 { 180 width: 539px; 181 } 182 183 .width9, .grid9, .span-9 { 184 width: 615px; 185 } 186 187 .width9_2cols, .grid9_2cols { 188 width: 300px; 189 } 190 191 .width9_4cols, .grid9_4cols { 192 width: 142px; 193 } 194 195 .input_width9 { 196 width: 609px; 197 } 198 199 .width10, .grid10, .span-10 { 200 width: 685px; 201 } 202 203 .width10_3cols, .grid10_3cols { 204 width: 218px; 205 } 206 207 .width10_4cols, .grid10_4cols { 208 width: 160px; 209 } 210 211 .input_width10 { 212 width: 679px; 213 } 214 215 .width11, .grid11, .span-11 { 216 width: 755px; 217 } 218 219 .width11_2cols, .grid11_2cols { 220 width: 370px; 221 } 222 223 .width11_3cols, .grid11_3cols { 224 width: 241px; 225 } 226 227 .width11_4cols, .grid11_4cols { 228 width: 177px; 229 } 230 231 .input_width11 { 232 width: 749px; 233 } 234 235 .width12, .grid12, .span-12 { 236 width: 825px; 237 } 238 239 .input_width12 { 240 width: 819px; 241 } 242 243 /* Subdivided grid spaces */ 244 .emptycols_left1, .prepend-1 { 245 padding-left: 70px; 246 } 247 248 .emptycols_right1, .append-1 { 249 padding-right: 70px; 250 } 251 252 .emptycols_left2, .prepend-2 { 253 padding-left: 140px; 254 } 255 256 .emptycols_right2, .append-2 { 257 padding-right: 140px; 258 } 259 260 .emptycols_left3, .prepend-3 { 261 padding-left: 210px; 262 } 263 264 .emptycols_right3, .append-3 { 265 padding-right: 210px; 266 } 267 268 .emptycols_left4, .prepend-4 { 269 padding-left: 280px; 270 } 271 272 .emptycols_right4, .append-4 { 273 padding-right: 280px; 274 } 275 276 .emptycols_left5, .prepend-5 { 277 padding-left: 350px; 278 } 279 280 .emptycols_right5, .append-5 { 281 padding-right: 350px; 282 } 283 284 .emptycols_left6, .prepend-6 { 285 padding-left: 420px; 286 } 287 288 .emptycols_right6, .append-6 { 289 padding-right: 420px; 290 } 291 292 .emptycols_left7, .prepend-7 { 293 padding-left: 490px; 294 } 295 296 .emptycols_right7, .append-7 { 297 padding-right: 490px; 298 } 299 300 .emptycols_left8, .prepend-8 { 301 padding-left: 560px; 302 } 303 304 .emptycols_right8, .append-8 { 305 padding-right: 560px; 306 } 307 308 .emptycols_left9, .prepend-9 { 309 padding-left: 630px; 310 } 311 312 .emptycols_right9, .append-9 { 313 padding-right: 630px; 314 } 315 316 .emptycols_left10, .prepend-10 { 317 padding-left: 700px; 318 } 319 320 .emptycols_right10, .append-10 { 321 padding-right: 700px; 322 } 323 324 .emptycols_left11, .prepend-11 { 325 padding-left: 770px; 326 } 327 328 .emptycols_right11, .append-11 { 329 padding-right: 770px; 330 } 331 332 .pull-1 { 333 margin-left: -70px; 334 } 335 336 .push-1 { 337 margin-right: -70px; 338 margin-left: 18px; 339 float: right; 340 } 341 342 .pull-2 { 343 margin-left: -140px; 344 } 345 346 .push-2 { 347 margin-right: -140px; 348 margin-left: 18px; 349 float: right; 350 } 351 352 .pull-3 { 353 margin-left: -210px; 354 } 355 356 .push-3 { 357 margin-right: -210px; 358 margin-left: 18px; 359 float: right; 360 } 361 362 .pull-4 { 363 margin-left: -280px; 364 } 365 366 .push-4 { 367 margin-right: -280px; 368 margin-left: 18px; 369 float: right; 370 }