Last active
February 15, 2018 09:38
-
-
Save zgordon/6cc2317955bb02b6d4f649cfdfd76dad to your computer and use it in GitHub Desktop.
An example sheet that customizes default blocks. Used to enqueue with enqueue_block_assets.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Style all header blocks that appear within the main content area */ | |
.entry-content h1, | |
.entry-content h2, | |
.entry-content h3, | |
.entry-content h4, | |
.entry-content h5, | |
.entry-content h6 { | |
font-family: futura, san-serif; | |
text-transform: uppercase; | |
} | |
/* Customize the font-family for paragraphs with drop cap enabled */ | |
p.has-drop-cap:first-letter { | |
font-family: futura, san-serif; | |
} | |
/* Add bottom margin to cover images */ | |
.wp-block-cover-image { | |
margin: 4rem 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment