2018-12-13 20:46:38 -05:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Ten
|
2018-12-18 22:30:41 -05:00
|
|
|
Description: Used to style blocks.
|
2018-12-13 20:46:38 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
>>> TABLE OF CONTENTS:
|
|
|
|
----------------------------------------------------------------
|
|
|
|
1.0 General Block Styles
|
|
|
|
2.0 Blocks - Common Blocks
|
|
|
|
3.0 Blocks - Formatting
|
|
|
|
4.0 Blocks - Layout Elements
|
|
|
|
5.0 Blocks - Widgets
|
|
|
|
6.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
1.0 General Block Styles
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Captions */
|
|
|
|
|
2024-07-03 06:47:16 -04:00
|
|
|
[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #777;
|
|
|
|
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Alignments */
|
|
|
|
|
|
|
|
[class^="wp-block-"].alignleft,
|
|
|
|
[class^="wp-block-"] .alignleft {
|
|
|
|
margin-right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="wp-block-"].alignright,
|
|
|
|
[class^="wp-block-"] .alignright {
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
2.0 Blocks - Common Blocks
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Paragraph */
|
|
|
|
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
|
|
font-size: 5em;
|
|
|
|
margin-top: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Image */
|
|
|
|
|
|
|
|
.wp-block-image figure {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-image figcaption {
|
2019-07-03 20:27:58 -04:00
|
|
|
margin: -7px 0 20px;
|
2018-12-13 20:46:38 -05:00
|
|
|
padding: 9px 9px 1.0em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-image.alignfull,
|
|
|
|
.wp-block-image.alignfull img {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Gallery */
|
|
|
|
|
|
|
|
.wp-block-gallery {
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-gallery .blocks-gallery-image figcaption,
|
|
|
|
.wp-block-gallery .blocks-gallery-item figcaption {
|
|
|
|
font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Quotes */
|
|
|
|
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
|
|
|
border: none;
|
|
|
|
padding: 0 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-quote cite {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Audio */
|
|
|
|
|
|
|
|
.wp-block-audio {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-audio audio {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File */
|
|
|
|
|
|
|
|
.rtl .wp-block-file * + .wp-block-file__button {
|
|
|
|
margin: 0 0 0 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
3.0 Blocks - Formatting
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Code */
|
|
|
|
|
|
|
|
.wp-block-code {
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Pullquote */
|
|
|
|
|
2023-06-22 01:35:21 -04:00
|
|
|
.wp-block-pullquote {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:46:38 -05:00
|
|
|
.wp-block-pullquote p {
|
|
|
|
font-size: 1.5em;
|
2023-06-22 01:35:21 -04:00
|
|
|
line-height: 1.3;
|
2018-12-13 20:46:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-pullquote__citation,
|
|
|
|
.wp-block-pullquote cite {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: 600;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
|
|
|
|
.wp-block-table td,
|
|
|
|
.wp-block-table th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table td {
|
|
|
|
border-top: 1px solid #e7e7e7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-table tr:nth-child(odd) td {
|
|
|
|
background: #f2f7fc;
|
|
|
|
}
|
|
|
|
|
2024-07-03 06:29:16 -04:00
|
|
|
#content .wp-block-table[style*="font-size"] *,
|
|
|
|
#content .wp-block-table[class*="-font-size"] *,
|
|
|
|
#content .wp-block-calendar[style*="font-size"] *,
|
|
|
|
#content .wp-block-calendar[class*="-font-size"] * {
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:46:38 -05:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
4.0 Blocks - Layout Elements
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Separator */
|
|
|
|
|
|
|
|
.wp-block-separator {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
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-13 21:55:39 -05:00
|
|
|
/* Media & Text */
|
|
|
|
|
|
|
|
.wp-block-media-text {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
2018-12-13 20:46:38 -05:00
|
|
|
/*--------------------------------------------------------------
|
|
|
|
5.0 Blocks - Widgets
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/* Archives, Categories & Latest Posts */
|
|
|
|
|
|
|
|
.wp-block-archives.aligncenter,
|
|
|
|
.wp-block-categories.aligncenter,
|
|
|
|
.wp-block-latest-posts.aligncenter {
|
|
|
|
margin-left: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .wp-block-archives.aligncenter,
|
|
|
|
.rtl .wp-block-categories.aligncenter,
|
|
|
|
.rtl .wp-block-latest-posts.aligncenter {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Comments */
|
|
|
|
|
|
|
|
.wp-block-latest-comments {
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Latest Posts */
|
|
|
|
|
|
|
|
.wp-block-latest-posts.is-grid {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------
|
|
|
|
6.0 Blocks - Colors
|
|
|
|
--------------------------------------------------------------*/
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-blue-color,
|
2023-06-27 18:42:26 -04:00
|
|
|
.has-blue-color:visited,
|
|
|
|
#content .has-blue-color,
|
|
|
|
#content .has-blue-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #0066cc;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-blue-background-color,
|
|
|
|
.has-blue-background-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
background-color: #0066cc;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-black-color,
|
2023-06-27 18:42:26 -04:00
|
|
|
.has-black-color:visited,
|
|
|
|
#content .has-black-color,
|
|
|
|
#content .has-black-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-black-background-color,
|
|
|
|
.has-black-background-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-medium-gray-color,
|
2023-06-27 18:42:26 -04:00
|
|
|
.has-medium-gray-color:visited,
|
|
|
|
#content .has-medium-gray-color,
|
|
|
|
#content .has-medium-gray-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-medium-gray-background-color,
|
|
|
|
.has-medium-gray-background-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
background-color: #666;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-light-gray-color,
|
2023-06-27 18:42:26 -04:00
|
|
|
.has-light-gray-color:visited,
|
|
|
|
#content .has-light-gray-color,
|
|
|
|
#content .has-light-gray-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #f1f1f1;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-light-gray-background-color,
|
|
|
|
.has-light-gray-background-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
background-color: #f1f1f1;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-white-color,
|
2023-06-27 18:42:26 -04:00
|
|
|
.has-white-color:visited,
|
|
|
|
#content .has-white-color,
|
|
|
|
#content .has-white-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2018-12-18 22:19:15 -05:00
|
|
|
.has-white-background-color,
|
|
|
|
.has-white-background-color:visited {
|
2018-12-13 20:46:38 -05:00
|
|
|
background-color: #fff;
|
|
|
|
}
|