forked from timber/starter-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#61 adds wp-blocks.css for iframe block, block-separator and video bl…
…ock css
- Loading branch information
1 parent
81701c8
commit 29ec556
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Blocks without unique templates */ | ||
|
||
/* Iframe embed */ | ||
.article-body > .wp-block-embed { | ||
@apply ts-my-block-sm; | ||
iframe { | ||
@apply mx-auto md:h-[440px] md:w-full; | ||
} | ||
} | ||
|
||
/* Separator */ | ||
.wp-block-separator { | ||
@apply border-0 mx-auto my-lg w-[200px] h-[2.25rem] bg-no-repeat; | ||
background-image: url("../images/hr.png"); | ||
} | ||
|
||
/* Video Block */ | ||
.wp-block-video { | ||
@apply ts-bg-dk py-block; | ||
video { | ||
@apply aspect-video p-site xl:container mx-auto md:max-w-[800px]; | ||
} | ||
} |