Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
feat: new index and style update
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Aug 18, 2019
1 parent 6981f1e commit ee7c754
Show file tree
Hide file tree
Showing 29 changed files with 747 additions and 653 deletions.
8 changes: 7 additions & 1 deletion archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ date: {{ .Date }}
lastmod: {{ .Date }}
draft: true
description: ""
show_in_homepage: true
show_description: false

tags: []
categories: []

featured_image: ""
featured_image_preview: ""

comment: true
toc: false
autoCollapseToc: true
math: false
---
---

<!--more-->
2 changes: 1 addition & 1 deletion assets/css/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
text-align:center;
font-size: 30px;
line-height: 50px;
}
}
3 changes: 1 addition & 2 deletions assets/css/_page/_home.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/** Home **/

.intro {
transform: translateY(25vh);
text-align: center;
Expand Down Expand Up @@ -55,4 +54,4 @@ h2.description {
i {
font-size: 1.4em;
}
}
}
65 changes: 0 additions & 65 deletions assets/css/_page/_home_post.scss

This file was deleted.

22 changes: 22 additions & 0 deletions assets/css/_page/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@import "_home";

.post-warp {
position: relative;
width: 100%;
max-width: 780px;
margin: 0 auto;
padding-top: 2rem;

@import "_post";
@import "_posts";
}

.archive {
.post-title {
text-align: right;
padding-bottom: 2em;
}

@import "_terms";
@import "_tags";
}
Loading

0 comments on commit ee7c754

Please sign in to comment.