This repository has been archived by the owner on Feb 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quadrat: revise post header and meta (#3824)
* Revise post header and meta. * Reorder CSS * Use pseudo elementls the dot is rendered. * Make h1 font size a custom variable. * Fix missing paren bug. * Hack to hide the pipe dividers between post tags. * Revise navigation type size + base type size to use preset. * Display none to make the pseudo element go away. * Update quadrat/block-template-parts/single.html Co-authored-by: Kjell Reigstad <[email protected]> * Update quadrat/block-template-parts/single.html Co-authored-by: Kjell Reigstad <[email protected]> * Update quadrat/block-template-parts/single.html Co-authored-by: Kjell Reigstad <[email protected]> Co-authored-by: Ben Dwyer <[email protected]> Co-authored-by: Kjell Reigstad <[email protected]>
- Loading branch information
1 parent
7548e0a
commit 0c26b06
Showing
6 changed files
with
102 additions
and
21 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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,28 @@ | ||
.post-meta { | ||
align-items: center; | ||
justify-content: center; | ||
|
||
.wp-block-post-date::before { | ||
display: none; | ||
} | ||
|
||
> *, | ||
.wp-block-post-date { | ||
margin: 0 8px; | ||
} | ||
|
||
.wp-block-post-terms { | ||
margin-left: 0; | ||
&::before { | ||
color: var(--wp--custom--color--foreground); | ||
content: "·"; | ||
margin-right: 8px; | ||
} | ||
|
||
// Needed while https://github.com/WordPress/gutenberg/issues/31710 is sorted. | ||
color: transparent; | ||
a { | ||
color: var(--wp--custom--color--foreground); | ||
} | ||
} | ||
} |
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