]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/javascript/yui/build/base/base.css
Release 6.5.0
[Github/sugarcrm.git] / include / javascript / yui / build / base / base.css
1 /*
2 Copyright (c) 2011, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
5 version: 2.9.0
6 */
7 /**
8  * YUI Base
9  * @module base
10  * @namespace yui-
11  * @requires reset, fonts
12 */
13
14 body {
15         /* For breathing room between content and viewport. */
16         margin:10px;
17 }
18
19 h1 {
20         /* 18px via YUI Fonts CSS foundation. */
21         font-size: 138.5%;
22 }
23
24 h2 {
25         /* 16px via YUI Fonts CSS foundation. */
26         font-size: 123.1%;
27 }
28
29 h3 {
30         /* 14px via YUI Fonts CSS foundation. */
31         font-size: 108%;
32 }
33
34 h1,h2,h3 {
35         /* Top & bottom margin based on font size. */
36         margin: 1em 0;
37 }
38
39 h1,h2,h3,h4,h5,h6,strong,dt {
40         /* Bringing boldness back to headers and the strong element. */
41         font-weight: bold;
42 }
43 optgroup {
44         font-weight:normal;
45 }
46
47 abbr,acronym {
48         /* Indicating to users that more info is available. */
49         border-bottom: 1px dotted #000;
50         cursor: help;
51 }
52
53 em {
54         /* Bringing italics back to the em element. */
55         font-style: italic;
56 }
57
58 del {
59         /* Striking deleted phrases. */
60         text-decoration: line-through;
61 }
62
63 blockquote,ul,ol,dl {
64         /* Giving blockquotes and lists room to breath. */
65         margin: 1em;
66 }
67
68 ol,ul,dl {
69         /* Bringing lists on to the page with breathing room. */
70         margin-left: 2em;
71 }
72
73 ol {
74         /* Giving OL's LIs generated numbers. */
75         list-style: decimal outside;
76 }
77
78 ul {
79         /* Giving UL's LIs generated disc markers. */
80         list-style: disc outside;
81 }
82
83 dl dd {
84         /* Giving DD default indent. */
85         margin-left: 1em;
86 }
87
88 th,td {
89         /* Borders and padding to make the table readable. */
90         border: 1px solid #000;
91         padding: .5em;
92 }
93
94 th {
95         /* Distinguishing table headers from data cells. */
96         font-weight: bold;
97         text-align: center;
98 }
99
100 caption {
101         /* Coordinated margin to match cell's padding. */
102         margin-bottom: .5em;
103         /* Centered so it doesn't blend in to other content. */
104         text-align: center;
105 }
106
107 sup {
108         /* to preserve line-height and selector appearance */
109         vertical-align: super;
110 }
111
112 sub {
113         /* to preserve line-height and selector appearance */
114         vertical-align: sub;
115 }
116
117 p,
118 fieldset,
119 table,
120 pre {
121         /* So things don't run into each other. */
122         margin-bottom: 1em;
123 }
124 /* Opera requires 1px of padding to render with contemporary native chrome */
125 button,
126 input[type="checkbox"],
127 input[type="radio"],
128 input[type="reset"],
129 input[type="submit"] {
130         padding:1px;
131 }
132
133 /* make IE scale images properly */
134 /* see http://code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
135  img {
136     -ms-interpolation-mode:bicubic;
137 }