9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
16
|
5 |
* Deprecated colors. |
|
6 |
* Please avoid using these. |
|
7 |
*/ |
|
8 |
/** |
9
|
9 |
* Breakpoints & Media Queries |
|
10 |
*/ |
|
11 |
/** |
16
|
12 |
* Colors |
|
13 |
*/ |
|
14 |
/** |
|
15 |
* Deprecated colors. |
|
16 |
* Please avoid using these. |
|
17 |
*/ |
|
18 |
/** |
|
19 |
* Fonts & basic variables. |
|
20 |
*/ |
|
21 |
/** |
|
22 |
* Grid System. |
|
23 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
24 |
*/ |
|
25 |
/** |
|
26 |
* Dimensions. |
|
27 |
*/ |
|
28 |
/** |
|
29 |
* Shadows. |
|
30 |
*/ |
|
31 |
/** |
|
32 |
* Editor widths. |
|
33 |
*/ |
|
34 |
/** |
|
35 |
* Block UI. |
|
36 |
*/ |
|
37 |
/** |
|
38 |
* Border radii. |
9
|
39 |
*/ |
|
40 |
/** |
|
41 |
* Breakpoint mixins |
|
42 |
*/ |
|
43 |
/** |
|
44 |
* Long content fade mixin |
|
45 |
* |
|
46 |
* Creates a fading overlay to signify that the content is longer |
|
47 |
* than the space allows. |
|
48 |
*/ |
|
49 |
/** |
16
|
50 |
* Focus styles. |
9
|
51 |
*/ |
|
52 |
/** |
|
53 |
* Applies editor left position to the selector passed as argument |
|
54 |
*/ |
|
55 |
/** |
|
56 |
* Styles that are reused verbatim in a few places |
|
57 |
*/ |
|
58 |
/** |
|
59 |
* Allows users to opt-out of animations via OS-level preferences. |
|
60 |
*/ |
16
|
61 |
/** |
|
62 |
* Reset default styles for JavaScript UI based pages. |
|
63 |
* This is a WP-admin agnostic reset |
|
64 |
*/ |
|
65 |
/** |
|
66 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
67 |
*/ |
|
68 |
:root { |
|
69 |
--wp-admin-theme-color: #007cba; |
|
70 |
--wp-admin-theme-color-darker-10: #006ba1; |
|
71 |
--wp-admin-theme-color-darker-20: #005a87; } |
|
72 |
|
|
73 |
/** |
|
74 |
* Editor Normalization Styles |
|
75 |
* |
|
76 |
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming |
|
77 |
* of the editor by themes. |
|
78 |
* Why do these exist? Why not rely on browser defaults? |
|
79 |
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself. |
|
80 |
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles. |
|
81 |
*/ |
9
|
82 |
body { |
|
83 |
font-family: "Noto Serif", serif; |
|
84 |
font-size: 16px; |
|
85 |
line-height: 1.8; |
16
|
86 |
color: #1e1e1e; |
|
87 |
padding: 10px; } |
|
88 |
|
|
89 |
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] { |
|
90 |
margin-right: -10px; |
|
91 |
margin-left: -10px; } |
|
92 |
|
|
93 |
/* Headings */ |
|
94 |
h1 { |
|
95 |
font-size: 2.44em; } |
|
96 |
|
|
97 |
h2 { |
|
98 |
font-size: 1.95em; } |
|
99 |
|
|
100 |
h3 { |
|
101 |
font-size: 1.56em; } |
|
102 |
|
|
103 |
h4 { |
|
104 |
font-size: 1.25em; } |
|
105 |
|
|
106 |
h5 { |
|
107 |
font-size: 1em; } |
|
108 |
|
|
109 |
h6 { |
|
110 |
font-size: 0.8em; } |
|
111 |
|
|
112 |
h1, |
|
113 |
h2, |
|
114 |
h3 { |
|
115 |
line-height: 1.4; } |
|
116 |
|
|
117 |
h4 { |
|
118 |
line-height: 1.5; } |
|
119 |
|
|
120 |
h1 { |
|
121 |
margin-top: 0.67em; |
|
122 |
margin-bottom: 0.67em; } |
|
123 |
|
|
124 |
h2 { |
|
125 |
margin-top: 0.83em; |
|
126 |
margin-bottom: 0.83em; } |
|
127 |
|
|
128 |
h3 { |
|
129 |
margin-top: 1em; |
|
130 |
margin-bottom: 1em; } |
|
131 |
|
|
132 |
h4 { |
|
133 |
margin-top: 1.33em; |
|
134 |
margin-bottom: 1.33em; } |
|
135 |
|
|
136 |
h5 { |
|
137 |
margin-top: 1.67em; |
|
138 |
margin-bottom: 1.67em; } |
|
139 |
|
|
140 |
h6 { |
|
141 |
margin-top: 2.33em; |
|
142 |
margin-bottom: 2.33em; } |
|
143 |
|
|
144 |
h1, |
|
145 |
h2, |
|
146 |
h3, |
|
147 |
h4, |
|
148 |
h5, |
|
149 |
h6 { |
|
150 |
color: inherit; } |
9
|
151 |
|
|
152 |
p { |
|
153 |
font-size: inherit; |
16
|
154 |
line-height: inherit; |
|
155 |
margin-top: 28px; |
|
156 |
margin-bottom: 28px; } |
9
|
157 |
|
|
158 |
ul, |
|
159 |
ol { |
16
|
160 |
margin-bottom: 28px; |
|
161 |
padding-right: 1.3em; |
|
162 |
margin-right: 1.3em; } |
|
163 |
ul ul, |
|
164 |
ul ol, |
|
165 |
ol ul, |
|
166 |
ol ol { |
|
167 |
margin-bottom: 0; } |
9
|
168 |
ul li, |
|
169 |
ol li { |
|
170 |
margin-bottom: initial; } |
|
171 |
|
|
172 |
ul { |
|
173 |
list-style-type: disc; } |
|
174 |
|
|
175 |
ol { |
|
176 |
list-style-type: decimal; } |
|
177 |
|
|
178 |
ul ul, |
|
179 |
ol ul { |
|
180 |
list-style-type: circle; } |
16
|
181 |
|
|
182 |
.wp-align-wrapper { |
|
183 |
max-width: 580px; } |
|
184 |
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full { |
|
185 |
max-width: none; } |
|
186 |
.wp-align-wrapper.wp-align-wide { |
|
187 |
max-width: 1100px; } |
|
188 |
|
|
189 |
a { |
|
190 |
transition: none; } |
|
191 |
|
|
192 |
code, |
|
193 |
kbd { |
|
194 |
padding: 0; |
|
195 |
margin: 0; |
|
196 |
background: inherit; |
|
197 |
font-size: inherit; |
|
198 |
font-family: monospace; } |