2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* SCSS Variables.
|
|
|
|
*
|
|
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
2021-02-08 04:37:09 +01:00
|
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
2021-01-28 03:04:13 +01:00
|
|
|
*/
|
2020-01-22 23:06:21 +01:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Fonts & basic variables.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
2020-05-06 01:56:33 +02:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 15:33:47 +02:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block & Editor UI.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* Block paddings.
|
2020-06-26 15:33:47 +02:00
|
|
|
*/
|
2020-10-13 15:10:30 +02:00
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 15:10:30 +02:00
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
/**
|
|
|
|
* Breakpoint mixins
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Long content fade mixin
|
|
|
|
*
|
|
|
|
* Creates a fading overlay to signify that the content is longer
|
|
|
|
* than the space allows.
|
|
|
|
*/
|
|
|
|
/**
|
2020-06-26 15:33:47 +02:00
|
|
|
* Focus styles.
|
2018-12-18 04:17:48 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 13:48:00 +01:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 17:19:18 +02:00
|
|
|
/**
|
|
|
|
* Reset default styles for JavaScript UI based pages.
|
|
|
|
* This is a WP-admin agnostic reset
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-28 03:04:13 +01:00
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
2019-09-19 17:19:18 +02:00
|
|
|
*/
|
2021-01-28 03:04:13 +01:00
|
|
|
/**
|
|
|
|
* Editor Normalization Styles
|
|
|
|
*
|
|
|
|
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
|
|
|
* of the editor by themes.
|
|
|
|
* Why do these exist? Why not rely on browser defaults?
|
|
|
|
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
|
|
|
|
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
|
|
|
|
*/
|
2018-12-18 04:17:48 +01:00
|
|
|
body {
|
2021-02-02 06:17:13 +01:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
2018-12-18 04:17:48 +01:00
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.8;
|
2020-06-26 15:33:47 +02:00
|
|
|
color: #1e1e1e;
|
2021-01-28 03:04:13 +01:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
2021-01-28 03:04:13 +01:00
|
|
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
2020-06-26 15:33:47 +02:00
|
|
|
margin-left: -10px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-right: -10px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
2019-09-19 17:19:18 +02:00
|
|
|
/* Headings */
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
2021-01-28 03:04:13 +01:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h1 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 2.44em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 0.67em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 0.67em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h2 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 1.95em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 0.83em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 0.83em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h3 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 1.56em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 1em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h4 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1.5;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 1.33em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 1.33em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h5 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 1em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 1.67em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 1.67em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h6 {
|
2020-10-20 15:36:16 +02:00
|
|
|
font-size: 0.8em;
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-top: 2.33em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 2.33em;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2021-01-28 03:04:13 +01:00
|
|
|
color: inherit;
|
|
|
|
}
|
2019-09-19 17:19:18 +02:00
|
|
|
|
2018-12-18 04:17:48 +01:00
|
|
|
p {
|
2019-03-07 10:09:59 +01:00
|
|
|
font-size: inherit;
|
2019-09-19 17:19:18 +02:00
|
|
|
line-height: inherit;
|
|
|
|
margin-top: 28px;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-bottom: 28px;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2019-09-19 17:19:18 +02:00
|
|
|
margin-bottom: 28px;
|
2020-01-08 12:57:23 +01:00
|
|
|
padding-left: 1.3em;
|
2021-01-28 03:04:13 +01:00
|
|
|
margin-left: 1.3em;
|
|
|
|
}
|
|
|
|
ul ul,
|
|
|
|
ul ol,
|
|
|
|
ol ul,
|
|
|
|
ol ol {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
ul li,
|
|
|
|
ol li {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
ul {
|
2021-01-28 03:04:13 +01:00
|
|
|
list-style-type: disc;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
ol {
|
2021-01-28 03:04:13 +01:00
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
2018-12-18 04:17:48 +01:00
|
|
|
|
|
|
|
ul ul,
|
|
|
|
ol ul {
|
2021-01-28 03:04:13 +01:00
|
|
|
list-style-type: circle;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
.wp-align-wrapper {
|
2021-01-28 03:04:13 +01:00
|
|
|
max-width: 840px;
|
|
|
|
}
|
|
|
|
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
.wp-align-wrapper.wp-align-wide {
|
|
|
|
max-width: 840px;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
a {
|
2021-01-28 03:04:13 +01:00
|
|
|
transition: none;
|
|
|
|
}
|
2020-06-26 15:33:47 +02:00
|
|
|
|
|
|
|
code,
|
|
|
|
kbd {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: inherit;
|
|
|
|
font-size: inherit;
|
2021-01-28 03:04:13 +01:00
|
|
|
font-family: monospace;
|
|
|
|
}
|