Merge pull request #6 from spaytac/v5.4.7

V5.4.7
This commit is contained in:
Aytac Kirmizi 2023-03-06 12:27:15 +01:00 committed by GitHub
commit c1571e5a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 3208 additions and 3194 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,20 +6,19 @@ production stylesheet in assets/built/screen.css
1. Global Styles 1. Global Styles
2. Layout 2. Layout
3. Special Templates 3. Site Header
4. Site Header 4. Site Navigation
5. Site Navigation 5. Post Feed
6. Post Feed 6. Single Post
7. Single Post 6.1. Post Byline
7.1. Post Byline 6.2. Subscribe
7.2. Members Subscribe Form 6.3. Read More
7.4. Related Posts 6.4. Comments
7.5. Koenig Styles 7. Author Template
7.6 Comments 8. Tag Template
8. Author Template
9. Error Template 9. Error Template
11. Site Footer 10. Site Footer
12. Dark Mode 11. Dark Mode
*/ */
@ -87,7 +86,7 @@ production stylesheet in assets/built/screen.css
} }
/* 4. Site Header /* 3. Site Header
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.site-header { .site-header {
@ -258,7 +257,7 @@ production stylesheet in assets/built/screen.css
} }
/* 5. Site Navigation /* 4. Site Navigation
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.gh-head { .gh-head {
@ -266,6 +265,7 @@ production stylesheet in assets/built/screen.css
font-size: 1.6rem; font-size: 1.6rem;
line-height: 1.3em; line-height: 1.3em;
background-color: #fff; background-color: #fff;
z-index: 150;
} }
.has-cover:not(.home-template) .gh-head { .has-cover:not(.home-template) .gh-head {
@ -834,7 +834,7 @@ production stylesheet in assets/built/screen.css
} }
/* 6. Post Feed /* 5. Post Feed
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.post-feed { .post-feed {
@ -1208,7 +1208,7 @@ html.no-infinite-scroll .pagination {
} }
/* 7. Single Post /* 6. Single Post
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.article { .article {
@ -1687,7 +1687,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 7.1. Post Byline /* 6.1. Post Byline
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.article-byline { .article-byline {
@ -1750,7 +1750,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 7.3. Subscribe /* 6.2. Subscribe
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.footer-cta { .footer-cta {
@ -1800,7 +1800,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 7.4. Read more /* 6.3. Read more
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.read-more-wrap { .read-more-wrap {
@ -1839,7 +1839,7 @@ iframe.instagram-media + script + :not([id]) {
} }
} }
/* 7.6. Comments /* 6.4. Comments
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.comments { .comments {
display: flex; display: flex;
@ -1877,7 +1877,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 8. Author Template /* 7. Author Template
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.author-profile-pic { .author-profile-pic {
@ -2011,7 +2011,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 11. Site Footer /* 10. Site Footer
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
.site-footer { .site-footer {
@ -2098,7 +2098,7 @@ iframe.instagram-media + script + :not([id]) {
} }
/* 12. Dark Mode /* 11. Dark Mode
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */
html.dark-mode body { html.dark-mode body {
@ -2123,8 +2123,9 @@ html.dark-mode .gh-head {
color: #fff; color: #fff;
} }
html.dark-mode .gh-burger-box { html.dark-mode .gh-burger::before,
color: #fff; html.dark-mode .gh-burger::after {
background-color: #fff;
} }
html.dark-mode .site-header-content { html.dark-mode .site-header-content {
@ -2258,7 +2259,7 @@ html.dark-mode .gh-content table:not(.gist table) td {
border: color-mod(var(--color-darkmode) l(+8%)) 1px solid; border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
} }
html.dark-mode .gh-content input { html.dark-mode .gh-content :is(input, textarea) {
color: color-mod(var(--color-midgrey) l(-30%)); color: color-mod(var(--color-midgrey) l(-30%));
} }
@ -2284,6 +2285,12 @@ html.dark-mode .footer-cta-title {
color: #fff; color: #fff;
} }
@media (max-width: 767px) {
html.dark-mode .gh-head-open #gh-head .gh-head-actions {
background-color: var(--color-darkmode);
}
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html.auto-color body { html.auto-color body {
color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75);
@ -2307,8 +2314,9 @@ html.dark-mode .footer-cta-title {
color: #fff; color: #fff;
} }
html.auto-color .gh-burger-box { html.auto-color .gh-burger::before,
color: #fff; html.auto-color .gh-burger::after {
background-color: #fff;
} }
html.auto-color .site-header-content { html.auto-color .site-header-content {
@ -2442,7 +2450,7 @@ html.dark-mode .footer-cta-title {
border: color-mod(var(--color-darkmode) l(+8%)) 1px solid; border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
} }
html.auto-color .gh-content input { html.auto-color .gh-content :is(input, textarea) {
color: color-mod(var(--color-midgrey) l(-30%)); color: color-mod(var(--color-midgrey) l(-30%));
} }
@ -2467,6 +2475,12 @@ html.dark-mode .footer-cta-title {
html.auto-color .footer-cta-title { html.auto-color .footer-cta-title {
color: #fff; color: #fff;
} }
@media (max-width: 767px) {
html.auto-color .gh-head-open #gh-head .gh-head-actions {
background-color: var(--color-darkmode);
}
}
} }
/* /*

View File

@ -31,7 +31,7 @@
{{@site.title}} {{@site.title}}
{{/if}} {{/if}}
</a> </a>
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button> <button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
<button class="gh-burger"></button> <button class="gh-burger"></button>
</div> </div>
@ -39,7 +39,7 @@
{{navigation}} {{navigation}}
{{#unless @site.members_enabled}} {{#unless @site.members_enabled}}
{{#match @custom.navigation_layout "Stacked"}} {{#match @custom.navigation_layout "Stacked"}}
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button> <button class="gh-search gh-icon-btn" aria-label="Search this site" data-ghost-search>{{> "icons/search"}}</button>
{{/match}} {{/match}}
{{/unless}} {{/unless}}
</nav> </nav>

View File

@ -2,7 +2,7 @@
"name": "casper-aytac", "name": "casper-aytac",
"description": "A clean, minimal default theme for the Ghost publishing platform with little modifications by Aytac", "description": "A clean, minimal default theme for the Ghost publishing platform with little modifications by Aytac",
"demo": "https://aytac.kirmizi.online", "demo": "https://aytac.kirmizi.online",
"version": "5.4.5", "version": "5.4.7",
"engines": { "engines": {
"ghost": ">=5.0.0" "ghost": ">=5.0.0"
}, },