CoreFiles by mySites.guru
editor-blocks.css848 lines, 18,454 bytes, from wordpress-5.0-beta2.zip
Raw History Compare with 5.0-beta1
md5
87ef57b746c151f578a20b2fe4455713
sha1
4ae106d58185ee99dce1126acb89eb7f06f9b022
sha256
0b43ac0d09f941118032b083b7dd89fe8e697a99d22858190ab50d37ef27a916
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
/*
Theme Name: Twenty Fifteen
Description: Used to style Gutenberg Blocks in the editor.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Typography
2.0 General Block Styles
3.0 Blocks - Common Blocks
4.0 Blocks - Formatting
5.0 Blocks - Layout Elements
6.0 Blocks - Widgets
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General Typography
--------------------------------------------------------------*/

.edit-post-visual-editor .editor-block-list__block,
.edit-post-visual-editor .editor-block-list__block p,
.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
	font-size: 15px;
	line-height: 1.6;
}

.edit-post-visual-editor .editor-block-list__block {
	color: #333;
}

.editor-post-title__block .editor-post-title__input {
	color: #333;
	font-size: 26px;
	line-height: 1.1538;
}

.edit-post-visual-editor h1,
.edit-post-visual-editor h2,
.edit-post-visual-editor h3,
.edit-post-visual-editor h4,
.edit-post-visual-editor h5,
.edit-post-visual-editor h6 {
	clear: both;
	font-weight: 700;
}

.edit-post-visual-editor .editor-block-list__block h1 {
	font-size: 26px;
	line-height: 1.1538;
	padding: 0.9em 0 0.45em;
}

.edit-post-visual-editor .editor-block-list__block h2 {
	font-size: 22px;
	line-height: 1.3636;
	padding: 1em 0 0.5em;
}

.edit-post-visual-editor .editor-block-list__block h3 {
	font-size: 18px;
	line-height: 1.3333;
	padding: 1.3em 0 0.65em;
}

.edit-post-visual-editor .editor-block-list__block h4,
.edit-post-visual-editor .editor-block-list__block h5,
.edit-post-visual-editor .editor-block-list__block h6 {
	font-size: 15px;
	line-height: 1.2;
	padding: 0.8em 0 0.4em;
}

.edit-post-visual-editor .editor-block-list__block h5,
.edit-post-visual-editor .editor-block-list__block h6 {
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.edit-post-visual-editor > h1:first-child,
.edit-post-visual-editor > h2:first-child,
.edit-post-visual-editor > h3:first-child,
.edit-post-visual-editor > h4:first-child,
.edit-post-visual-editor > h5:first-child,
.edit-post-visual-editor > h6:first-child {
	padding-top: 0;
}

@media screen and (min-width: 46.25em) {
	.edit-post-visual-editor .editor-block-list__block,
	.edit-post-visual-editor .editor-block-list__block p,
	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
		font-size: 17px;
		line-height: 1.6471;
	}

	.editor-post-title__block .editor-post-title__input {
		font-size: 35px;
		line-height: 1.2;
	}

	.edit-post-visual-editor .editor-block-list__block h1 {
		font-size: 35px;
		line-height: 1.2;
		padding: 0.8em 0 0.4em;
	}

	.edit-post-visual-editor .editor-block-list__block h2 {
		font-size: 29px;
		line-height: 1.2069;
		padding: 1.0em 0 0.5em;
	}

	.edit-post-visual-editor .editor-block-list__block h3 {
		font-size: 24px;
		line-height: 1.1667;
		padding: 1.15em 0 0.6em;
	}

	.edit-post-visual-editor .editor-block-list__block h4 {
		font-size: 20px;
		line-height: 1.4;
		padding: .7em 0 0.35em;
	}

	.edit-post-visual-editor .editor-block-list__block h5,
	.edit-post-visual-editor .editor-block-list__block h6 {
		font-size: 17px;
		line-height: 1.2353;
		padding: 0.8em 0 0.4em;
	}
}

