2018-12-17 22:17:48 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Breakpoints & Media Queries
|
|
|
|
*/
|
2021-01-27 21:04:13 -05: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.
|
|
|
|
*/
|
2020-01-22 17:06:21 -05:00
|
|
|
/**
|
|
|
|
* Colors
|
|
|
|
*/
|
2018-12-17 22:17:48 -05:00
|
|
|
/**
|
2020-06-26 09:33:47 -04:00
|
|
|
* Fonts & basic variables.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
2020-05-05 19:56:33 -04:00
|
|
|
/**
|
|
|
|
* Grid System.
|
|
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
|
|
*/
|
2020-06-26 09:33:47 -04:00
|
|
|
/**
|
|
|
|
* Dimensions.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Shadows.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Editor widths.
|
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block & Editor UI.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* Block paddings.
|
2020-06-26 09:33:47 -04:00
|
|
|
*/
|
2020-10-13 09:10:30 -04:00
|
|
|
/**
|
2021-01-27 21:04:13 -05:00
|
|
|
* React Native specific.
|
|
|
|
* These variables do not appear to be used anywhere else.
|
2020-10-13 09:10:30 -04:00
|
|
|
*/
|
2018-12-17 22:17:48 -05: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 09:33:47 -04:00
|
|
|
* Focus styles.
|
2018-12-17 22:17:48 -05:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Applies editor left position to the selector passed as argument
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Styles that are reused verbatim in a few places
|
|
|
|
*/
|
2019-03-21 08:48:00 -04:00
|
|
|
/**
|
|
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
|
|
*/
|
2019-09-19 11:19:18 -04: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-27 21:04:13 -05:00
|
|
|
* These are default block editor widths in case the theme doesn't provide them.
|
2019-09-19 11:19:18 -04:00
|
|
|
*/
|
2021-01-27 21:04:13 -05: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-17 22:17:48 -05:00
|
|
|
body {
|
|
|
|
font-family: "Noto Serif", serif;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.8;
|
2020-06-26 09:33:47 -04:00
|
|
|
color: #1e1e1e;
|
2021-01-27 21:04:13 -05:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
2021-01-27 21:04:13 -05:00
|
|
|
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
2020-06-26 09:33:47 -04:00
|
|
|
margin-left: -10px;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-right: -10px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
2019-09-19 11:19:18 -04:00
|
|
|
/* Headings */
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
2021-01-27 21:04:13 -05:00
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h1 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 2.44em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 0.67em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0.67em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h2 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 1.95em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 0.83em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 0.83em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h3 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 1.56em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 1em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h4 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1.5;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 1.33em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 1.33em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h5 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 1em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 1.67em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 1.67em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h6 {
|
2020-10-20 09:36:16 -04:00
|
|
|
font-size: 0.8em;
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-top: 2.33em;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 2.33em;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2021-01-27 21:04:13 -05:00
|
|
|
color: inherit;
|
|
|
|
}
|
2019-09-19 11:19:18 -04:00
|
|
|
|
2018-12-17 22:17:48 -05:00
|
|
|
p {
|
2019-03-07 04:09:59 -05:00
|
|
|
font-size: inherit;
|
2019-09-19 11:19:18 -04:00
|
|
|
line-height: inherit;
|
|
|
|
margin-top: 28px;
|
2021-01-27 21:04:13 -05:00
|
|
|
margin-bottom: 28px;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2019-09-19 11:19:18 -04:00
|
|
|
margin-bottom: 28px;
|
2020-01-08 06:57:23 -05:00
|
|
|
padding-left: 1.3em;
|
2021-01-27 21:04:13 -05: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-17 22:17:48 -05:00
|
|
|
|
|
|
|
ul {
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style-type: disc;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
ol {
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
2018-12-17 22:17:48 -05:00
|
|
|
|
|
|
|
ul ul,
|
|
|
|
ol ul {
|
2021-01-27 21:04:13 -05:00
|
|
|
list-style-type: circle;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
.wp-align-wrapper {
|
2021-01-27 21:04:13 -05: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 09:33:47 -04:00
|
|
|
|
|
|
|
a {
|
2021-01-27 21:04:13 -05:00
|
|
|
transition: none;
|
|
|
|
}
|
2020-06-26 09:33:47 -04:00
|
|
|
|
|
|
|
code,
|
|
|
|
kbd {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: inherit;
|
|
|
|
font-size: inherit;
|
2021-01-27 21:04:13 -05:00
|
|
|
font-family: monospace;
|
|
|
|
}
|