Compare commits

...

2 Commits

Author SHA1 Message Date
ff4e4226c0 v4.7.5 2022-05-02 17:44:06 +08:00
9a09ff41c3 Add a class name to site description 2022-05-02 17:43:02 +08:00
5 changed files with 6 additions and 6 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

@ -129,7 +129,7 @@ production stylesheet in assets/built/screen.css
max-height: 55px; max-height: 55px;
} }
.site-header-content p { .site-description {
z-index: 10; z-index: 10;
max-width: 600px; max-width: 600px;
margin: 0 auto; margin: 0 auto;
@ -138,7 +138,7 @@ production stylesheet in assets/built/screen.css
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.site-header-content p { .site-description {
max-width: 80vmin; max-width: 80vmin;
font-size: 1.8rem; font-size: 1.8rem;
} }

View File

@ -24,7 +24,7 @@ into the {body} of the default.hbs template --}}
{{@site.title}} {{@site.title}}
{{/if}} {{/if}}
</h1> </h1>
<p>{{@site.description}}</p> <p class="site-description">{{@site.description}}</p>
</div> </div>
{{/match}} {{/match}}

View File

@ -2,7 +2,7 @@
"name": "casper", "name": "casper",
"description": "A clean, minimal default theme for the Ghost publishing platform", "description": "A clean, minimal default theme for the Ghost publishing platform",
"demo": "https://demo.ghost.io", "demo": "https://demo.ghost.io",
"version": "4.7.4", "version": "4.7.5",
"engines": { "engines": {
"ghost": ">=4.0.0" "ghost": ">=4.0.0"
}, },