Skip to content

Commit

Permalink
add support for custom post types
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Oct 4, 2024
1 parent 08f1d58 commit 2ae175f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion assets/css/editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/editor-style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions assets/sass/_post.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.single,
.page {
#primary .post,
#primary .page {
#primary article {
&.has-full-width-featured-image {
margin-top: 0px;
}
Expand Down Expand Up @@ -58,16 +57,13 @@
}
}

#primary .post:first-child,
#primary .page:first-child,
#primary .attachment:first-child {
#primary article:first-child {
margin-top: 50px;
}

.home,
.archive {
#primary .post,
#primary .page {
#primary article {
&:after {
content: "";
border-top: 1px solid $border-gray;
Expand Down Expand Up @@ -345,9 +341,7 @@ h4.entry-title {
}
}

#primary .post,
#primary .page,
#primary .attachment {
#primary article {
padding: 0;
margin-top: 100px;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion languages/autonomie.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Autonomie 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/autonomie\n"
"POT-Creation-Date: 2024-07-15 14:19:54+00:00\n"
"POT-Creation-Date: 2024-10-04 19:20:04+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

Loading

0 comments on commit 2ae175f

Please sign in to comment.