Skip to content

Commit

Permalink
SASS modify header color and hide some more
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetcecen committed May 3, 2016
1 parent cea1b10 commit 86cd2ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
description: "Write your site description here. It will be used as your sites meta description as well!"
Expand All @@ -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'
Expand Down
5 changes: 3 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/clean-blog.css" | prepend: site.baseurl }}">

<!-- Adjust Colors -->
<link rel="stylesheet" href="{{ "/colorscheme.css" | prepend: site.baseurl }}">

<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">
Expand Down Expand Up @@ -54,8 +57,6 @@
<!-- Custom Theme JavaScript -->
<script src="{{ "/js/clean-blog.min.js " | prepend: site.baseurl }}"></script>



{% include analytics.html %}

</head>
13 changes: 13 additions & 0 deletions colorscheme.scss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 86cd2ef

Please sign in to comment.