forked from chesterhow/tale
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6273da5
commit a0208bb
Showing
12 changed files
with
152 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
layout: default | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: post | ||
title: "Introducing Tale" | ||
date: 2017-03-09 12:32:48 +0800 | ||
categories: jekyll update | ||
synopsys: "Tale is a minimal Jekyll theme for writers. Find out more here." | ||
--- | ||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. | ||
|
||
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. | ||
|
||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. | ||
|
||
[jekyll-docs]: https://jekyllrb.com/docs/home | ||
[jekyll-gh]: https://github.com/jekyll/jekyll | ||
[jekyll-talk]: https://talk.jekyllrb.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.post-preview { | ||
margin-bottom: 30px; | ||
position: relative; | ||
|
||
time { | ||
color: $default-tint; | ||
font-size: 1.3em; | ||
font-weight: 500; | ||
letter-spacing: .3px; | ||
} | ||
|
||
h1 { | ||
color: $default-shade; | ||
font-size: 3.5em; | ||
margin: 5px 0 10px; | ||
} | ||
|
||
p { | ||
color: $default-color; | ||
font-family: $serif-font; | ||
font-size: 1em; | ||
line-height: 1.5em; | ||
margin: 0 0 5px; | ||
text-align: justify; | ||
} | ||
|
||
.post-link { | ||
text-align: right; | ||
} | ||
|
||
a { | ||
color: $default-tint; | ||
display: inline-block; | ||
font-size: 1.3em; | ||
font-weight: 500; | ||
letter-spacing: .3px; | ||
text-decoration: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,50 @@ | ||
* { | ||
@include box-sizing; | ||
} | ||
|
||
html, | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-family: $sans-font; | ||
font-size: $default-font-size; | ||
} | ||
|
||
.container { | ||
margin: 0 auto; | ||
max-width: 1200px; | ||
width: 80%; | ||
} | ||
|
||
header { | ||
margin: 20px 0; | ||
text-align: center; | ||
|
||
* { | ||
margin: 0; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
h2 { | ||
@include transition(all .3s ease-out); | ||
color: $default-color; | ||
display: inline-block; | ||
font-size: 3em; | ||
|
||
&:hover { | ||
opacity: .6; | ||
} | ||
} | ||
|
||
h4 { | ||
color: $default-tint; | ||
font-family: $serif-font; | ||
font-weight: 400; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$default-color: #555555; | ||
$default-shade: #353535; | ||
$default-tint: #AAAAAA; | ||
|
||
$serif-font: 'Libre Baskerville'; | ||
$sans-font: 'Helvetica Neue'; | ||
$default-font-size: 14px; | ||
|
||
@mixin box-sizing($type: border-box) { | ||
-webkit-box-sizing: $type; | ||
-moz-box-sizing: $type; | ||
box-sizing: $type; | ||
} | ||
|
||
@mixin transition($args...) { | ||
-webkit-transition: $args; | ||
-moz-transition: $args; | ||
transition: $args; | ||
} | ||
|
||
@mixin transform-translate($x, $y) { | ||
-webkit-transform: translate($x, $y); | ||
-moz-transform: translate($x, $y); | ||
transform: translate($x, $y); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters