Skip to content

Commit

Permalink
modify colors
Browse files Browse the repository at this point in the history
preparation for AMP branch.
  • Loading branch information
jonashao committed Mar 1, 2017
1 parent 8fc1a22 commit f268ca8
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 17 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -18,17 +18,16 @@ bower install
* index page : 90%
* post page : 80%
* archive page: 50%
While all pages can be rendered, there are still lots of details that can be cover.
While all pages can be rendered, there are still lots of details that can be cover.

***Main todos***:
- [ ] SEO for post page
- [ ] Beautify post page
- [ ] Analysis plugins
- [-] Share plugins
- [x] Share plugins
- [ ] Comment plugins
- [ ] Customization
- [ ] docs

- [ ] Docs
## Config
### theme variables
Setting those variables in `pteris/_config.yml`
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Expand Up @@ -8,7 +8,7 @@
**亮点**
- 简洁漂亮的材料设计
- 刚刚好的布局尺寸及排版
- 2017年度色 草绿色 配色
- 2017年度色 草木绿 配色
- 导航栏适时隐藏,不遮盖内容
- 流畅的过渡动画

Expand Down
1 change: 0 additions & 1 deletion _config.yml
Expand Up @@ -4,7 +4,6 @@ language: en
# main menu navigation
menu:
Home: /
About: /about
Archives: /archives


Expand Down
15 changes: 15 additions & 0 deletions gulpfile.js
@@ -0,0 +1,15 @@
// Sass configuration
var gulp = require('gulp');
var sass = require('gulp-sass');

gulp.task('sass', function () {
gulp.src('*.scss')
.pipe(sass())
.pipe(gulp.dest(function (f) {
return f.base;
}))
});

gulp.task('default', ['sass'], function () {
gulp.watch('*.scss', ['sass']);
})
2 changes: 1 addition & 1 deletion layout/partial/parallax.njk
Expand Up @@ -23,7 +23,7 @@
{% if theme.headerImageUrl %}
<img src="{{ theme.headerImageUrl }}" data-adaptive-background>
{% else %}
<div data-adaptive-background style="height: 100vh; background-color: #53c34a;"></div>
<div data-adaptive-background style="height: 100vh; background-color: #93b658;"></div>
{% endif %}
</div>
</div>
14 changes: 7 additions & 7 deletions source/css/pteris.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions source/css/pteris.sass
@@ -1,5 +1,5 @@
$color-primary: #009688
$color-secondary: #608b70
$color-primary: #93b658
$color-secondary: #00ab6b
$color-accent: #53c34a

body
Expand Down Expand Up @@ -83,7 +83,7 @@ footer a
margin-bottom: 2rem
.page-number.current
color: #fff
background: $color-secondary
background: $color-primary
border-top-color: #ccc

.prev, .next, .page-number
Expand Down

0 comments on commit f268ca8

Please sign in to comment.