From 86cd2ef0f39b714fc80608e6bf1e5134baca0451 Mon Sep 17 00:00:00 2001 From: Ahmet Cecen Date: Mon, 2 May 2016 22:12:48 -0400 Subject: [PATCH] SASS modify header color and hide some more --- _config.yml | 3 ++- _includes/head.html | 5 +++-- colorscheme.scss | 13 +++++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 colorscheme.scss diff --git a/_config.yml b/_config.yml index d4fcf88..b17c0aa 100644 --- a/_config.yml +++ b/_config.yml @@ -2,6 +2,7 @@ title: Project Pages header-img: img/home-bg.jpg +headercolor: "#FFFFFF" logo: /project-pages/img/logos/Project-Pages-New-Logo-Inverted.png email: your-email@yourdomain.com description: "Write your site description here. It will be used as your sites meta description as well!" @@ -23,7 +24,7 @@ exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"] # Prose Settings prose: - ignore: ['feed.xml', '/stl', '/ply', '/js', '/plugin', '/lib', '/projectors', '_layouts', '/includes', 'Gruntfile.js', 'package.json', 'proselinks.jsonp', 'ppanchor.matin', '.gitignore', '/search', '/css/print'] + ignore: ['feed.xml', '/stl', '/ply', '/js', '/plugin', '/lib', '/projectors', '_layouts', '/_includes', 'Gruntfile.js', 'package.json', 'proselinks.jsonp', 'ppanchor.matin', '.gitignore', '/search', '/css'] siteurl: 'http://ahmetcecen.github.io/project-pages/' ispp: true media: 'img' diff --git a/_includes/head.html b/_includes/head.html index f3bffc7..7707e39 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,6 +15,9 @@ + + + @@ -54,8 +57,6 @@ - - {% include analytics.html %} diff --git a/colorscheme.scss b/colorscheme.scss new file mode 100644 index 0000000..1fa4646 --- /dev/null +++ b/colorscheme.scss @@ -0,0 +1,13 @@ +--- +--- +$header-color: {{ site.headercolor }}; + +.intro-header .site-heading, +.intro-header .post-heading, +.intro-header .page-heading { + color: $header-color; +} + +hr.small { + border-color: $header-color; +} \ No newline at end of file