WordPress.org

Make WordPress Core

Ticket #37596: 37596.1.diff

File 37596.1.diff, 9.3 KB (added by netweb, 5 years ago)
  • src/wp-admin/css/press-this.css

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