@media screen and (min-width: 55em) {
	.edit-post-visual-editor .editor-block-list__block,
	.edit-post-visual-editor .editor-block-list__block p,
	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
		font-size: 19px;
		line-height: 1.6842;
	}

	.editor-post-title__block .editor-post-title__input {
		font-size: 39px;
		line-height: 1.2308;
	}

	.edit-post-visual-editor .editor-block-list__block h1 {
		font-size: 39px;
		line-height: 1.2308;
		padding: 0.8em 0 0.4em;
	}

	.edit-post-visual-editor .editor-block-list__block h2 {
		font-size: 32px;
		line-height: 1.25;
		padding: 1em 0 0.5em;
	}

	.edit-post-visual-editor .editor-block-list__block h3 {
		font-size: 27px;
		line-height: 1.1852;
		padding: 1.2em 0 0.6em;
	}

	.edit-post-visual-editor .editor-block-list__block h4 {
		font-size: 22px;
		line-height: 1.4545;
		padding: 0.75em 0 0.35em;
	}

	.edit-post-visual-editor .editor-block-list__block h5,
	.edit-post-visual-editor .editor-block-list__block h6 {
		font-size: 19px;
		line-height: 1.2632;
		padding: 0.8em 0 0.4em;
	}
}

@media screen and (min-width: 59.6875em) {
	.edit-post-visual-editor .editor-block-list__block,
	.edit-post-visual-editor .editor-block-list__block p,
	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
		font-size: 15px;
		line-height: 1.6;
	}

	.editor-post-title__block .editor-post-title__input {
		font-size: 31px;
		line-height: 1.1613;
	}

	.edit-post-visual-editor .editor-block-list__block h1 {
		font-size: 31px;
		line-height: 1.1613;
		padding: 0.8em 0 0.4em;
	}

	.edit-post-visual-editor .editor-block-list__block h2 {
		font-size: 26px;
		line-height: 1.3846;
		padding: 0.9em 0 0.45em;
	}

	.edit-post-visual-editor .editor-block-list__block h3 {
		font-size: 22px;
		line-height: 1.3636;
		padding: 1.1em 0 0.55em;
	}

	.edit-post-visual-editor .editor-block-list__block h4 {
		font-size: 18px;
		line-height: 1.3333;
		padding: 0.65em 0 0.3em;
	}

	.edit-post-visual-editor .editor-block-list__block h5,
	.edit-post-visual-editor .editor-block-list__block h6 {
		font-size: 15px;
		line-height: 1.2;
		padding: 0.8em 0 0.4em;
	}
}

@media screen and (min-width: 68.75em) {
	.edit-post-visual-editor .editor-block-list__block,
	.edit-post-visual-editor .editor-block-list__block p,
	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
		font-size: 17px;
		line-height: 1.6471;
	}

	.editor-post-title__block .editor-post-title__input {
		font-size: 35px;
		line-height: 1.2;
	}

	.edit-post-visual-editor .editor-block-list__block h1 {
		font-size: 35px;
		line-height: 1.2;
		padding: 0.8em 0 0.4em;
	}

	.edit-post-visual-editor .editor-block-list__block h2 {
		font-size: 29px;
		line-height: 1.2069;
		padding: 1.0em 0 0.5em;
	}

	.edit-post-visual-editor .editor-block-list__block h3 {
		font-size: 24px;
		line-height: 1.1667;
		padding: 1.2em 0 0.6em;
	}

	.edit-post-visual-editor .editor-block-list__block h4 {
		font-size: 20px;
		line-height: 1.4;
		padding: 0.7em 0 0.35em;
	}

	.edit-post-visual-editor .editor-block-list__block h5,
	.edit-post-visual-editor .editor-block-list__block h6 {
		font-size: 17px;
		line-height: 1.2353;
		padding: 0.8em 0 0.4em;
	}
}

