WordPress.org

Make WordPress Core

Ticket #37596: 37596.diff

File 37596.diff, 9.1 KB (added by wonderboymusic, 5 years ago)
  • src/wp-admin/css/press-this.css

     
    22Press This styles :)
    33*/
    44
     5/*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */
    56
    67/**
    7 * Normalize
    8 *
    9 * normalize.css v3.0.0 | MIT License | git.io/normalize
    10 */
     8 * 1. Change the default font family in all browsers (opinionated).
     9 * 2. Correct the line height in all browsers.
     10 * 3. Prevent adjustments of font size after orientation changes in IE and iOS.
     11 */
     12
     13/* Document
     14   ========================================================================== */
     15
    1116html {
    12         font-family: sans-serif;
    13         -ms-text-size-adjust: 100%;
    14         -webkit-text-size-adjust: 100%;
     17  font-family: sans-serif; /* 1 */
     18  line-height: 1.15; /* 2 */
     19  -ms-text-size-adjust: 100%; /* 3 */
     20  -webkit-text-size-adjust: 100%; /* 3 */
    1521}
    1622
     23/* Sections
     24   ========================================================================== */
     25
     26/**
     27 * Remove the margin in all browsers (opinionated).
     28 */
     29
    1730body {
    1831        margin: 0;
    1932}
    2033
    21 *,
    22 *:before,
    23 *:after {
    24         -webkit-box-sizing: border-box;
    25         -moz-box-sizing: border-box;
    26         box-sizing: border-box;
    27 }
    28 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    29         *,
    30         *:before,
    31         *:after {
    32                 -webkit-font-smoothing: antialiased;
    33         }
    34 }
     34/**
     35 * Add the correct display in IE 9-.
     36 */
    3537
    3638article,
    3739aside,
    38 details,
    39 figcaption,
    40 figure,
    4140footer,
    4241header,
    43 hgroup,
    44 main,
    4542nav,
    46 section,
    47 summary {
     43section {
    4844        display: block;
    4945}
    5046
     47/**
     48 * Correct the font size and margin on `h1` elements within `section` and
     49 * `article` contexts in Chrome, Firefox, and Safari.
     50 */
     51
     52h1 {
     53        font-size: 2em;
     54        margin: 0.67em 0;
     55}
     56
     57/* Grouping content
     58   ========================================================================== */
     59
     60/**
     61 * Add the correct display in IE 9-.
     62 * 1. Add the correct display in IE.
     63 */
     64
     65figcaption,
     66figure,
     67main { /* 1 */
     68        display: block;
     69}
     70
     71/**
     72 * Add the correct margin in IE 8.
     73 */
     74
     75figure {
     76        margin: 1em 40px;
     77}
     78
     79/**
     80 * 1. Add the correct box sizing in Firefox.
     81 * 2. Show the overflow in Edge and IE.
     82 */
     83
     84hr {
     85        box-sizing: content-box; /* 1 */
     86        height: 0; /* 1 */
     87        overflow: visible; /* 2 */
     88}
     89
     90/**
     91 * 1. Correct the inheritance and scaling of font size in all browsers.
     92 * 2. Correct the odd `em` font sizing in all browsers.
     93 */
     94
     95pre {
     96        font-family: monospace, monospace; /* 1 */
     97        font-size: 1em; /* 2 */
     98}
     99
     100/* Text-level semantics
     101   ========================================================================== */
     102
     103/**
     104 * 1. Remove the gray background on active links in IE 10.
     105 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
     106 */
     107
     108a {
     109        background-color: transparent; /* 1 */
     110        -webkit-text-decoration-skip: objects; /* 2 */
     111}
     112
     113/**
     114 * Remove the outline on focused links when they are also active or hovered
     115 * in all browsers (opinionated).
     116 */
     117
     118a:active,
     119a:hover {
     120        outline-width: 0;
     121}
     122
     123/**
     124 * 1. Remove the bottom border in Firefox 39-.
     125 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
     126 */
     127
     128abbr[title] {
     129        border-bottom: none; /* 1 */
     130        text-decoration: underline; /* 2 */
     131        text-decoration: underline dotted; /* 2 */
     132}
     133
     134/**
     135 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
     136 */
     137
     138b,
     139strong {
     140        font-weight: inherit;
     141}
     142
     143/**
     144 * Add the correct font weight in Chrome, Edge, and Safari.
     145 */
     146
     147b,
     148strong {
     149        font-weight: bolder;
     150}
     151
     152/**
     153 * 1. Correct the inheritance and scaling of font size in all browsers.
     154 * 2. Correct the odd `em` font sizing in all browsers.
     155 */
     156
     157code,
     158kbd,
     159samp {
     160        font-family: monospace, monospace; /* 1 */
     161        font-size: 1em; /* 2 */
     162}
     163
     164/**
     165 * Add the correct font style in Android 4.3-.
     166 */
     167
     168dfn {
     169        font-style: italic;
     170}
     171
     172/**
     173 * Add the correct background and color in IE 9-.
     174 */
     175
     176mark {
     177        background-color: #ff0;
     178        color: #000;
     179}
     180
     181/**
     182 * Add the correct font size in all browsers.
     183 */
     184
     185small {
     186        font-size: 80%;
     187}
     188
     189/**
     190 * Prevent `sub` and `sup` elements from affecting the line height in
     191 * all browsers.
     192 */
     193
     194sub,
     195sup {
     196        font-size: 75%;
     197        line-height: 0;
     198        position: relative;
     199        vertical-align: baseline;
     200}
     201
     202sub {
     203        bottom: -0.25em;
     204}
     205
     206sup {
     207        top: -0.5em;
     208}
     209
     210/* Embedded content
     211   ========================================================================== */
     212
     213/**
     214 * Add the correct display in IE 9-.
     215 */
     216
    51217audio,
    52 canvas,
    53 progress,
    54218video {
    55219        display: inline-block;
    56         vertical-align: baseline;
    57220}
    58221
     222/**
     223 * Add the correct display in iOS 4-7.
     224 */
     225
    59226audio:not([controls]) {
    60227        display: none;
    61228        height: 0;
    62229}
    63230
    64 [hidden],
     231/**
     232 * Remove the border on images inside links in IE 10-.
     233 */
     234
     235img {
     236        border-style: none;
     237}
     238
     239/**
     240 * Hide the overflow in IE.
     241 */
     242
     243svg:not(:root) {
     244        overflow: hidden;
     245}
     246
     247/* Forms
     248   ========================================================================== */
     249
     250/**
     251 * 1. Change the font styles in all browsers (opinionated).
     252 * 2. Remove the margin in Firefox and Safari.
     253 */
     254
     255button,
     256input,
     257optgroup,
     258select,
     259textarea {
     260        font-family: sans-serif; /* 1 */
     261        font-size: 100%; /* 1 */
     262        line-height: 1.15; /* 1 */
     263        margin: 0; /* 2 */
     264}
     265
     266/**
     267 * Show the overflow in IE.
     268 * 1. Show the overflow in Edge.
     269 */
     270
     271button,
     272input { /* 1 */
     273        overflow: visible;
     274}
     275
     276/**
     277 * Remove the inheritance of text transform in Edge, Firefox, and IE.
     278 * 1. Remove the inheritance of text transform in Firefox.
     279 */
     280
     281button,
     282select { /* 1 */
     283        text-transform: none;
     284}
     285
     286/**
     287 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
     288 *    controls in Android 4.
     289 * 2. Correct the inability to style clickable types in iOS and Safari.
     290 */
     291
     292button,
     293html [type="button"], /* 1 */
     294[type="reset"],
     295[type="submit"] {
     296        -webkit-appearance: button; /* 2 */
     297}
     298
     299/**
     300 * Remove the inner border and padding in Firefox.
     301 */
     302
     303button::-moz-focus-inner,
     304[type="button"]::-moz-focus-inner,
     305[type="reset"]::-moz-focus-inner,
     306[type="submit"]::-moz-focus-inner {
     307        border-style: none;
     308        padding: 0;
     309}
     310
     311/**
     312 * Restore the focus styles unset by the previous rule.
     313 */
     314
     315button:-moz-focusring,
     316[type="button"]:-moz-focusring,
     317[type="reset"]:-moz-focusring,
     318[type="submit"]:-moz-focusring {
     319        outline: 1px dotted ButtonText;
     320}
     321
     322/**
     323 * Change the border, margin, and padding in all browsers (opinionated).
     324 */
     325
     326fieldset {
     327        border: 1px solid #c0c0c0;
     328        margin: 0 2px;
     329        padding: 0.35em 0.625em 0.75em;
     330}
     331
     332/**
     333 * 1. Correct the text wrapping in Edge and IE.
     334 * 2. Correct the color inheritance from `fieldset` elements in IE.
     335 * 3. Remove the padding so developers are not caught out when they zero out
     336 *    `fieldset` elements in all browsers.
     337 */
     338
     339legend {
     340        box-sizing: border-box; /* 1 */
     341        color: inherit; /* 2 */
     342        display: table; /* 1 */
     343        max-width: 100%; /* 1 */
     344        padding: 0; /* 3 */
     345        white-space: normal; /* 1 */
     346}
     347
     348/**
     349 * 1. Add the correct display in IE 9-.
     350 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
     351 */
     352
     353progress {
     354        display: inline-block; /* 1 */
     355        vertical-align: baseline; /* 2 */
     356}
     357
     358/**
     359 * Remove the default vertical scrollbar in IE.
     360 */
     361
     362textarea {
     363        overflow: auto;
     364}
     365
     366/**
     367 * 1. Add the correct box sizing in IE 10-.
     368 * 2. Remove the padding in IE 10-.
     369 */
     370
     371[type="checkbox"],
     372[type="radio"] {
     373        box-sizing: border-box; /* 1 */
     374        padding: 0; /* 2 */
     375}
     376
     377/**
     378 * Correct the cursor style of increment and decrement buttons in Chrome.
     379 */
     380
     381[type="number"]::-webkit-inner-spin-button,
     382[type="number"]::-webkit-outer-spin-button {
     383        height: auto;
     384}
     385
     386/**
     387 * 1. Correct the odd appearance in Chrome and Safari.
     388 * 2. Correct the outline style in Safari.
     389 */
     390
     391[type="search"] {
     392        -webkit-appearance: textfield; /* 1 */
     393        outline-offset: -2px; /* 2 */
     394}
     395
     396/**
     397 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     398 */
     399
     400[type="search"]::-webkit-search-cancel-button,
     401[type="search"]::-webkit-search-decoration {
     402        -webkit-appearance: none;
     403}
     404
     405/**
     406 * 1. Correct the inability to style clickable types in iOS and Safari.
     407 * 2. Change font properties to `inherit` in Safari.
     408 */
     409
     410::-webkit-file-upload-button {
     411        -webkit-appearance: button; /* 1 */
     412        font: inherit; /* 2 */
     413}
     414
     415/* Interactive
     416   ========================================================================== */
     417
     418/*
     419 * Add the correct display in IE 9-.
     420 * 1. Add the correct display in Edge, IE, and Firefox.
     421 */
     422
     423details, /* 1 */
     424menu {
     425        display: block;
     426}
     427
     428/*
     429 * Add the correct display in all browsers.
     430 */
     431
     432summary {
     433        display: list-item;
     434}
     435
     436/* Scripting
     437   ========================================================================== */
     438
     439/**
     440 * Add the correct display in IE 9-.
     441 */
     442
     443canvas {
     444        display: inline-block;
     445}
     446
     447/**
     448 * Add the correct display in IE.
     449 */
     450
    65451template {
    66452        display: none;
    67453}
    68454
     455/* Hidden
     456   ========================================================================== */
     457
     458/**
     459 * Add the correct display in IE 10-.
     460 */
     461
     462[hidden] {
     463        display: none;
     464}
     465
    69466a {
    70467        background: transparent;
    71468}