Colors can now be set in config file.

Had to move the css files containing the colors to the /_includes
directory to put variables in them.
main
Oliver Stapleton 10 years ago
parent ef2672d004
commit b10d1d607b

@ -3,6 +3,11 @@ title: Your awesome title
email: your-email@domain.com email: your-email@domain.com
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
# Color settings
primary: 80B3FF #18bc9c
secondary: A2122F #233140
secondary-light: FD6E8A #2c3e50
# Social media usernames # Social media usernames
twitter: jekyllrb twitter: jekyllrb
facebook: facebook:

File diff suppressed because one or more lines are too long

@ -23,6 +23,11 @@
<div class="footer-col col-md-4"> <div class="footer-col col-md-4">
<h3>Around the Web</h3> <h3>Around the Web</h3>
<ul class="list-inline"> <ul class="list-inline">
{% if site.twitter %}
<li>
<a href="{{ site.twitter }}" class="btn-social btn-outline"><i class="fa fa-fw fa-twitter"></i></a>
</li>
{% endif %}
{% if site.facebook %} {% if site.facebook %}
<li> <li>
<a href="{{ site.facebook }}" class="btn-social btn-outline"><i class="fa fa-fw fa-facebook"></i></a> <a href="{{ site.facebook }}" class="btn-social btn-outline"><i class="fa fa-fw fa-facebook"></i></a>
@ -33,11 +38,7 @@
<a href="{{ site.google-plus }}" class="btn-social btn-outline"><i class="fa fa-fw fa-google-plus"></i></a> <a href="{{ site.google-plus }}" class="btn-social btn-outline"><i class="fa fa-fw fa-google-plus"></i></a>
</li> </li>
{% endif %} {% endif %}
{% if site.twitter %}
<li>
<a href="{{ site.twitter }}" class="btn-social btn-outline"><i class="fa fa-fw fa-twitter"></i></a>
</li>
{% endif %}
{% if site.linkedin %} {% if site.linkedin %}
<li> <li>
<a href="{{ site.linkedin }}" class="btn-social btn-outline"><i class="fa fa-fw fa-linkedin"></i></a> <a href="{{ site.linkedin }}" class="btn-social btn-outline"><i class="fa fa-fw fa-linkedin"></i></a>

@ -7,11 +7,8 @@
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<!-- Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ --> <!-- Custom CSS & Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ -->
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}">
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<!-- Custom Fonts --> <!-- Custom Fonts -->
<link rel="stylesheet" href="{{ "/css/font-awesome/css/font-awesome.min.css" | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ "/css/font-awesome/css/font-awesome.min.css" | prepend: site.baseurl }}">

@ -22,7 +22,7 @@ a:focus,
a:active, a:active,
a.active { a.active {
outline: 0; outline: 0;
color: #18bc9c; color: #{{ site.primary }};
} }
h1, h1,
@ -63,15 +63,15 @@ hr.star-light {
hr.star-light:after { hr.star-light:after {
color: #fff; color: #fff;
background-color: #18bc9c; background-color: #{{ site.primary }};
} }
hr.star-primary { hr.star-primary {
border-color: #2c3e50; border-color: #{{ site.secondary-light }};
} }
hr.star-primary:after { hr.star-primary:after {
color: #2c3e50; color: #{{ site.secondary-light }};
background-color: #fff; background-color: #fff;
} }
@ -82,7 +82,7 @@ hr.star-primary:after {
header { header {
text-align: center; text-align: center;
color: #fff; color: #fff;
background: #18bc9c; background: #{{ site.primary }};
} }
header .container { header .container {
@ -181,7 +181,7 @@ section h2 {
section.success { section.success {
color: #fff; color: #fff;
background: #18bc9c; background: #{{ site.primary }};
} }
@media(max-width:767px) { @media(max-width:767px) {
@ -265,7 +265,7 @@ section.success {
.btn-outline:active, .btn-outline:active,
.btn-outline.active { .btn-outline.active {
border: solid 2px #fff; border: solid 2px #fff;
color: #18bc9c; color: #{{ site.primary }};
background: #fff; background: #fff;
} }
@ -318,7 +318,7 @@ section.success {
} }
.floating-label-form-group-with-focus label { .floating-label-form-group-with-focus label {
color: #18bc9c; color: #{{ site.primary }};
} }
form .row:first-child .floating-label-form-group { form .row:first-child .floating-label-form-group {
@ -335,7 +335,7 @@ footer h3 {
footer .footer-above { footer .footer-above {
padding-top: 50px; padding-top: 50px;
background-color: #2c3e50; background-color: #{{ site.secondary-light }};
} }
footer .footer-col { footer .footer-col {
@ -344,7 +344,7 @@ footer .footer-col {
footer .footer-below { footer .footer-below {
padding: 25px 0; padding: 25px 0;
background-color: #233140; background-color: #{{ site.secondary }};
} }
.btn-social { .btn-social {
@ -428,7 +428,7 @@ footer .footer-below {
width: 1px; width: 1px;
height: 75px; height: 75px;
margin-left: 35px; margin-left: 35px;
background-color: #2c3e50; background-color: #{{ site.secondary-light }};
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg); -ms-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
@ -438,7 +438,7 @@ footer .footer-below {
z-index: 1052; z-index: 1052;
width: 1px; width: 1px;
height: 75px; height: 75px;
background-color: #2c3e50; background-color: #{{ site.secondary-light }};
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
transform: rotate(90deg); transform: rotate(90deg);

@ -3,6 +3,8 @@
{% include head.html %} {% include head.html %}
<style>{% include main.css %}</style>
<style>{% include bootstrap.min.css %}</style>
<body id="page-top" class="index"> <body id="page-top" class="index">
{% include header.html %} {% include header.html %}

@ -0,0 +1,2 @@
{% include bootstrap.min.css %}
{% include main.css %}

File diff suppressed because one or more lines are too long

@ -0,0 +1,4 @@
---
layout: style
---
Loading…
Cancel
Save