@media screen and (min-width: 77.5em) {
	.edit-post-visual-editor .editor-block-list__block,
	.edit-post-visual-editor .editor-block-list__block p,
	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
		font-size: 19px;
		line-height: 1.6842;
	}

	.editor-post-title__block .editor-post-title__input {
		font-size: 39px;
		line-height: 1.2308;
	}

	.edit-post-visual-editor .editor-block-list__block h3 {
		font-size: 27px;
		line-height: 1.1852;
		padding: 1.2em 0 0.6em;
	}

	.edit-post-visual-editor .editor-block-list__block h4 {
		font-size: 22px;
		line-height: 1.4545;
		padding: 0.75em 0 0.35em;
	}

	.edit-post-visual-editor .editor-block-list__block h5,
	.edit-post-visual-editor .editor-block-list__block h6 {
		font-size: 19px;
		line-height: 1.2632;
		padding: 0.85em 0 0.45em;
	}
}

/*--------------------------------------------------------------
2.0 General Block Styles
--------------------------------------------------------------*/

/* Main column width */

body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
	max-width: 690px; /* 660px + 30px for the editor padding */
}

/* Link styles */

.edit-post-visual-editor a,
.editor-block-list__block a,
.wp-block-freeform.block-library-rich-text__tinymce a {
	border-bottom: 1px solid #333;
	color: #333;
	text-decoration: none;
}

/* List styles */

.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul,
.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol {
	margin: 0 0 1.6em 1.3333em;
	padding: 0;
}

.block-library-list .editor-rich-text__tinymce {
	padding: 0;
}

.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul {
	list-style: disc;
}

.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol {
	list-style: decimal;
}

.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
.block-library-list li > ul,
.edit-post-visual-editor li > ol,
.editor-block-list__block li > ol,
.block-library-list li > ol {
	margin-bottom: 0;
}

.wp-block-freeform.block-library-rich-text__tinymce li,
.editor-block-list__block li {
	margin-bottom: 0;
}

.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
.rtl .block-library-list ul,
.rtl .edit-post-visual-editor ol,
.rtl .editor-block-list__block ol,
.rtl .block-library-list ol {
	margin-left: 0;
	margin-right: 1.3333em;
}

/* Quote */

.rtl .editor-block-list__block blockquote {
	border-left: 0;
	padding-left: 0;
}

/* Captions */

[class^="wp-block-"] figcaption {
	color: #707070;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	margin-bottom: 0;
	padding: 0.5em 0;
}

.editor-block-list__block [class^="wp-block-"] figcaption {
	line-height: 1.5;
}

@media screen and (min-width: 46.25em) {
	[class^="wp-block-"] figcaption {
		font-size: 14px;
	}
}

@media screen and (min-width: 55em) {
	[class^="wp-block-"] figcaption {
		font-size: 16px;
	}
}

@media screen and (min-width: 59.6875em) {
	[class^="wp-block-"] figcaption {
		font-size: 12px;
	}
}

@media screen and (min-width: 68.75em) {
	[class^="wp-block-"] figcaption {
		font-size: 14px;
	}
}

@media screen and (min-width: 77.5em) {
	[class^="wp-block-"] figcaption {
		font-size: 16px;
	}
}

/* Pre */

[class^="wp-block-"] pre {
	font-size: inherit;
}

/* Alignments */

.wp-block-quote.alignright,
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
	margin: 0.4211em 0 1.6842em 1.6842em;
}

.wp-block-quote.alignleft,
.wp-block-freeform.block-library-rich-text__tinymce .alignleft {
	margin: 0.4211em 1.6842em 1.6842em 0;
}

/*--------------------------------------------------------------
3.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	font-size: 5em;
}

/* Quotes */

.wp-block-quote,
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
	color: #707070;
	margin-bottom: 1.6667em;
	padding-left: 0.7778em;
}

.wp-block-quote:not(.is-large):not(.is-style-large),
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
	border-color: #707070;
}

.edit-post-visual-editor .wp-block-quote p {
	font-size: 18px;
	font-style: italic;
	line-height: 1.6667;
	margin-bottom: 1.6667em;
}

