mirror of
https://github.com/spaytac/Casper.git
synced 2026-01-22 01:04:57 +00:00
Merge remote-tracking branch 'origin/v5.4.3' into pre543
# Conflicts: # assets/built/casper.js.map # assets/built/screen.css # assets/built/screen.css.map # assets/css/screen.css # assets/js/dropdown.js # default.hbs # package.json
This commit is contained in:
commit
28bdf273f3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -313,7 +313,7 @@ production stylesheet in assets/built/screen.css
|
|||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.is-head-left-logo .gh-head-menu {
|
.is-head-left-logo .gh-head-menu {
|
||||||
margin-right: 32px;
|
margin-right: 64px;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -566,6 +566,17 @@ production stylesheet in assets/built/screen.css
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-head-members {
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-head-link {
|
||||||
|
font-weight: 500;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-head-button {
|
.gh-head-button {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -614,13 +625,13 @@ production stylesheet in assets/built/screen.css
|
|||||||
margin-right: -4px;
|
margin-right: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 991px) {
|
@media (max-width: 767px) {
|
||||||
.gh-head-actions .gh-search {
|
.gh-head-actions .gh-search {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 768px) {
|
||||||
.gh-head-brand .gh-search {
|
.gh-head-brand .gh-search {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -682,7 +693,7 @@ production stylesheet in assets/built/screen.css
|
|||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
/* IDs needed to ensure sufficient specificity */
|
/* IDs needed to ensure sufficient specificity */
|
||||||
|
|
||||||
@media (max-width: 991px) {
|
@media (max-width: 767px) {
|
||||||
#gh-head {
|
#gh-head {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
}
|
}
|
||||||
@ -2108,7 +2119,7 @@ html.dark-mode .post-card-image {
|
|||||||
background: var(--color-darkmode);
|
background: var(--color-darkmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark-mode :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content) {
|
html.dark-mode :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content, .pagination .page-number) {
|
||||||
color: color-mod(var(--color-secondary-text) l(-22%));
|
color: color-mod(var(--color-secondary-text) l(-22%));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2124,6 +2135,10 @@ html.dark-mode .post-card-excerpt {
|
|||||||
color: var(--color-secondary-text);
|
color: var(--color-secondary-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.dark-mode .pagination a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
html.dark-mode .author-profile-location {
|
html.dark-mode .author-profile-location {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
@ -2288,7 +2303,7 @@ html.dark-mode .footer-cta-title {
|
|||||||
background: var(--color-darkmode);
|
background: var(--color-darkmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.auto-color :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content) {
|
html.auto-color :is(.post-card-tags, .post-card-meta, .article-tag a, .byline-meta-content, .pagination .page-number) {
|
||||||
color: color-mod(var(--color-secondary-text) l(-22%));
|
color: color-mod(var(--color-secondary-text) l(-22%));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2304,6 +2319,10 @@ html.dark-mode .footer-cta-title {
|
|||||||
color: var(--color-secondary-text);
|
color: var(--color-secondary-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.auto-color .pagination a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
html.auto-color .author-profile-location {
|
html.auto-color .author-profile-location {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
(function () {
|
(function () {
|
||||||
const mediaQuery = window.matchMedia('(max-width: 991px)');
|
const mediaQuery = window.matchMedia('(max-width: 767px)');
|
||||||
|
|
||||||
const menu = document.querySelector('.gh-head-menu');
|
const menu = document.querySelector('.gh-head-menu');
|
||||||
const nav = menu.querySelector('.nav');
|
const nav = menu.querySelector('.nav');
|
||||||
|
|||||||
17
default.hbs
17
default.hbs
@ -51,15 +51,18 @@
|
|||||||
{{/match}}
|
{{/match}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
||||||
{{#unless @member}}
|
<div class="gh-head-members">
|
||||||
{{#unless @site.members_invite_only}}
|
{{#unless @member}}
|
||||||
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
{{#unless @site.members_invite_only}}
|
||||||
|
<a class="gh-head-link" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||||
|
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
||||||
|
{{else}}
|
||||||
|
<a class="gh-head-button" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||||
|
{{/unless}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="gh-head-button" href="#/portal/signin" data-portal="signin">Login</a>
|
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{else}}
|
</div>
|
||||||
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
|
|
||||||
{{/unless}}
|
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -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.2",
|
"version": "5.4.3",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost": ">=5.0.0"
|
"ghost": ">=5.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user