2018-12-14 02:59:38 +01:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Thirteen
|
2018-12-19 04:30:41 +01:00
|
|
|
Description: Used to style blocks.
|
2018-12-14 02:59:38 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
>>> TABLE OF CONTENTS:
|
|
|
|
----------------------------------------------------------------
|
|
|
|
1.0 Block Alignments
|
|
|
|
2.0 General Block Styles
|
|
|
|
3.0 Blocks - Common Blocks
|
|
|
|
4.0 Blocks - Formatting
|
|
|
|
5.0 Blocks - Layout Elements
|
|
|
|
6.0 Blocks - Widgets
|
|
|
|
7.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
1.0 Block Alignments
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.content-area {
|
|
|
|
overflow-x: hidden; /* prevents side-scrolling caused by use of vw */
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="wp-block-"].alignleft,
|
|
|
|
[class^="wp-block-"] .alignleft {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="wp-block-"].alignright,
|
|
|
|
[class^="wp-block-"] .alignright {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alignfull,
|
|
|
|
.alignwide {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.sidebar) .alignwide {
|
|
|
|
margin-left: calc(25% - 25vw);
|
|
|
|
margin-right: calc(25% - 25vw);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.sidebar) .alignfull {
|
|
|
|
margin-left: calc(50% - 50vw);
|
|
|
|
margin-right: calc(50% - 50vw);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make non image-based blocks a bit narrower, so they don't get cut off. */
|
|
|
|
body:not(.sidebar) .wp-block-columns.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-audio.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-table.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-latest-comments.alignfull {
|
|
|
|
margin-left: calc(50% - 48vw);
|
|
|
|
margin-right: calc(50% - 48vw);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 999px) {
|
|
|
|
body.sidebar .alignwide {
|
|
|
|
margin-left: calc(25% - 25vw);
|
|
|
|
margin-right: calc(25% - 25vw);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.sidebar .alignfull {
|
|
|
|
margin-left: calc(50% - 50vw);
|
|
|
|
margin-right: calc(50% - 50vw);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make non image-based blocks a bit narrower, so they don't get cut off. */
|
|
|
|
body.sidebar .wp-block-columns.alignfull,
|
|
|
|
body.sidebar .wp-block-audio.alignfull,
|
|
|
|
body.sidebar .wp-block-table.alignfull,
|
|
|
|
body.sidebar .wp-block-latest-comments.alignfull {
|
|
|
|
margin-left: calc(50% - 48vw);
|
|
|
|
margin-right: calc(50% - 48vw);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1600px) {
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
|
|
|
|
/* Make sure the full and wide blocks still stay in Twenty Thirteen's wide container */
|
2018-12-14 02:59:38 +01:00
|
|
|
body:not(.sidebar) .alignfull {
|
|
|
|
margin-left: calc(50% - 800px);
|
|
|
|
margin-right: calc(50% - 800px);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1000%;
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
body:not(.sidebar) .wp-block-columns.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-audio.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-table.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-latest-comments.alignfull {
|
|
|
|
margin-left: calc(50% - 780px);
|
|
|
|
margin-right: calc(50% - 780px);
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
body:not(.sidebar) .wp-block-gallery.alignfull {
|
|
|
|
margin-left: calc(50% - 808px); /* Adjust for gallery margins */
|
|
|
|
margin-right: calc(50% - 808px);
|
|
|
|
width: auto;
|
|
|
|
max-width: 1000%;
|
|
|
|
}
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
|
|
|
|
/* Make sure the 'wide' alignment doesn't get too wide. */
|
|
|
|
body:not(.sidebar) .alignwide {
|
|
|
|
margin-left: -230px;
|
|
|
|
margin-right: -230px;
|
|
|
|
}
|
2018-12-14 02:59:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
2.0 General Block Styles
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Captions */
|
|
|
|
|
|
|
|
[class^="wp-block-"] figcaption,
|
|
|
|
[class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body {
|
|
|
|
color: #220e10;
|
|
|
|
font-size: 18px;
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gallery */
|
|
|
|
|
|
|
|
.wp-block-gallery {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-gallery figcaption {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quote */
|
|
|
|
|
|
|
|
.wp-block-quote {
|
|
|
|
margin: 24px 40px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote.is-large p,
|
|
|
|
.wp-block-quote.is-style-large p {
|
|
|
|
font-size: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote cite {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Audio */
|
|
|
|
|
|
|
|
.wp-block-audio audio {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
/* Cover */
|
2018-12-14 02:59:38 +01:00
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
.wp-block-cover-image.aligncenter,
|
|
|
|
.wp-block-cover.aligncenter {
|
2018-12-14 02:59:38 +01:00
|
|
|
clear: both;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2021-02-15 19:33:05 +01:00
|
|
|
body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * {
|
|
|
|
width: 604px;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 665px) {
|
|
|
|
body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.has-background.alignfull {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
/* File */
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
|
|
background: #e05d22; /* Old browsers */
|
|
|
|
background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
2019-01-02 04:53:53 +01:00
|
|
|
border-bottom: 3px solid #b93207;
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 11px 24px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button:hover,
|
|
|
|
.wp-block-file .wp-block-file__button:focus {
|
|
|
|
background: #ed6a31; /* Old browsers */
|
|
|
|
background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */
|
|
|
|
color: #fff;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file .wp-block-file__button:active {
|
|
|
|
background: #d94412; /* Old browsers */
|
|
|
|
background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */
|
|
|
|
border: none;
|
|
|
|
border-top: 3px solid #b93207;
|
|
|
|
padding: 10px 24px 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.0 Blocks - Formatting
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
|
|
|
.wp-block-code {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
|
|
|
.wp-block-pullquote {
|
|
|
|
border: 0;
|
|
|
|
color: inherit;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote__citation,
|
|
|
|
.wp-block-pullquote cite,
|
|
|
|
.wp-block-pullquote footer {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.wp-block-table {
|
|
|
|
border-bottom: 1px solid #ededed;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 2;
|
|
|
|
margin: 0 0 20px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table th {
|
|
|
|
border: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table td {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid #ededed;
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
body:not(.sidebar) .wp-block-table.alignwide,
|
|
|
|
body:not(.sidebar) .wp-block-table.alignfull {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Some acrobatics to make sure the table blocks always fill the available space. */
|
|
|
|
|
|
|
|
@media (max-width: 1599px) {
|
|
|
|
body:not(.sidebar) .wp-block-table.alignwide {
|
|
|
|
width: calc(302px + 50vw); /* Half the content area width plus half the screen width. */
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.sidebar) .wp-block-table.alignfull {
|
|
|
|
width: 96vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 999px) {
|
|
|
|
body.sidebar .wp-block-table.alignwide {
|
|
|
|
width: calc(302px + 50vw); /* Half the content area width plus half the screen width. */
|
|
|
|
}
|
|
|
|
|
|
|
|
body.sidebar .wp-block-table.alignfull {
|
|
|
|
width: 96vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 654px) {
|
|
|
|
body:not(.sidebar) .wp-block-table.alignwide,
|
|
|
|
body.sidebar .wp-block-table.alignwide {
|
|
|
|
width: 96vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1600px) {
|
|
|
|
body:not(.sidebar) .wp-block-table.alignwide {
|
|
|
|
width: 1064px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.sidebar) .wp-block-table.alignfull {
|
|
|
|
width: 1560px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
|
|
|
|
.wp-block-button.alignleft {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button.alignright {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
|
|
border-bottom: 3px solid #b93207;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 11px 24px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .wp-block-button__link {
|
|
|
|
background-color: #e05d22;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:53:53 +01:00
|
|
|
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
|
2018-12-19 04:23:21 +01:00
|
|
|
background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%); /* W3C */
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content .wp-block-button__link:hover,
|
2019-01-02 04:53:53 +01:00
|
|
|
.entry-content .wp-block-button__link:focus,
|
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover,
|
2021-06-08 22:37:58 +02:00
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):focus,
|
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
|
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):focus {
|
2018-12-19 04:23:21 +01:00
|
|
|
background: #ed6a31;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2019-01-02 04:53:53 +01:00
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link {
|
|
|
|
border-width: 2px;
|
2021-06-08 22:37:58 +02:00
|
|
|
border-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) {
|
|
|
|
background-color: inherit;
|
2019-01-02 04:53:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
|
|
|
color: #ed6a31;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content .wp-block-button__link:not(.has-background):hover,
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .wp-block-button__link:not(.has-background):hover,
|
2019-01-02 04:53:53 +01:00
|
|
|
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover {
|
2018-12-14 02:59:38 +01:00
|
|
|
background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%); /* W3C */
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .wp-block-button__link:active {
|
|
|
|
background: #d94412;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content .wp-block-button__link:not(.has-background):active {
|
2018-12-14 02:59:38 +01:00
|
|
|
background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%); /* Chrome 10+, Safari 5.1+ */
|
|
|
|
background: linear-gradient(to bottom, #d94412 0%, #e05d22 100%); /* W3C */
|
2018-12-19 04:23:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content .wp-block-button .wp-block-button__link:active {
|
2018-12-14 02:59:38 +01:00
|
|
|
border: none;
|
|
|
|
border-top: 3px solid #b93207;
|
|
|
|
padding: 10px 24px 11px;
|
|
|
|
}
|
|
|
|
|
2021-06-08 22:37:58 +02:00
|
|
|
.entry-content .wp-block-button.is-style-no-shadow .wp-block-button__link {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
/* Separator */
|
|
|
|
|
|
|
|
.wp-block-separator {
|
|
|
|
border: 0;
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-separator.is-style-wide {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-07-07 22:49:55 +02:00
|
|
|
/* Group Block: Default Alignment */
|
|
|
|
|
|
|
|
.wp-block-group,
|
|
|
|
.wp-block-group.has-background {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group:not(.alignfull):not(.alignwide) > .wp-block-group__inner-container > * {
|
|
|
|
width: 604px;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group.has-background:not(.alignfull):not(.alignwide) > .wp-block-group__inner-container > .alignfull {
|
|
|
|
width: calc(100% + 60px);
|
|
|
|
max-width: calc(100% + 60px);
|
|
|
|
margin-left: -30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group:not(.alignfull) .wp-block-columns.alignfull {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Group Block: Wide Alignment */
|
|
|
|
|
|
|
|
.wp-block-group.alignwide > .wp-block-group__inner-container > *,
|
|
|
|
.wp-block-group.alignwide > .wp-block-group__inner-container > .alignwide,
|
|
|
|
.wp-block-group.alignwide > .wp-block-group__inner-container > .alignfull {
|
|
|
|
max-width: 604px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group.alignwide > .wp-block-group__inner-container > .alignwide,
|
|
|
|
.wp-block-group.alignwide > .wp-block-group__inner-container > .alignfull {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group.has-background.alignwide > .wp-block-group__inner-container > .alignfull {
|
|
|
|
width: calc(100% + 60px);
|
|
|
|
max-width: calc(100% + 60px);
|
|
|
|
margin-left: -30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 664px) {
|
|
|
|
.wp-block-group:not(.has-background).alignwide {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group:not(.has-background).alignwide > .wp-block-group__inner-container > .alignwide,
|
|
|
|
.wp-block-group:not(.has-background).alignwide > .wp-block-group__inner-container > .alignfull {
|
|
|
|
width: auto;
|
|
|
|
max-width: 1600px;
|
|
|
|
margin-left: calc(25% - 25vw);
|
|
|
|
margin-right: calc(25% - 25vw);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Group Block: Full Alignment */
|
|
|
|
|
|
|
|
@media (max-width: 664px) {
|
|
|
|
.wp-block-group:not(.has-background).alignfull {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-group.has-background.alignfull > *:not(.alignfull) {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 999px) {
|
|
|
|
body.sidebar .wp-block-group.alignfull:not(.has-background) {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.sidebar .wp-block-group.alignfull.has-background > .wp-block-group__inner-container {
|
|
|
|
max-width: 604px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.sidebar .wp-block-group.alignfull:not(.has-background) > .wp-block-group__inner-container > .alignfull {
|
|
|
|
margin-left: calc(50% - 50vw);
|
|
|
|
margin-right: calc(50% - 50vw);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 665px) {
|
|
|
|
body:not(.sidebar) .wp-block-group.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-group.has-background.alignfull {
|
|
|
|
padding: 20px calc( (100vw - 604px ) / 2 ); /* Reproduces the padding of entry-content, so that default block rules apply properly inside of this block. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1600px) {
|
|
|
|
body:not(.sidebar) .wp-block-group.alignfull,
|
|
|
|
body:not(.sidebar) .wp-block-group.has-background.alignfull {
|
|
|
|
padding: 20px 498px; /* Above 1600px, these need fixed left/right padding. This works out to ((1600px - 604px) / 2) */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
/* Media & Text */
|
|
|
|
|
|
|
|
.wp-block-media-text {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-media-text *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.0 Blocks - Widgets
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
Bundled Themes: Expand initial block editor support.
A handful of items were missed when adding initial support for the new block editor to bundled themes in [43793]-[43800]. This adds support for those missed items.
Props pento, davidakennedy, laurelfulford.
Merges [43869], [43870], [43871], [43872], [43873], [43874], [43875], [43876] to trunk.
Fixes #45238, #45239, #45240, #45242, #45243, #45244, #45245, #45246.
Built from https://develop.svn.wordpress.org/trunk@44152
git-svn-id: http://core.svn.wordpress.org/trunk@43982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 03:55:39 +01:00
|
|
|
/* Archives, Categories & Latest Posts */
|
|
|
|
|
|
|
|
.wp-block-archives.aligncenter,
|
|
|
|
.wp-block-categories.aligncenter,
|
|
|
|
.wp-block-latest-posts.aligncenter {
|
|
|
|
list-style-position: inside;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-12-14 02:59:38 +01:00
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.wp-block-latest-comments {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments .avatar,
|
|
|
|
.wp-block-latest-comments__comment-avatar {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment,
|
|
|
|
.wp-block-latest-comments__comment-excerpt,
|
|
|
|
.wp-block-latest-comments__comment-excerpt p {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
Bundled Themes: Improve display of blocks in widget areas.
Fixes minor styling issues, mostly font size and spacing, in blocks used in widget areas. Changes made to Twenty Ten, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty-One.
Props noisysocks, sumaiyasiddika, danieldudzic, scruffian, jffng.
Fixes #53422.
Built from https://develop.svn.wordpress.org/trunk@51205
git-svn-id: http://core.svn.wordpress.org/trunk@50814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 22:14:59 +02:00
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
|
2018-12-14 02:59:38 +01:00
|
|
|
background: url(../images/dotted-line.png) repeat-x left top;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 24px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
7.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-dark-gray-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #141412;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-dark-gray-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #141412;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-red-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #bc360a;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-red-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #bc360a;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-medium-orange-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #db572f;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-medium-orange-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #db572f;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-light-orange-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #ea9629;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-light-orange-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #ea9629;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-yellow-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #fbca3c;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-yellow-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #fbca3c;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-white-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-white-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-dark-brown-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #220e10;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-dark-brown-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #220e10;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-medium-brown-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #722d19;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-medium-brown-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #722d19;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-light-brown-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #eadaa6;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-light-brown-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #eadaa6;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-beige-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #e8e5ce;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-beige-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #e8e5ce;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-off-white-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
color: #f7f5e7;
|
|
|
|
}
|
|
|
|
|
2018-12-19 04:23:21 +01:00
|
|
|
.entry-content .has-off-white-background-color {
|
2018-12-14 02:59:38 +01:00
|
|
|
background-color: #f7f5e7;
|
|
|
|
}
|