.edit-post-visual-editor .wp-block-quote > p:last-child {
	margin-bottom: 0;
}

.wp-block-quote__citation {
	color: #333;
	font-family: "Noto Sans", sans-serif;
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
	text-transform: none;
}

.wp-block-quote em,
.wp-block-quote i {
	font-style: normal;
}

.wp-block-quote strong,
.wp-block-quote b {
	font-weight: 400;
}

@media screen and (min-width: 46.25em) {
	.edit-post-visual-editor .wp-block-quote p {
		font-size: 20px;
		line-height: 1.75;
	}

	.wp-block-quote__citation {
		font-size: 17px;
		line-height: 1.6471;
	}
}

@media screen and (min-width: 55em) {
	.edit-post-visual-editor .wp-block-quote p {
		font-size: 22px;
		line-height: 1.8182;
	}

	.wp-block-quote__citation {
		font-size: 19px;
		line-height: 1.6842;
	}
}

@media screen and (min-width: 59.6875em) {
	.edit-post-visual-editor .wp-block-quote p {
		font-size: 18px;
		line-height: 1.6667;
	}

	.wp-block-quote__citation {
		font-size: 15px;
		line-height: 1.6;
	}
}

@media screen and (min-width: 68.75em) {
	.edit-post-visual-editor .wp-block-quote p {
		font-size: 20px;
		line-height: 1.75;
	}

	.wp-block-quote__citation {
		font-size: 17px;
		line-height: 1.6471;
	}
}

@media screen and (min-width: 77.5em) {
	.edit-post-visual-editor .wp-block-quote p {
		font-size: 22px;
		line-height: 1.8182;
	}

	.wp-block-quote__citation {
		font-size: 19px;
		line-height: 1.6842;
	}
}

/* Cover Image */

.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p,
.wp-block-cover-image h2 {
	font-size: 29px;
	line-height: 1.2069;
}


/* File */

.wp-block-file .editor-rich-text__tinymce {
	border-bottom: 1px solid #333;
}

.wp-block-file .wp-block-file__button {
	background-color: #333;
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	padding: 0.7917em 1.5em;
	text-transform: uppercase;
	vertical-align: baseline;
}

@media screen and (min-width: 46.25em) {
	.wp-block-file .wp-block-file__button {
		font-size: 14px;
		padding: 0.8214em 1.6429em;
	}
}

@media screen and (min-width: 55em) {
	.wp-block-file .wp-block-file__button {
		font-size: 16px;
		padding: 0.8125em 1.625em;
	}
}

@media screen and (min-width: 59.6875em) {
	.wp-block-file .wp-block-file__button {
		font-size: 12px;
		padding: 0.7917em 1.5833em;
	}
}

@media screen and (min-width: 68.75em) {
	.wp-block-file .wp-block-file__button {
		font-size: 14px;
		padding: 0.8214em 1.5714em;
	}
}

@media screen and (min-width: 77.5em) {
	.wp-block-file .wp-block-file__button {
		font-size: 16px;
		padding: 0.8125em 1.625em;
	}
}

/*--------------------------------------------------------------
4.0 Blocks - Formatting
--------------------------------------------------------------*/

/* Code */

.wp-block-code,
.wp-block-freeform.block-library-rich-text__tinymce code {
	background: transparent;
	border: 0;
	padding: 0;
}

/* Pullquote */

.wp-block-pullquote,
.editor-block-list__block .wp-block-pullquote blockquote {
	border: 0;
	margin: 0;
	padding-left: 0;
}

.wp-block-pullquote .wp-block-pullquote__citation {
	color: #333;
	font-family: "Noto Sans", sans-serif;
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
	text-transform: none;
}

@media screen and (min-width: 46.25em) {
	.wp-block-pullquote .wp-block-pullquote__citation {
		font-size: 17px;
		line-height: 1.6471;
	}
}

@media screen and (min-width: 55em) {
	.wp-block-pullquote .wp-block-pullquote__citation {
		font-size: 19px;
		line-height: 1.6842;
	}
}

