PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / styles / block-library / latest-posts / style-rtl.css

style-rtl.css in Gutenberg trunk, at build/styles/block-library/latest-posts/style-rtl.css

196 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Breakpoints & Media Queries
3 */
4 /**
5 * Typography
6 */
7 /**
8 * SCSS Variables.
9 *
10 * Please use variables from this sheet to ensure consistency across the UI.
11 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13 */
14 /**
15 * Colors
16 */
17 /**
18 * Fonts & basic variables.
19 */
20 /**
21 * Typography
22 */
23 /**
24 * Grid System.
25 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
26 */
27 /**
28 * Radius scale.
29 */
30 /**
31 * Elevation scale.
32 */
33 /**
34 * Dimensions.
35 */
36 /**
37 * Mobile specific styles
38 */
39 /**
40 * Editor styles.
41 */
42 /**
43 * Block & Editor UI.
44 */
45 /**
46 * Block paddings.
47 */
48 /**
49 * React Native specific.
50 * These variables do not appear to be used anywhere else.
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 * Standard focus rings for the WordPress Design System.
72 *
73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 * e.g. `&:focus { @include outset-ring__focus(); }`.
75 */
76 /**
77 * Applies editor left position to the selector passed as argument
78 */
79 /**
80 * Styles that are reused verbatim in a few places
81 */
82 /**
83 * Allows users to opt-out of animations via OS-level preferences.
84 */
85 /**
86 * Reset default styles for JavaScript UI based pages.
87 * This is a WP-admin agnostic reset
88 */
89 /**
90 * Reset the WP Admin page styles for Gutenberg-like pages.
91 */
92 /**
93 * Creates a checkerboard pattern background to indicate transparency.
94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 */
96 .wp-block-latest-posts {
97 box-sizing: border-box;
98 }
99 .wp-block-latest-posts.alignleft {
100 margin-right: 2em;
101 }
102 .wp-block-latest-posts.alignright {
103 margin-left: 2em;
104 }
105 .wp-block-latest-posts.wp-block-latest-posts__list {
106 list-style: none;
107 }
108 .wp-block-latest-posts.wp-block-latest-posts__list li {
109 clear: both;
110 overflow-wrap: break-word;
111 }
112 .wp-block-latest-posts.is-grid:not(.is-layout-grid) {
113 display: flex;
114 flex-wrap: wrap;
115 }
116 .wp-block-latest-posts.is-grid:not(.is-layout-grid) li {
117 margin: 0 0 1.25em 1.25em;
118 width: 100%;
119 }
120 @media (min-width: 600px) {
121 .wp-block-latest-posts.columns-2:not(.is-layout-grid) li {
122 width: calc(100% / 2 - 1.25em + 1.25em / 2);
123 }
124 .wp-block-latest-posts.columns-2:not(.is-layout-grid) li:nth-child(2n) {
125 margin-left: 0;
126 }
127 .wp-block-latest-posts.columns-3:not(.is-layout-grid) li {
128 width: calc(100% / 3 - 1.25em + 1.25em / 3);
129 }
130 .wp-block-latest-posts.columns-3:not(.is-layout-grid) li:nth-child(3n) {
131 margin-left: 0;
132 }
133 .wp-block-latest-posts.columns-4:not(.is-layout-grid) li {
134 width: calc(100% / 4 - 1.25em + 1.25em / 4);
135 }
136 .wp-block-latest-posts.columns-4:not(.is-layout-grid) li:nth-child(4n) {
137 margin-left: 0;
138 }
139 .wp-block-latest-posts.columns-5:not(.is-layout-grid) li {
140 width: calc(100% / 5 - 1.25em + 1.25em / 5);
141 }
142 .wp-block-latest-posts.columns-5:not(.is-layout-grid) li:nth-child(5n) {
143 margin-left: 0;
144 }
145 .wp-block-latest-posts.columns-6:not(.is-layout-grid) li {
146 width: calc(100% / 6 - 1.25em + 1.25em / 6);
147 }
148 .wp-block-latest-posts.columns-6:not(.is-layout-grid) li:nth-child(6n) {
149 margin-left: 0;
150 }
151 }
152
153 @media (max-width: 600px) {
154 .wp-block-latest-posts-is-layout-grid[class*=columns-]:not(.has-native-responsive-grid) {
155 grid-template-columns: 1fr;
156 }
157 }
158 :root :where(.wp-block-latest-posts.is-grid) {
159 padding: 0;
160 }
161 :root :where(.wp-block-latest-posts.wp-block-latest-posts__list) {
162 padding-right: 0;
163 }
164
165 .wp-block-latest-posts__post-date,
166 .wp-block-latest-posts__post-author {
167 display: block;
168 font-size: 0.8125em;
169 }
170
171 .wp-block-latest-posts__post-excerpt,
172 .wp-block-latest-posts__post-full-content {
173 margin-top: 0.5em;
174 margin-bottom: 1em;
175 }
176
177 .wp-block-latest-posts__featured-image a {
178 display: inline-block;
179 }
180 .wp-block-latest-posts__featured-image img {
181 height: auto;
182 width: auto;
183 max-width: 100%;
184 }
185 .wp-block-latest-posts__featured-image.alignleft {
186 margin-right: 1em;
187 float: left;
188 }
189 .wp-block-latest-posts__featured-image.alignright {
190 margin-left: 1em;
191 float: right;
192 }
193 .wp-block-latest-posts__featured-image.aligncenter {
194 margin-bottom: 1em;
195 text-align: center;
196 }