browser/base/content/aboutaccounts/normalize.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial