0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
1 /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
2
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
3 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
4 * 1. Set default font family to sans-serif.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
5 * 2. Prevent iOS text size adjust after orientation change, without disabling
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
6 * user zoom.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
7 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
8
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
9 html {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
10 font-family: sans-serif; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
11 -ms-text-size-adjust: 100%; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
12 -webkit-text-size-adjust: 100%; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
13 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
14
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
15 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
16 * Remove default margin.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
17 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
18
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
19 body {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
20 margin: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
21 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
22
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
23 /* HTML5 display definitions
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
24 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
25
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
26 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
27 * Correct `block` display not defined for any HTML5 element in IE 8/9.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
28 * Correct `block` display not defined for `details` or `summary` in IE 10/11
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
29 * and Firefox.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
30 * Correct `block` display not defined for `main` in IE 11.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
31 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
32
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
33 article,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
34 aside,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
35 details,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
36 figcaption,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
37 figure,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
38 footer,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
39 header,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
40 hgroup,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
41 main,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
42 menu,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
43 nav,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
44 section,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
45 summary {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
46 display: block;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
47 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
48
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
49 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
50 * 1. Correct `inline-block` display not defined in IE 8/9.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
51 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
52 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
53
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
54 audio,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
55 canvas,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
56 progress,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
57 video {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
58 display: inline-block; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
59 vertical-align: baseline; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
60 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
61
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
62 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
63 * Prevent modern browsers from displaying `audio` without controls.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
64 * Remove excess height in iOS 5 devices.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
65 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
66
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
67 audio:not([controls]) {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
68 display: none;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
69 height: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
70 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
71
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
72 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
73 * Address `[hidden]` styling not present in IE 8/9/10.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
74 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
75 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
76
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
77 [hidden],
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
78 template {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
79 display: none;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
80 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
81
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
82 /* Links
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
83 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
84
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
85 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
86 * Remove the gray background color from active links in IE 10.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
87 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
88
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
89 a {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
90 background-color: transparent;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
91 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
92
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
93 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
94 * Improve readability when focused and also mouse hovered in all browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
95 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
96
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
97 a:active,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
98 a:hover {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
99 outline: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
100 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
101
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
102 /* Text-level semantics
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
103 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
104
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
105 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
106 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
107 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
108
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
109 abbr[title] {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
110 border-bottom: 1px dotted;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
111 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
112
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
113 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
114 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
115 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
116
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
117 b,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
118 strong {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
119 font-weight: bold;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
120 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
121
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
122 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
123 * Address styling not present in Safari and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
124 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
125
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
126 dfn {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
127 font-style: italic;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
128 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
129
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
130 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
131 * Address variable `h1` font-size and margin within `section` and `article`
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
132 * contexts in Firefox 4+, Safari, and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
133 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
134
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
135 h1 {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
136 font-size: 2em;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
137 margin: 0.67em 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
138 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
139
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
140 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
141 * Address styling not present in IE 8/9.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
142 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
143
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
144 mark {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
145 background: #ff0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
146 color: #000;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
147 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
148
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
149 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
150 * Address inconsistent and variable font size in all browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
151 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
152
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
153 small {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
154 font-size: 80%;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
155 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
156
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
157 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
158 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
159 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
160
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
161 sub,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
162 sup {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
163 font-size: 75%;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
164 line-height: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
165 position: relative;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
166 vertical-align: baseline;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
167 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
168
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
169 sup {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
170 top: -0.5em;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
171 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
172
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
173 sub {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
174 bottom: -0.25em;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
175 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
176
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
177 /* Embedded content
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
178 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
179
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
180 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
181 * Remove border when inside `a` element in IE 8/9/10.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
182 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
183
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
184 img {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
185 border: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
186 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
187
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
188 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
189 * Correct overflow not hidden in IE 9/10/11.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
190 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
191
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
192 svg:not(:root) {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
193 overflow: hidden;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
194 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
195
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
196 /* Grouping content
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
197 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
198
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
199 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
200 * Address margin not present in IE 8/9 and Safari.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
201 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
202
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
203 figure {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
204 margin: 1em 40px;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
205 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
206
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
207 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
208 * Address differences between Firefox and other browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
209 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
210
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
211 hr {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
212 -moz-box-sizing: content-box;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
213 box-sizing: content-box;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
214 height: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
215 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
216
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
217 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
218 * Contain overflow in all browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
219 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
220
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
221 pre {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
222 overflow: auto;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
223 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
224
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
225 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
226 * Address odd `em`-unit font size rendering in all browsers.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
227 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
228
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
229 code,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
230 kbd,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
231 pre,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
232 samp {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
233 font-family: monospace, monospace;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
234 font-size: 1em;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
235 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
236
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
237 /* Forms
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
238 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
239
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
240 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
241 * Known limitation: by default, Chrome and Safari on OS X allow very limited
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
242 * styling of `select`, unless a `border` property is set.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
243 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
244
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
245 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
246 * 1. Correct color not being inherited.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
247 * Known issue: affects color of disabled elements.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
248 * 2. Correct font properties not being inherited.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
249 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
250 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
251
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
252 button,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
253 input,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
254 optgroup,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
255 select,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
256 textarea {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
257 color: inherit; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
258 font: inherit; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
259 margin: 0; /* 3 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
260 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
261
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
262 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
263 * Address `overflow` set to `hidden` in IE 8/9/10/11.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
264 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
265
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
266 button {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
267 overflow: visible;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
268 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
269
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
270 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
271 * Address inconsistent `text-transform` inheritance for `button` and `select`.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
272 * All other form control elements do not inherit `text-transform` values.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
273 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
274 * Correct `select` style inheritance in Firefox.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
275 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
276
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
277 button,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
278 select {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
279 text-transform: none;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
280 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
281
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
282 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
283 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
284 * and `video` controls.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
285 * 2. Correct inability to style clickable `input` types in iOS.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
286 * 3. Improve usability and consistency of cursor style between image-type
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
287 * `input` and others.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
288 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
289
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
290 button,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
291 html input[type="button"], /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
292 input[type="reset"],
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
293 input[type="submit"] {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
294 -webkit-appearance: button; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
295 cursor: pointer; /* 3 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
296 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
297
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
298 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
299 * Re-set default cursor for disabled elements.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
300 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
301
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
302 button[disabled],
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
303 html input[disabled] {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
304 cursor: default;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
305 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
306
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
307 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
308 * Remove inner padding and border in Firefox 4+.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
309 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
310
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
311 button::-moz-focus-inner,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
312 input::-moz-focus-inner {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
313 border: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
314 padding: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
315 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
316
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
317 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
318 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
319 * the UA stylesheet.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
320 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
321
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
322 input {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
323 line-height: normal;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
324 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
325
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
326 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
327 * It's recommended that you don't attempt to style these elements.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
328 * Firefox's implementation doesn't respect box-sizing, padding, or width.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
329 *
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
330 * 1. Address box sizing set to `content-box` in IE 8/9/10.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
331 * 2. Remove excess padding in IE 8/9/10.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
332 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
333
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
334 input[type="checkbox"],
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
335 input[type="radio"] {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
336 box-sizing: border-box; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
337 padding: 0; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
338 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
339
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
340 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
341 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
342 * `font-size` values of the `input`, it causes the cursor style of the
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
343 * decrement button to change from `default` to `text`.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
344 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
345
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
346 input[type="number"]::-webkit-inner-spin-button,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
347 input[type="number"]::-webkit-outer-spin-button {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
348 height: auto;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
349 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
350
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
351 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
352 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
353 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
354 * (include `-moz` to future-proof).
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
355 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
356
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
357 input[type="search"] {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
358 -webkit-appearance: textfield; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
359 -moz-box-sizing: content-box;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
360 -webkit-box-sizing: content-box; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
361 box-sizing: content-box;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
362 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
363
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
364 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
365 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
366 * Safari (but not Chrome) clips the cancel button when the search input has
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
367 * padding (and `textfield` appearance).
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
368 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
369
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
370 input[type="search"]::-webkit-search-cancel-button,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
371 input[type="search"]::-webkit-search-decoration {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
372 -webkit-appearance: none;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
373 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
374
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
375 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
376 * Define consistent border, margin, and padding.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
377 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
378
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
379 fieldset {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
380 border: 1px solid #c0c0c0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
381 margin: 0 2px;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
382 padding: 0.35em 0.625em 0.75em;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
383 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
384
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
385 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
386 * 1. Correct `color` not being inherited in IE 8/9/10/11.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
387 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
388 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
389
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
390 legend {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
391 border: 0; /* 1 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
392 padding: 0; /* 2 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
393 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
394
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
395 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
396 * Remove default vertical scrollbar in IE 8/9/10/11.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
397 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
398
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
399 textarea {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
400 overflow: auto;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
401 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
402
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
403 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
404 * Don't inherit the `font-weight` (applied by a rule above).
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
405 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
406 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
407
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
408 optgroup {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
409 font-weight: bold;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
410 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
411
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
412 /* Tables
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
413 ========================================================================== */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
414
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
415 /**
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
416 * Remove most spacing between table cells.
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
417 */
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
418
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
419 table {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
420 border-collapse: collapse;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
421 border-spacing: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
422 }
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
423
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
424 td,
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
425 th {
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
426 padding: 0;
|
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
427 } |