Jelajahi Sumber

Begin adding support to Illustratr.

Caroline Moore 6 tahun lalu
induk
melakukan
4a0140fd8d
3 mengubah file dengan 1399 tambahan dan 0 penghapusan
  1. 561 0
      illustratr/blocks.css
  2. 823 0
      illustratr/editor-blocks.css
  3. 15 0
      illustratr/functions.php

+ 561 - 0
illustratr/blocks.css

@@ -0,0 +1,561 @@
+/*
+Theme Name: Illustratr
+Description: Used to style Gutenberg Blocks.
+*/
+
+/*--------------------------------------------------------------
+>>> 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 */
+
+[class^="wp-block-"] figcaption {
+	margin: 10px 0 0;
+	text-align: center;
+	color: #7f8d8c;
+	font-family: "PT Serif", serif;
+	font-size: 0.73em;
+	line-height: 1.3;
+	font-style: italic;
+	text-align: center;
+}
+
+/*--------------------------------------------------------------
+2.0 Blocks - Common Blocks
+--------------------------------------------------------------*/
+
+/* Paragraph */
+
+p.has-drop-cap:not(:focus)::first-letter {
+	font-size: 64px;
+}
+
+/* Images */
+
+.wp-block-cover,
+.wp-block-cover.alignleft,
+.wp-block-cover.alignright,
+.wp-block-cover.aligncenter {
+	display: flex;
+}
+
+/* Full Width */
+figure.alignfull,
+.wp-block-cover.alignfull,
+.wp-block-gallery.alignfull,
+.wp-block-embed.is-type-video.alignfull {
+	width: 100vw;
+	max-width: 100vw;
+	margin-left: 0;
+	margin-right: 0;
+	position: relative;
+	left: 50%;
+	transform: translateX( -50% );
+}
+
+.rtl figure.alignfull,
+.rtl .wp-block-cover.alignfull,
+.rtl .wp-block-gallery.alignfull,
+.rtl .wp-block-embed.is-type-video.alignfull {
+	left: auto;
+	right: 50%;
+	transform: translateX(50%);
+}
+
+.wp-block-embed.is-type-video.alignfull:before {
+	content: "";
+	display: block;
+}
+
+.wp-block-embed.is-type-video.alignfull iframe {
+	position:  absolute;
+	top: 0;
+	left: 0;
+	bottom: 0;
+	right: 0;
+	width: 100%;
+	height: 100%;
+}
+
+.wp-embed-aspect-1-1:before {
+	padding-top: 100%;
+}
+
+.wp-embed-aspect-2-1:before {
+	padding-top: 50%;
+}
+
+.wp-embed-aspect-1-2:before {
+	padding-top: 200%;
+}
+
+.wp-embed-aspect-4-3:before {
+	padding-top: 75%;
+}
+
+.wp-embed-aspect-16-9:before {
+	padding-top: 56.25%;
+}
+
+/* Wide Width */
+
+@media (min-width: 1024px) {
+	figure.alignwide,
+	.wp-block-cover.alignwide,
+	.wp-block-gallery.alignwide,
+	.wp-block-embed.is-type-video.alignwide {
+		width: 120%;
+		max-width: 120%;
+		margin-left: -10%;
+		margin-right: -10%;
+		position: relative;
+	}
+
+	.wp-block-embed.is-type-video.alignwide:before {
+		content: "";
+		display: block;
+	}
+
+	.wp-block-embed.is-type-video.alignwide iframe {
+		position:  absolute;
+		top: 0;
+		left: 0;
+		bottom: 0;
+		right: 0;
+		width: 100%;
+		height: 100%;
+	}
+}
+
+/* Gallery */
+
+.wp-block-gallery {
+	margin-bottom: 40px;
+	margin-left: auto;
+}
+
+/* Quote */
+
+blockquote cite {
+	font-style: normal;
+}
+
+.wp-block-quote,
+.wp-block-quote.is-large p,
+.wp-block-quote.is-style-large p {
+	font-style: normal;
+}
+
+.wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
+.wp-block-quote:not(.is-large):not(.is-style-large).alignright {
+}
+
+.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
+.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignright {
+}
+
+.wp-block-quote cite {
+	display: block;
+	font-family: "Source Sans Pro", Helvetica, sans-serif;
+	font-size: 16px;
+	font-style: normal;
+	font-weight: bold;
+	margin: .4em 0;
+	text-transform: uppercase;
+}
+
+.wp-block-quote cite:before {
+}
+
+.wp-block-quote.is-large cite,
+.wp-block-quote.is-large footer,
+.wp-block-quote.is-style-large cite,
+.wp-block-quote.is-style-large footer {
+	text-align: left;
+}
+
+.wp-block-quote.is-large,
+.wp-block-quote.is-style-large {
+	padding-left: 40px;
+}
+
+.wp-block-quote.is-large,
+.wp-block-quote.is-style-large,
+.wp-block-quote.is-large p,
+.wp-block-quote.is-style-large p {
+	font-size: 32px;
+}
+
+.wp-block-quote.is-large p,
+.wp-block-quote.is-style-large p {
+	margin-bottom: .8em;
+}
+
+.rtl .wp-block-quote {
+	border: 0;
+}
+
+/* Audio */
+
+.wp-block-audio audio {
+	display: block;
+	width: 100%;
+}
+
+/* File */
+
+.wp-block-file .wp-block-file__button {
+	padding: 10px 20px;
+	background: #464d4d;
+	border: 1px solid #464d4d;
+	color: white;
+	text-transform: uppercase;
+	font-weight: 900;
+	cursor: pointer;
+	/* Improves usability and consistency of cursor style between image-type 'input' and others */
+	-webkit-appearance: button;
+	/* Corrects inability to style clickable 'input' types in iOS */
+}
+
+.wp-block-file .wp-block-file__button:hover,
+.wp-block-file .wp-block-file__button:focus {
+	background: #e06d5e;
+	border-color: #e06d5e;
+	color: #fff;
+}
+
+.wp-block-file .wp-block-file__button:focus {
+	background: #e06d5e;
+	border-color: #e06d5e;
+	color: #fff;
+}
+
+.rtl .wp-block-file * + .wp-block-file__button {
+}
+
+/*--------------------------------------------------------------
+3.0 Blocks - Formatting Blocks
+--------------------------------------------------------------*/
+
+/* Verse */
+
+.wp-block-verse {
+	background: transparent;
+	color: inherit;
+	font-family: inherit;
+	font-size: inherit;
+	line-height: inherit;
+	margin-bottom: 40px;
+	max-width: 100%;
+	overflow: auto;
+	padding: 0;
+}
+
+/* Code */
+
+.wp-block-code {
+	padding: 0 5px 20px 5px;
+	background: #f1f2f3;
+	font-family: "Source Code Pro", monospace;
+	letter-spacing: -0.05em;
+	position: relative;
+	overflow: auto;
+	margin-bottom: 20px;
+	max-width: 100%;
+}
+
+/* Pullquote */
+
+.wp-block-pullquote {
+	margin: 0;
+	padding: 0;
+	border: 0;
+}
+
+.wp-block-pullquote blockquote {
+	border: none;
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 32px;
+	font-style: normal;
+	margin-left: 0;
+	margin-bottom: 40px;
+	padding-left: 40px;
+	padding-right: 0;
+	position: relative;
+}
+
+.wp-block-pullquote.alignleft {
+	margin-right: 40px;
+}
+
+.wp-block-pullquote.alignright p {
+	margin-left: 40px;
+}
+
+.wp-block-pullquote.alignleft p,
+.wp-block-pullquote.alignright p {
+	font-size: 23px;
+}
+
+.rtl .wp-block-pullquote blockquote {
+	border: 0;
+	padding-right: 40px;
+	padding-left: 0;
+}
+
+.wp-block-pullquote p {
+	margin: 0;
+}
+
+.wp-block-pullquote cite {
+	font-size: 16px;
+}
+
+.wp-block-pullquote cite:before {
+}
+
+/* Table */
+
+.wp-block-table,
+.wp-block-table th,
+.wp-block-table td {
+}
+
+.wp-block-table {
+}
+
+.wp-block-table th,
+.wp-block-table td {
+}
+
+.wp-block-table th {
+}
+
+.wp-block-table td {
+}
+
+.rtl .wp-block-table th,
+.rtl .wp-block-table td {
+}
+
+/*--------------------------------------------------------------
+4.0 Blocks - Layout Elements
+--------------------------------------------------------------*/
+
+/* Buttons */
+
+.wp-block-button .wp-block-button__link {
+	padding: 10px 20px;
+	border: 1px solid;
+	border-radius: 0;
+	display: inline-block;
+	text-transform: uppercase;
+	font-weight: 900;
+	cursor: pointer;
+	/* Improves usability and consistency of cursor style between image-type 'input' and others */
+	-webkit-appearance: button;
+	/* Corrects inability to style clickable 'input' types in iOS */
+}
+
+@media screen and (max-width: 767px) {
+	.wp-block-button .wp-block-button__link {
+		padding: 5px 10px;
+	}
+}
+
+.wp-block-button .wp-block-button__link:active,
+.wp-block-button .wp-block-button__link:hover,
+.wp-block-button .wp-block-button__link:focus {
+}
+
+.wp-block-button__link:not(.has-background) {
+	background: #464d4d;
+	border: 1px solid #464d4d;
+}
+
+.wp-block-button__link:not(.has-background):focus {
+	background: #e06d5e;
+}
+
+.wp-block-button__link:not(.has-text-color),
+.wp-block-button__link:not(.has-text-color):active,
+.wp-block-button__link:not(.has-text-color):focus,
+.wp-block-button__link:not(.has-text-color):hover {
+	color: white;
+}
+
+.wp-block-button__link:not(.has-background):active,
+.wp-block-button__link:not(.has-background):focus,
+.wp-block-button__link:not(.has-background):hover {
+	background: #e06d5e;
+	border-color: #e06d5e;
+}
+
+/* Seperator */
+
+hr.wp-block-separator {
+	border: 0;
+}
+
+.wp-block-separator {
+	margin-bottom: 20px;
+	height: 1px;
+	background: #f1f2f3;
+	border: 0;
+	max-width: 66%;
+}
+
+.wp-block-separator.is-style-wide {
+	max-width: 100%;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Widget Blocks
+--------------------------------------------------------------*/
+
+/* Categories */
+
+.wp-block-categories.aligncenter {
+	margin-left: 40px;
+	margin-right: 40px;
+	text-align: center;
+}
+
+.wp-block-categories-list.alignleft {
+	margin-left: 40px;
+}
+
+/* Latest Comments */
+
+.editor-block-list__block .wp-block-latest-comments__comment-meta a {
+	box-shadow: none;
+	font-weight: 700;
+	text-decoration: none;
+}
+
+.wp-block-latest-comments__comment-date {
+}
+
+.wp-block-latest-comments .wp-block-latest-comments__comment {
+	border-top: 1px solid #f1f2f3;
+	margin-bottom: 0;
+	padding: 40px 0;
+}
+
+.wp-block-latest-comments__comment-excerpt p:last-child {
+	margin-bottom: 0;
+}
+
+/*--------------------------------------------------------------
+6.0 Blocks - Colors
+--------------------------------------------------------------*/
+
+.has-dark-gray-color,
+.has-dark-gray-color:hover,
+.has-dark-gray-color:focus,
+.has-dark-gray-color:active {
+	color: #464d4d;
+}
+
+.has-dark-gray-background-color,
+.has-dark-gray-background-color:hover,
+.has-dark-gray-background-color:focus,
+.has-dark-gray-background-color:active {
+	background-color: #464d4d;
+}
+
+.has-medium-gray-color,
+.has-medium-gray-color:hover,
+.has-medium-gray-color:focus,
+.has-medium-gray-color:active {
+	color: #7f8d8c;
+}
+
+.has-medium-gray-background-color,
+.has-medium-gray-background-color:hover,
+.has-medium-gray-background-color:focus,
+.has-medium-gray-background-color:active {
+	background-color: #7f8d8c;
+}
+
+.has-light-gray-color,
+.has-light-gray-color:hover,
+.has-light-gray-color:focus,
+.has-light-gray-color:active {
+	color: #f1f2f3;
+}
+
+.has-light-gray-background-color,
+.has-light-gray-background-color:hover,
+.has-light-gray-background-color:focus,
+.has-light-gray-background-color:active {
+	background-color: #f1f2f3;
+}
+
+.has-white-color,
+.has-white-color:hover,
+.has-white-color:focus,
+.has-white-color:active {
+	color: #fff;
+}
+
+.has-white-background-color,
+.has-white-background-color:hover,
+.has-white-background-color:focus,
+.has-white-background-color:active {
+	background-color: #fff;
+}
+
+.has-red-color,
+.has-red-color:hover,
+.has-red-color:focus,
+.has-red-color:active {
+	color: #e06d5e;
+}
+
+.has-red-background-color,
+.has-red-background-color:hover,
+.has-red-background-color:focus,
+.has-red-background-color:active {
+	background-color: #e06d5e;
+}
+
+.has-dark-red-color,
+.has-dark-red-color:hover,
+.has-dark-red-color:focus,
+.has-dark-red-color:active {
+	color: #0c8384;
+}
+
+.has-dark-red-background-color,
+.has-dark-red-background-color:hover,
+.has-dark-red-background-color:focus,
+.has-dark-red-background-color:active {
+	background-color: #0c8384;
+}
+
+.has-black-color,
+.has-black-color:hover,
+.has-black-color:focus,
+.has-black-color:active {
+	color: #24282d;
+}
+
+.has-black-background-color,
+.has-black-background-color:hover,
+.has-black-background-color:focus,
+.has-black-background-color:active {
+	background-color: #24282d;
+}
+

+ 823 - 0
illustratr/editor-blocks.css

@@ -0,0 +1,823 @@
+
+/*
+ * Theme Name: Illustratr
+ * Description: Gutenberg Block Editor Styles
+ */
+
+/*--------------------------------------------------------------
+>>> 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:not(.wp-block-cover-text),
+.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
+	color: #444340;
+	font-family: "Source Sans Pro", Helvetica, sans-serif;
+	font-size: 16px;
+	font-weight: 300;
+	line-height: 1.6;
+}
+
+@media screen and (min-width: 850px) {
+	.edit-post-visual-editor .editor-block-list__block,
+	.edit-post-visual-editor .editor-block-list__block p:not(.wp-block-cover-text),
+	.editor-default-block-appender input[type="text"].editor-default-block-appender__content {
+		font-size: 18px;
+	}
+}
+
+.alignleft {
+	margin-right: 1.6em;
+}
+
+.alignright {
+	margin-left: 1.6em;
+}
+
+/* Title */
+
+.editor-post-title__block .editor-post-title__input {
+	clear: both;
+	font-family: "Yrsa", sans-serif;
+	margin-bottom: .8em;
+	font-size: 23px;
+	font-weight: normal;
+	line-height: 1.1;
+	margin-bottom: 0.2em;
+}
+
+@media screen and ( min-width: 850px ) {
+	.editor-post-title__block .editor-post-title__input {
+		font-size: 32px;
+	}
+}
+
+/* Headings */
+
+.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-family: "Yrsa", sans-serif;
+	font-weight: 300;
+	margin-bottom: .8em;
+}
+
+.edit-post-visual-editor h1 {
+	font-size: 29px;
+	line-height: 1.1;
+	margin-bottom: 0.2em;
+}
+
+.edit-post-visual-editor h2 {
+	font-size: 23px;
+	margin-bottom: 0.4em;
+}
+
+.edit-post-visual-editor h3 {
+	font-size: 18px;
+}
+
+.edit-post-visual-editor h4 {
+	font-size: 16px;
+}
+
+.edit-post-visual-editor h5 {
+	font-size: 15px;
+}
+
+.edit-post-visual-editor h6 {
+	font-size: 14px;
+}
+
+@media screen and (min-width: 850px) {
+
+	.edit-post-visual-editor h1 {
+		font-size: 47px;
+		line-height: 1.1;
+		margin-bottom: 0.2em;
+	}
+
+	.edit-post-visual-editor h2 {
+		font-size: 29px;
+		margin-bottom: 0.4em;
+	}
+
+	.edit-post-visual-editor h3 {
+		font-size: 23px;
+	}
+
+	.edit-post-visual-editor h4 {
+		font-size: 18px;
+	}
+
+	.edit-post-visual-editor h5 {
+		font-size: 16px;
+	}
+
+	.edit-post-visual-editor h6 {
+		font-size: 15px;
+	}
+}
+
+/* Paragraphs */
+
+.edit-post-visual-editor p {
+	margin: 0 0 1.6em;
+}
+
+.edit-post-visual-editor blockquote p {
+	margin-bottom: 1.6em;
+}
+
+/* Images */
+
+.wp-block-image figcaption {
+	font-size: 15px;
+	font-style: italic;
+	text-align: center;
+}
+
+/*--------------------------------------------------------------
+2.0 General Block Styles
+--------------------------------------------------------------*/
+
+/* Main column width */
+
+.wp-block {
+	max-width: 705px; /* 675px + 30px to account for padding */
+}
+
+/* Link styles */
+
+.edit-post-visual-editor a,
+.editor-block-list__block a,
+.wp-block-freeform.block-library-rich-text__tinymce a {
+	color: #15b6b8;
+	text-decoration: none;
+}
+
+.edit-post-visual-editor a:hover,
+.edit-post-visual-editor a:focus,
+.edit-post-visual-editor a:active,
+.editor-block-list__block a:hover,
+.editor-block-list__block a:focus,
+.editor-block-list__block a:active,
+.wp-block-freeform.block-library-rich-text__tinymce a:hover,
+.wp-block-freeform.block-library-rich-text__tinymce a:focus,
+.wp-block-freeform.block-library-rich-text__tinymce a:active {
+	color: #a8a6a1;
+	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.6em;
+	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,
+.editor-block-list__block ul:not(.wp-block-gallery) li,
+.edit-post-visual-editor ol li,
+.editor-block-list__block ol li,
+.block-library-list li {
+	margin-bottom: 0;
+}
+
+.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;
+	margin-left: 1em;
+}
+
+.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: 1em;
+	padding: 0;
+}
+
+.rtl .edit-post-visual-editor ol,
+.rtl .editor-block-list__block ol,
+.rtl .block-library-list ol {
+	margin-left: 0;
+	margin-right: 1.6em;
+}
+
+/* Captions */
+
+[class^="wp-block-"] figcaption {
+	color: #686868;
+	font-style: italic;
+	line-height: 1.6153846154;
+	padding-top: 0.5384615385em;
+}
+
+/*--------------------------------------------------------------
+3.0 Blocks - Common Blocks
+--------------------------------------------------------------*/
+
+/* Paragraph */
+
+.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
+	font-size: 64px;
+}
+
+.rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
+}
+
+/* Quote */
+
+.editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
+	border: 0;
+	padding-left: 2.4em;
+	padding-right: 0;
+}
+
+.editor-block-list__block .wp-block-quote {
+	border: none;
+	margin-left: 0;
+	margin-bottom: 1.6em;
+	padding-left: 2.4em;
+	padding-right: 0;
+	position: relative;
+}
+
+.edit-post-visual-editor .editor-block-list__block blockquote p:not(.wp-block-cover-text) {
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 23px;
+	font-style: normal;
+}
+
+.editor-block-list__block .wp-block-quote:before {
+	color: #ccc;
+	content: "\201C";
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 140px;
+	font-style: normal;
+	line-height: 1;
+	position: absolute;
+	top: -5px;
+	left: -10px;
+}
+
+.editor-block-list__block .wp-block-quote__citation {
+	display: block;
+	font-family: "Source Sans Pro", Helvetica, sans-serif;
+	font-size: 16px;
+	font-weight: bold;
+	margin: .4em 0;
+	text-transform: uppercase;
+}
+
+.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
+	padding-left: 0;
+	padding-right: 2.4em;
+}
+
+.rtl .editor-block-list__block .wp-block-quote {
+	margin-right: 0;
+	padding-left: 0;
+	padding-right: 2.4em;
+}
+
+.rtl .editor-block-list__block .wp-block-quote:before {
+	position: absolute;
+	left: auto;
+	right: -10px;
+}
+
+.editor-block-list__block .wp-block-quote em,
+.editor-block-list__block .wp-block-quote i,
+.editor-block-list__block .wp-block-quote__citation:before {
+	font-style: normal;
+}
+
+.editor-block-list__block .wp-block-quote > :last-child {
+	margin-bottom: 0;
+}
+
+.editor-block-list__block .wp-block-quote.alignleft {
+	margin: .8em 1.6em .8em 0;
+}
+
+.editor-block-list__block .wp-block-quote.alignright {
+	margin: .8em 0 .8em 1.6em;
+}
+
+.editor-block-list__block .wp-block-quote.aligncenter {
+	margin-bottom: 1.6em;
+}
+
+.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
+.rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large).alignright  {
+}
+
+.wp-block-quote.is-large,
+.wp-block-quote.is-style-large {
+	padding-left: 1.6em;
+}
+
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large,
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large,
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-large p,
+.edit-post-visual-editor .editor-block-list__block .wp-block-quote.is-style-large p {
+	font-style: normal;
+	font-size: 32px;
+}
+
+.editor-block-list__block .wp-block-quote.is-large p,
+.editor-block-list__block .wp-block-quote.is-style-large p {
+	margin-bottom: .8em;
+}
+
+/* Audio */
+
+/* Cover Images */
+
+/* File */
+
+.wp-block-file__textlink {
+	box-shadow: 0 1px 0 0 currentColor;
+	color: #15b6b8;
+}
+
+.wp-block-file .wp-block-file__button {
+	background-color: #15b6b8;
+	border-style: none;
+	color: #fff;
+	cursor: pointer;
+	display: inline-block;
+	font-size: 15px;
+	font-weight: bold;
+	letter-spacing: 1px;
+	line-height: 2;
+	padding: .25em 1em .4em;
+	text-align: center;
+	vertical-align: middle;
+	text-transform: uppercase;
+	border-radius: 3px;
+	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
+	-webkit-appearance: none;
+}
+
+/*--------------------------------------------------------------
+4.0 Blocks - Formatting
+--------------------------------------------------------------*/
+
+/* Verse */
+
+.wp-block-verse pre {
+	background: transparent;
+	color: inherit;
+	font-family: inherit;
+	line-height: inherit;
+	margin-bottom: 1.6em;
+	max-width: 100%;
+	overflow: auto;
+	padding: 0;
+}
+
+/* Code */
+
+.wp-block-code {
+	font-family: "Courier 10 Pitch", Courier, monospace;
+}
+
+/* Classic */
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote {
+	border: none;
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 23px;
+	font-style: normal;
+	margin-left: 0;
+	margin-bottom: 1.6em;
+	padding-left: 2.4em;
+	position: relative;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
+	color: #ccc;
+	content: "\201C";
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 140px;
+	font-style: normal;
+	line-height: 1;
+	position: absolute;
+	top: -5px;
+	left: -10px;
+}
+
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote > :last-child {
+	margin-bottom: 0;
+}
+
+.editor-block-list__block .wp-block-freeform.block-library-rich-text__tinymce blockquote:not(.alignleft):not(.alignright) {
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
+	display: block;
+	font-family: "Source Sans Pro", Helvetica, sans-serif;
+	font-size: 16px;
+	font-weight: bold;
+	margin: .4em 0;
+	text-transform: uppercase;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote cite:before {
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote.aligncenter {
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote {
+	margin-right: 0;
+	padding-left: 0;
+	padding-right: 2.4em;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
+	position: absolute;
+	top: -5px;
+	left: auto;
+	right: -10px;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignleft {
+	float: left;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce .alignright {
+	float: right;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignleft {
+	margin: .75em 1.6em .75em 0;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce blockquote.alignright {
+	margin: .75em 0 .75em 1.6em;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce h1 {
+	font-size: 29px;
+	line-height: 1.1;
+	margin-bottom: 0.2em;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce h2 {
+	font-size: 23px;
+	margin-bottom: 0.4em;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce h3 {
+	font-size: 18px;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce {
+	font-size: 16px;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce h5 {
+	font-size: 15px;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce h6 {
+	font-size: 14px;
+}
+
+@media screen and (min-width: 850px) {
+
+	.wp-block-freeform.block-library-rich-text__tinymce h1 {
+		font-size: 47px;
+		line-height: 1.1;
+		margin-bottom: 0.2em;
+	}
+
+	.wp-block-freeform.block-library-rich-text__tinymce h2 {
+		font-size: 29px;
+		margin-bottom: 0.4em;
+	}
+
+	.wp-block-freeform.block-library-rich-text__tinymce h3 {
+		font-size: 23px;
+	}
+
+	.wp-block-freeform.block-library-rich-text__tinymce h4 {
+		font-size: 18px;
+	}
+
+	.wp-block-freeform.block-library-rich-text__tinymce h5 {
+		font-size: 16px;
+	}
+
+	.wp-block-freeform.block-library-rich-text__tinymce h6 {
+		font-size: 15px;
+	}
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce pre {
+	background: #f2f2f2;
+	font-family: "Courier 10 Pitch", Courier, monospace;
+	font-size: 15px;
+	max-width: 100%;
+	margin-bottom: 1.6em;
+	overflow-x: scroll;
+	padding: 1em;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce table {
+	border-bottom: 1px solid #eee;
+	margin: 0 0 1.6em 0;
+	width: 100%;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce .alternate {
+	background: transparent;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce table td {
+	border: 0;
+	border-top: 1px solid #eee;
+	padding: 0.4em;
+}
+
+.wp-block-freeform.block-library-rich-text__tinymce table th {
+	font-weight: bold;
+	padding: 0.4em;
+	text-transform: uppercase;
+}
+
+.rtl .wp-block-freeform.block-library-rich-text__tinymce th,
+.rtl .wp-block-freeform.block-library-rich-text__tinymce td {
+}
+
+/* Preformatted */
+
+.editor-block-list__block .wp-block-preformatted pre {
+	background: #f2f2f2;
+	font-family: "Courier 10 Pitch", Courier, monospace;
+	font-size: 15px;
+	max-width: 100%;
+	margin-bottom: 1.6em;
+	overflow-x: scroll;
+	padding: 1em;
+}
+
+/* Pullquote */
+
+.editor-block-list__block .wp-block-pullquote blockquote:before {
+	color: #ccc;
+	content: "\201C";
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 140px;
+	font-style: normal;
+	line-height: 1;
+	position: absolute;
+	top: -5px;
+	left: -10px;
+}
+
+.editor-block-list__block .wp-block-pullquote blockquote {
+	margin: 0;
+	padding: 0;
+	border: 0;
+}
+
+.edit-post-visual-editor .wp-block-pullquote p:not(.wp-block-cover-text) {
+	font-family: "Yrsa", Georgia, serif;
+	font-size: 23px;
+	font-style: normal;
+}
+
+.wp-block-pullquote {
+	border: none;
+	margin-left: 0;
+	margin-bottom: 1.6em;
+	padding: 0 0 0 1.6em;
+	position: relative;
+}
+
+.wp-block-pullquote blockquote {
+	font-size: 32px;
+}
+
+.wp-block-pullquote.alignleft {
+	margin-right: 1.6em;
+}
+
+.wp-block-pullquote.alignright {
+	margin-left: 1.6em;
+}
+
+.wp-block-pullquote blockquote > .editor-rich-text p {
+	color: inherit;
+	margin: 0;
+}
+
+.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
+.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
+	font-size: 23px;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation {
+	display: block;
+	font-family: "Source Sans Pro", Helvetica, sans-serif;
+	font-size: 16px;
+	font-weight: bold;
+	margin: .4em 0;
+	text-transform: uppercase;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation:before {
+}
+
+.rtl .editor-block-list__block .wp-block-pullquote blockquote {
+	border: 0;
+	padding-left: 0;
+	padding-right: 1.6em;
+}
+
+.rtl .editor-block-list__block .wp-block-pullquote blockquote:before {
+	right: -10px;
+	left: auto;
+}
+
+/* Table */
+
+.editor-block-list__block table.wp-block-table {
+	display: table;
+	border-bottom: 1px solid #eee;
+	margin: 0 0 1.6em 0;
+	width: 100%;
+}
+
+.editor-block-list__block table.wp-block-table td {
+	border: 0;
+	border-top: 1px solid #eee;
+	padding: 0.4em;
+}
+
+.editor-block-list__block table.wp-block-table th {
+	font-weight: bold;
+	padding: 0.4em;
+	text-transform: uppercase;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Layout Elements
+--------------------------------------------------------------*/
+
+/* Buttons */
+.wp-block-button .wp-block-button__link {
+	border-style: none;
+	cursor: pointer;
+	display: inline-block;
+	font-size: 15px;
+	font-weight: bold;
+	letter-spacing: 1px;
+	line-height: 2;
+	padding: .25em 1em .4em;
+	text-align: center;
+	vertical-align: middle;
+	text-transform: uppercase;
+	border-radius: 3px;
+	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
+	-webkit-appearance: none;
+}
+
+.wp-block-button .wp-block-button__link:active,
+.wp-block-button .wp-block-button__link:hover,
+.wp-block-button .wp-block-button__link:focus {
+	opacity: 0.85;
+}
+
+.wp-block-button__link:not(.has-background) {
+	background-color: #15b6b8;
+}
+
+.wp-block-button__link:not(.has-background):focus {
+	background-color: #15b6b8;
+}
+
+.wp-block-button__link:not(.has-text-color),
+.wp-block-button__link:not(.has-text-color):active,
+.wp-block-button__link:not(.has-text-color):focus,
+.wp-block-button__link:not(.has-text-color):hover {
+	color: #fff;
+}
+
+.wp-block-button__link:not(.has-background):active,
+.wp-block-button__link:not(.has-background):focus,
+.wp-block-button__link:not(.has-background):hover {
+	background-color: #15b6b8;
+}
+
+/* Separator */
+
+.wp-block-separator {
+	border: 0;
+	height: 1px;
+	margin: 1.6em auto;
+	background-color: #e6e6e6;
+	max-width: 66%;
+}
+
+.wp-block-separator.is-style-wide {
+	max-width: 100%;
+}
+
+/*--------------------------------------------------------------
+6.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/* Categories */
+
+.editor-block-list__block[data-align=right] .wp-block-categories__list,
+.editor-block-list__block[data-align=left] .wp-block-categories__list {
+	padding: 0;
+}
+
+/* Latest Comments */
+
+.editor-block-list__block .wp-block-latest-comments__comment-meta a {
+	box-shadow: none;
+	font-weight: 700;
+	text-decoration: none;
+}
+
+.wp-block-latest-comments__comment-date {
+}
+
+.wp-block-latest-comments .wp-block-latest-comments__comment {
+	border-top: 1px solid #e6e6e6;
+	margin-bottom: 0;
+	padding: 1.6em 0;
+}
+
+.wp-block-latest-comments__comment-excerpt p:last-child {
+	margin-bottom: 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: 1em;
+}

+ 15 - 0
illustratr/functions.php

@@ -203,6 +203,10 @@ function illustratr_source_code_pro_font_url() {
  * Enqueue scripts and styles.
  */
 function illustratr_scripts() {
+
+	// Gutenberg styles
+	wp_enqueue_style( 'illustratr-blocks', get_template_directory_uri() . '/css/blocks.css' );
+
 	wp_enqueue_style( 'illustratr-source-sans-pro', illustratr_source_sans_pro_font_url(), array(), null );
 
 	wp_enqueue_style( 'illustratr-pt-serif', illustratr_pt_serif_font_url(), array(), null );
@@ -233,6 +237,17 @@ function illustratr_scripts() {
 }
 add_action( 'wp_enqueue_scripts', 'illustratr_scripts' );
 
+/** 
+ * Gutenberg Editor Styles 
+ */
+function apostrophe_2_editor_styles() {
+	wp_enqueue_style( 'illustratr-editor-block-style', get_template_directory_uri() . '/css/editor-blocks.css');
+	wp_enqueue_style( 'illustratr-source-sans-pro', illustratr_source_sans_pro_font_url(), array(), null );
+	wp_enqueue_style( 'illustratr-pt-serif', illustratr_pt_serif_font_url(), array(), null );
+	wp_enqueue_style( 'illustratr-source-code-pro', illustratr_source_code_pro_font_url(), array(), null );
+}
+add_action( 'enqueue_block_editor_assets', 'apostrophe_2_editor_styles' );
+
 /**
  * Enqueue Google fonts style to admin screen for custom header display.
  *