Skip to content

Commit

Permalink
Added author + restyling main title
Browse files Browse the repository at this point in the history
  • Loading branch information
arguiot committed Nov 4, 2019
1 parent e40506b commit a0f9ada
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ <h1 class="title">{{page.title}}</h1>
<time-ago class="date" datetime="{{page.date | date_to_xmlschema}}">{{page.date | date: "%B %d, %Y"}}</time-ago>
</p>
{{content}}
<p class="date">
<lunar-icon icon="person"></lunar-icon>
{{ page.author }}
</p>
</main>
</article>

Expand Down
5 changes: 3 additions & 2 deletions _sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,15 @@ header {
height: 100vh;
img {
width: calc(50vw - 50px);
height: 300px;
height: calc(100vh - 300px);
object-fit: cover;
}
h1.article {
font-family: "Apercu";
font-size: 36px;
color: var(--text-color);
text-transform: capitalize;
text-align: center;
}
a.readmore {
background: var(--text-color);
Expand Down Expand Up @@ -487,7 +488,7 @@ body {
h1.maintitle {
width: 100vw;
text-align: center;
font-family: 'New York', serif;
font-family: 'Lexend Deca', sans-serif;
font-size: 68px;
font-weight: 500;
color: var(--white);
Expand Down

0 comments on commit a0f9ada

Please sign in to comment.