mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-07 11:20:28 +01:00
a41c798835
In addition to all the packages being updated to the latest versions, this commit also includes some mandatory changes to avoid editor breakage: - Update React to to 18.2.0. - Add the right stylesheets to support iframed block editors. Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc. See #57471. Built from https://develop.svn.wordpress.org/trunk@55246 git-svn-id: http://core.svn.wordpress.org/trunk@54779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
163 lines
2.9 KiB
CSS
163 lines
2.9 KiB
CSS
.wp-block-audio figcaption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .wp-block-audio figcaption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-audio{
|
|
margin:0 0 1em;
|
|
}
|
|
|
|
.wp-block-code{
|
|
border:1px solid #ccc;
|
|
border-radius:4px;
|
|
font-family:Menlo,Consolas,monaco,monospace;
|
|
padding:.8em 1em;
|
|
}
|
|
|
|
.wp-block-embed figcaption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .wp-block-embed figcaption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-embed{
|
|
margin:0 0 1em;
|
|
}
|
|
|
|
.blocks-gallery-caption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .blocks-gallery-caption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-image figcaption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .wp-block-image figcaption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-image{
|
|
margin:0 0 1em;
|
|
}
|
|
|
|
.wp-block-pullquote{
|
|
border-bottom:4px solid;
|
|
border-top:4px solid;
|
|
color:currentColor;
|
|
margin-bottom:1.75em;
|
|
}
|
|
.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{
|
|
color:currentColor;
|
|
font-size:.8125em;
|
|
font-style:normal;
|
|
text-transform:uppercase;
|
|
}
|
|
|
|
.wp-block-quote{
|
|
border-left:.25em solid;
|
|
margin:0 0 1.75em;
|
|
padding-left:1em;
|
|
}
|
|
.wp-block-quote cite,.wp-block-quote footer{
|
|
color:currentColor;
|
|
font-size:.8125em;
|
|
font-style:normal;
|
|
position:relative;
|
|
}
|
|
.wp-block-quote.has-text-align-right{
|
|
border-left:none;
|
|
border-right:.25em solid;
|
|
padding-left:0;
|
|
padding-right:1em;
|
|
}
|
|
.wp-block-quote.has-text-align-center{
|
|
border:none;
|
|
padding-left:0;
|
|
}
|
|
.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{
|
|
border:none;
|
|
}
|
|
|
|
.wp-block-search .wp-block-search__label{
|
|
font-weight:700;
|
|
}
|
|
|
|
.wp-block-search__button{
|
|
border:1px solid #ccc;
|
|
padding:.375em .625em;
|
|
}
|
|
|
|
:where(.wp-block-group.has-background){
|
|
padding:1.25em 2.375em;
|
|
}
|
|
|
|
.wp-block-separator.has-css-opacity{
|
|
opacity:.4;
|
|
}
|
|
|
|
.wp-block-separator{
|
|
border:none;
|
|
border-bottom:2px solid;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
}
|
|
.wp-block-separator.has-alpha-channel-opacity{
|
|
opacity:1;
|
|
}
|
|
.wp-block-separator:not(.is-style-wide):not(.is-style-dots){
|
|
width:100px;
|
|
}
|
|
.wp-block-separator.has-background:not(.is-style-dots){
|
|
border-bottom:none;
|
|
height:1px;
|
|
}
|
|
.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){
|
|
height:2px;
|
|
}
|
|
|
|
.wp-block-table{
|
|
margin:0 0 1em;
|
|
}
|
|
.wp-block-table td,.wp-block-table th{
|
|
word-break:normal;
|
|
}
|
|
.wp-block-table figcaption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .wp-block-table figcaption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-video figcaption{
|
|
color:#555;
|
|
font-size:13px;
|
|
text-align:center;
|
|
}
|
|
.is-dark-theme .wp-block-video figcaption{
|
|
color:hsla(0,0%,100%,.65);
|
|
}
|
|
|
|
.wp-block-video{
|
|
margin:0 0 1em;
|
|
}
|
|
|
|
.wp-block-template-part.has-background{
|
|
margin-bottom:0;
|
|
margin-top:0;
|
|
padding:1.25em 2.375em;
|
|
} |