Typography

This commit is contained in:
Sodbileg Gansukh
2023-07-10 16:13:01 +08:00
parent 259d1e49dd
commit e29085e389
8 changed files with 48 additions and 11 deletions

View File

@@ -42,7 +42,7 @@
{{!-- Landing layout --}}
{{#match headerStyle "Landing"}}
<h1>Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<h1 data-title>Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<form>
<input type="email" placeholder="jamie@example.com">
<button class="gh-button" type="submit">Subscribe</button>
@@ -51,7 +51,7 @@
{{!-- Search layout --}}
{{#match headerStyle "Search"}}
<h1>Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<h1 data-title>Founded by Australian journalist Claire Lehmann, Quillette publishes high quality long reads on diverse topics, daily.</h1>
<button data-ghost-search>{{> "icons/search"}}Search</button>
{{/match}}

View File

@@ -2,7 +2,7 @@
<div class="gh-navigation-inner gh-inner">
<div class="gh-navigation-brand">
<a class="gh-navigation-logo" href="{{@site.url}}">
<a class="gh-navigation-logo" href="{{@site.url}}" data-title>
{{#if @site.logo}}
<img src="{{@site.logo}}" alt="{{@site.title}}">
{{else}}

View File

@@ -15,9 +15,9 @@
</figure>
{{/if}}
<div class="gh-card-wrapper">
<h3 class="gh-card-title">{{title}}</h3>
<p class="gh-card-excerpt">{{excerpt}}</p>
<footer class="gh-card-meta">
<h3 class="gh-card-title" data-title>{{title}}</h3>
<p class="gh-card-excerpt" data-body>{{excerpt}}</p>
<footer class="gh-card-meta" data-body>
{{#if @custom.show_author}}
<span class="gh-card-author">By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}</span>
{{/if}}