@media screen and (min-width: 59.6875em) {
	.wp-block-pullquote .wp-block-pullquote__citation {
		font-size: 15px;
		line-height: 1.6;
	}
}

@media screen and (min-width: 68.75em) {
	.wp-block-pullquote .wp-block-pullquote__citation {
		font-size: 17px;
		line-height: 1.6471;
	}
}

@media screen and (min-width: 77.5em) {
	.wp-block-pullquote .wp-block-pullquote__citation {
		font-size: 19px;
		line-height: 1.6842;
	}
}

/* Tables */

.editor-block-list__block .wp-block-table th,
.editor-block-list__block .wp-block-table td {
	padding: 0;
}

.rtl .editor-block-list__block .wp-block-table th {
	text-align: right;
}

/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Button */

.wp-block-button .wp-block-button__link {
	background-color: #333;
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	padding: 0.7917em 1.5em;
	text-transform: uppercase;
	vertical-align: baseline;
}

@media screen and (min-width: 46.25em) {
	.wp-block-button .wp-block-button__link {
		font-size: 14px;
		padding: 0.8214em 1.6429em;
	}
}

@media screen and (min-width: 55em) {
	.wp-block-button .wp-block-button__link {
		font-size: 16px;
		padding: 0.8125em 1.625em;
	}
}

@media screen and (min-width: 59.6875em) {
	.wp-block-button .wp-block-button__link {
		font-size: 12px;
		padding: 0.7917em 1.5833em;
	}
}

@media screen and (min-width: 68.75em) {
	.wp-block-button .wp-block-button__link {
		font-size: 14px;
		padding: 0.8214em 1.5714em;
	}
}

@media screen and (min-width: 77.5em) {
	.wp-block-button .wp-block-button__link {
		font-size: 16px;
		padding: 0.8125em 1.625em;
	}
}

/* Seperator */

.wp-block-separator {
	max-width: 100px;
}

.wp-block-separator.is-style-wide {
	max-width: 100%;
}


/*--------------------------------------------------------------
6.0 Blocks - Widgets
--------------------------------------------------------------*/

/* Latest Comments */

.wp-block-latest-comments {
	margin: 0;
}

.wp-block-latest-comments__comment,
.wp-block-latest-comments__comment-excerpt,
.wp-block-latest-comments__comment-excerpt p {
	font-size: inherit;
}

.wp-block-latest-comments__comment-meta a {
	border-bottom-color: transparent;
	font-weight: 700;
}

.wp-block-latest-comments__comment-excerpt p:last-child {
	margin-bottom: 0;
}

.wp-block-latest-comments__comment-date {
	color: #707070;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	line-height: 1.5;
	margin-bottom: 1.6em;
}

@media screen and (min-width: 46.25em) {
	.wp-block-latest-comments__comment-date {
		font-size: 14px;
	}
}

@media screen and (min-width: 55em) {
	.wp-block-latest-comments__comment-date {
		font-size: 16px;
	}
}

@media screen and (min-width: 59.6875em) {
	.wp-block-latest-comments__comment-date {
		font-size: 12px;
	}
}

@media screen and (min-width: 68.75em) {
	.wp-block-latest-comments__comment-date {
		font-size: 14px;
	}
}

@media screen and (min-width: 77.5em) {
	.wp-block-latest-comments__comment-date {
		font-size: 16px;
	}
}

.wp-block-latest-comments .wp-block-latest-comments__comment {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(51, 51, 51, 0.1);
	margin-bottom: 0;
	padding: 1.6em 0;
}

/* Latest Posts */

.edit-post-visual-editor .wp-block-latest-posts.is-grid {
	list-style: none;
	margin-left: 0;
	margin-right: 0;
}

.edit-post-visual-editor .wp-block-latest-posts.is-grid li {
	margin-bottom: 16px;
}

The same content is in 3 releases, WordPress 5.0-beta1 to 5.0-beta3. See them all, or every version of this file.