| 1 |
/** |
| 2 |
* Typography |
| 3 |
*/ |
| 4 |
/** |
| 5 |
* SCSS Variables. |
| 6 |
* |
| 7 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 8 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 9 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 10 |
*/ |
| 11 |
/** |
| 12 |
* Colors |
| 13 |
*/ |
| 14 |
/** |
| 15 |
* Fonts & basic variables. |
| 16 |
*/ |
| 17 |
/** |
| 18 |
* Typography |
| 19 |
*/ |
| 20 |
/** |
| 21 |
* Grid System. |
| 22 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 23 |
*/ |
| 24 |
/** |
| 25 |
* Radius scale. |
| 26 |
*/ |
| 27 |
/** |
| 28 |
* Elevation scale. |
| 29 |
*/ |
| 30 |
/** |
| 31 |
* Dimensions. |
| 32 |
*/ |
| 33 |
/** |
| 34 |
* Mobile specific styles |
| 35 |
*/ |
| 36 |
/** |
| 37 |
* Editor styles. |
| 38 |
*/ |
| 39 |
/** |
| 40 |
* Block & Editor UI. |
| 41 |
*/ |
| 42 |
/** |
| 43 |
* Block paddings. |
| 44 |
*/ |
| 45 |
/** |
| 46 |
* React Native specific. |
| 47 |
* These variables do not appear to be used anywhere else. |
| 48 |
*/ |
| 49 |
/** |
| 50 |
* Breakpoints & Media Queries |
| 51 |
*/ |
| 52 |
/** |
| 53 |
* Converts a hex value into the rgb equivalent. |
| 54 |
* |
| 55 |
* @param {string} hex - the hexadecimal value to convert |
| 56 |
* @return {string} comma separated rgb values |
| 57 |
*/ |
| 58 |
/** |
| 59 |
* Long content fade mixin |
| 60 |
* |
| 61 |
* Creates a fading overlay to signify that the content is longer |
| 62 |
* than the space allows. |
| 63 |
*/ |
| 64 |
/** |
| 65 |
* Breakpoint mixins |
| 66 |
*/ |
| 67 |
/** |
| 68 |
* Focus styles. |
| 69 |
*/ |
| 70 |
/** |
| 71 |
* Applies editor left position to the selector passed as argument |
| 72 |
*/ |
| 73 |
/** |
| 74 |
* Styles that are reused verbatim in a few places |
| 75 |
*/ |
| 76 |
/** |
| 77 |
* Allows users to opt-out of animations via OS-level preferences. |
| 78 |
*/ |
| 79 |
/** |
| 80 |
* Reset default styles for JavaScript UI based pages. |
| 81 |
* This is a WP-admin agnostic reset |
| 82 |
*/ |
| 83 |
/** |
| 84 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
| 85 |
*/ |
| 86 |
/** |
| 87 |
* Creates a checkerboard pattern background to indicate transparency. |
| 88 |
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 89 |
*/ |
| 90 |
ul.wp-block-rss.alignleft { |
| 91 |
/*rtl:ignore*/ |
| 92 |
margin-right: 2em; |
| 93 |
} |
| 94 |
ul.wp-block-rss.alignright { |
| 95 |
/*rtl:ignore*/ |
| 96 |
margin-left: 2em; |
| 97 |
} |
| 98 |
ul.wp-block-rss.is-grid { |
| 99 |
display: flex; |
| 100 |
flex-wrap: wrap; |
| 101 |
padding: 0; |
| 102 |
} |
| 103 |
ul.wp-block-rss.is-grid li { |
| 104 |
margin: 0 1em 1em 0; |
| 105 |
width: 100%; |
| 106 |
} |
| 107 |
@media (min-width: 600px) { |
| 108 |
ul.wp-block-rss.columns-2 li { |
| 109 |
width: calc(100% / 2 - 1em); |
| 110 |
} |
| 111 |
ul.wp-block-rss.columns-3 li { |
| 112 |
width: calc(100% / 3 - 1em); |
| 113 |
} |
| 114 |
ul.wp-block-rss.columns-4 li { |
| 115 |
width: calc(100% / 4 - 1em); |
| 116 |
} |
| 117 |
ul.wp-block-rss.columns-5 li { |
| 118 |
width: calc(100% / 5 - 1em); |
| 119 |
} |
| 120 |
ul.wp-block-rss.columns-6 li { |
| 121 |
width: calc(100% / 6 - 1em); |
| 122 |
} |
| 123 |
} |
| 124 |
|
| 125 |
.wp-block-rss__item-publish-date, |
| 126 |
.wp-block-rss__item-author { |
| 127 |
display: block; |
| 128 |
font-size: 0.8125em; |
| 129 |
} |
| 130 |
|
| 131 |
.wp-block-rss { |
| 132 |
box-sizing: border-box; |
| 133 |
list-style: none; |
| 134 |
padding: 0; |
| 135 |
} |