Add a class name to site description

This commit is contained in:
Sodbileg Gansukh 2022-05-02 17:43:02 +08:00
parent f41761e0ad
commit 9a09ff41c3
4 changed files with 5 additions and 5 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}}