clean-blog-jekyll-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/footer.html +70 -0
- data/_includes/ga.html +10 -0
- data/_includes/head.html +25 -0
- data/_includes/nav.html +26 -0
- data/_includes/youtube.html +2 -0
- data/_layouts/default.html +17 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +33 -0
- data/_sass/_bootstrap-overrides.scss +28 -0
- data/_sass/_footer.scss +13 -0
- data/_sass/_global.scss +88 -0
- data/_sass/_masthead.scss +72 -0
- data/_sass/_mixins.scss +68 -0
- data/_sass/_navbar.scss +100 -0
- data/_sass/_post.scss +42 -0
- data/_sass/_variables.scss +12 -0
- data/assets/images/about-bg.jpg +0 -0
- data/assets/images/contact-bg.jpg +0 -0
- data/assets/images/home-bg.jpg +0 -0
- data/assets/images/post-bg.jpg +0 -0
- data/assets/images/post-sample-image.jpg +0 -0
- data/assets/style.scss +13 -0
- metadata +166 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c7301d3ef97c8c2c32e614e076af14c011b87aa7
|
4
|
+
data.tar.gz: a48cf83f684f54968e9e0d4194bb71671422ff40
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b2ca034cc0d9e195cb6f3b6cbaa96b38c38b1b8aec5778b3a5fa78107f57a209bb174fb9ac8debad3b7294bfafbef6db039c221ce5582ae25faaf2db5632cc24
|
7
|
+
data.tar.gz: 33edf42231e28c0df438384f495e82fde40724cb6ceb1c8f80a0bc0d25bd49c3b684196576a2b972344dfeebd56f4d390cd76eb82e5a405c2f6173d4b6a70ef6
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Vitor de Carvalho
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# Jekyll theme based on StartBootstrap Clean Blog
|
2
|
+
|
3
|
+
Welcome to the Jekyll version of Clean Blog, built up from scratch by StartBootstrap.
|
4
|
+
|
5
|
+
This is currently using the Bootstrap V4beta.
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your Jekyll site's `Gemfile`:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem "clean-blog-jekyll-theme"
|
14
|
+
```
|
15
|
+
|
16
|
+
And add this line to your Jekyll site's `_config.yml`:
|
17
|
+
|
18
|
+
```yaml
|
19
|
+
theme: clean-blog-jekyll-theme
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install clean-blog-jekyll-theme
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
This theme uses the same structure as the default Clean Blog static template. The `_includes` holds
|
33
|
+
several partial templates. One can find two different layouts under `_layouts`: page and post.
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/lightningspirit/clean-blog-jekyll-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
38
|
+
|
39
|
+
## Development
|
40
|
+
|
41
|
+
In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
42
|
+
|
43
|
+
To set up your environment to develop this theme, run `bundle install`.
|
44
|
+
|
45
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
46
|
+
|
47
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
<footer>
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
6
|
+
<ul class="list-inline text-center">
|
7
|
+
<li class="list-inline-item">
|
8
|
+
<a href="{{ "/feed.xml" | prepend: site.baseurl }}">
|
9
|
+
<span class="fa-stack fa-lg">
|
10
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
11
|
+
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
|
12
|
+
</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% if site.twitter_username %}
|
16
|
+
<li class="list-inline-item">
|
17
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">
|
18
|
+
<span class="fa-stack fa-lg">
|
19
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
20
|
+
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
21
|
+
</span>
|
22
|
+
</a>
|
23
|
+
</li>
|
24
|
+
{% endif %}
|
25
|
+
{% if site.facebook_username %}
|
26
|
+
<li class="list-inline-item">
|
27
|
+
<a href="https://www.facebook.com/{{ site.facebook_username }}">
|
28
|
+
<span class="fa-stack fa-lg">
|
29
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
30
|
+
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
31
|
+
</span>
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
{% endif %}
|
35
|
+
{% if site.github_username %}
|
36
|
+
<li class="list-inline-item">
|
37
|
+
<a href="https://github.com/{{ site.github_username }}">
|
38
|
+
<span class="fa-stack fa-lg">
|
39
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
40
|
+
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
41
|
+
</span>
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
{% endif %}
|
45
|
+
{% if site.linkedin_username %}
|
46
|
+
<li class="list-inline-item">
|
47
|
+
<a href="https://linkedin.com/in/{{ site.linkedin_username }}">
|
48
|
+
<span class="fa-stack fa-lg">
|
49
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
50
|
+
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
|
51
|
+
</span>
|
52
|
+
</a>
|
53
|
+
</li>
|
54
|
+
{% endif %}
|
55
|
+
{% if site.email_username %}
|
56
|
+
<li class="list-inline-item">
|
57
|
+
<a href="mailto:{{ site.email_username }}">
|
58
|
+
<span class="fa-stack fa-lg">
|
59
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
60
|
+
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
|
61
|
+
</span>
|
62
|
+
</a>
|
63
|
+
</li>
|
64
|
+
{% endif %}
|
65
|
+
</ul>
|
66
|
+
<p class="copyright text-muted">Copyright © {{ site.copyright_name }} {{ site.time | date: '%Y' }}</p>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</footer>
|
data/_includes/ga.html
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.google_tracking_id %}
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
7
|
+
ga('create', '{{ site.google_tracking_id }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
</script>
|
10
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
4
|
+
<meta name="description" content="{{ site.description }}">
|
5
|
+
<meta name="author" content="">
|
6
|
+
|
7
|
+
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
8
|
+
|
9
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
10
|
+
|
11
|
+
<!-- Import Bootstrap -->
|
12
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
|
13
|
+
|
14
|
+
<!-- Custom fonts for this template -->
|
15
|
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
16
|
+
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
17
|
+
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
18
|
+
|
19
|
+
<!-- Custom styles for this template -->
|
20
|
+
<link rel="stylesheet" href="{{ "/assets/style.css" | prepend: site.baseurl }}">
|
21
|
+
|
22
|
+
{% feed_meta %}
|
23
|
+
|
24
|
+
{% seo %}
|
25
|
+
</head>
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
<!-- Navigation -->
|
2
|
+
|
3
|
+
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
4
|
+
<div class="container">
|
5
|
+
<a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
6
|
+
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
7
|
+
Menu
|
8
|
+
<i class="fa fa-bars"></i>
|
9
|
+
</button>
|
10
|
+
<div class="collapse navbar-collapse" id="navbarResponsive">
|
11
|
+
<ul class="navbar-nav ml-auto">
|
12
|
+
<li class="nav-item">
|
13
|
+
<a class="nav-link" href="{{ site.baseurl }}/">Home</a>
|
14
|
+
</li>
|
15
|
+
|
16
|
+
{% for page in site.pages %}{% if page.title %}
|
17
|
+
{% if page.url != '/404.html' %}
|
18
|
+
<li class="nav-item">
|
19
|
+
<a class="nav-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
20
|
+
</li>
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</nav>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<!-- Post Header -->
|
6
|
+
<header class="masthead" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
|
7
|
+
<div class="container">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
10
|
+
<div class="site-heading">
|
11
|
+
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
|
12
|
+
<span class="subheading">{{ page.description }}</span>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</header>
|
18
|
+
|
19
|
+
<!-- Post Content -->
|
20
|
+
<article>
|
21
|
+
<div class="container">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
24
|
+
{{ content }}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</article>
|
29
|
+
|
30
|
+
<hr>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<!-- Post Header -->
|
6
|
+
<header class="masthead" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
|
7
|
+
<div class="container">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
10
|
+
<div class="post-heading">
|
11
|
+
<h1>{{ page.title }}</h1>
|
12
|
+
{% if page.subtitle %}
|
13
|
+
<h2 class="subheading">{{ page.subtitle }}</h2>
|
14
|
+
{% endif %}
|
15
|
+
<span class="meta">Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }}</span>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</header>
|
21
|
+
|
22
|
+
<!-- Post Content -->
|
23
|
+
<article>
|
24
|
+
<div class="container">
|
25
|
+
<div class="row">
|
26
|
+
<div class="col-lg-8 col-md-10 mx-auto">
|
27
|
+
{{ content }}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</article>
|
32
|
+
|
33
|
+
<hr>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// Bootstrap overrides for this template
|
2
|
+
.btn {
|
3
|
+
font-size: 14px;
|
4
|
+
font-weight: 800;
|
5
|
+
padding: 15px 25px;
|
6
|
+
letter-spacing: 1px;
|
7
|
+
text-transform: uppercase;
|
8
|
+
border-radius: 0;
|
9
|
+
@include sans-serif-font;
|
10
|
+
}
|
11
|
+
|
12
|
+
.btn-primary {
|
13
|
+
@include button-variant(white, $theme-primary, $theme-primary);
|
14
|
+
}
|
15
|
+
|
16
|
+
.btn-lg {
|
17
|
+
font-size: 16px;
|
18
|
+
padding: 25px 35px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.btn-default {
|
22
|
+
&:focus,
|
23
|
+
&:hover {
|
24
|
+
color: white;
|
25
|
+
border: 1px solid $theme-primary;
|
26
|
+
background-color: $theme-primary;
|
27
|
+
}
|
28
|
+
}
|
data/_sass/_footer.scss
ADDED
data/_sass/_global.scss
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
// Global styling for this template
|
2
|
+
body {
|
3
|
+
font-size: 20px;
|
4
|
+
color: $gray-dark;
|
5
|
+
@include serif-font;
|
6
|
+
}
|
7
|
+
|
8
|
+
p {
|
9
|
+
line-height: 1.5;
|
10
|
+
margin: 30px 0;
|
11
|
+
a {
|
12
|
+
text-decoration: underline;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
h1,
|
17
|
+
h2,
|
18
|
+
h3,
|
19
|
+
h4,
|
20
|
+
h5,
|
21
|
+
h6 {
|
22
|
+
font-weight: 800;
|
23
|
+
@include sans-serif-font;
|
24
|
+
}
|
25
|
+
|
26
|
+
a {
|
27
|
+
color: $gray-dark;
|
28
|
+
@include transition-all;
|
29
|
+
&:focus,
|
30
|
+
&:hover {
|
31
|
+
color: $theme-primary;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
a img {
|
36
|
+
&:focus,
|
37
|
+
&:hover {
|
38
|
+
cursor: zoom-in;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
blockquote {
|
43
|
+
font-style: italic;
|
44
|
+
color: $gray-light;
|
45
|
+
}
|
46
|
+
|
47
|
+
.section-heading {
|
48
|
+
font-size: 36px;
|
49
|
+
font-weight: 700;
|
50
|
+
margin-top: 60px;
|
51
|
+
}
|
52
|
+
|
53
|
+
.caption {
|
54
|
+
font-size: 14px;
|
55
|
+
font-style: italic;
|
56
|
+
display: block;
|
57
|
+
margin: 0;
|
58
|
+
padding: 10px;
|
59
|
+
text-align: center;
|
60
|
+
border-bottom-right-radius: 5px;
|
61
|
+
border-bottom-left-radius: 5px;
|
62
|
+
}
|
63
|
+
|
64
|
+
::-moz-selection {
|
65
|
+
color: white;
|
66
|
+
background: $theme-primary;
|
67
|
+
text-shadow: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
::selection {
|
71
|
+
color: white;
|
72
|
+
background: $theme-primary;
|
73
|
+
text-shadow: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
img::selection {
|
77
|
+
color: white;
|
78
|
+
background: transparent;
|
79
|
+
}
|
80
|
+
|
81
|
+
img::-moz-selection {
|
82
|
+
color: white;
|
83
|
+
background: transparent;
|
84
|
+
}
|
85
|
+
|
86
|
+
body {
|
87
|
+
-webkit-tap-highlight-color: $theme-primary;
|
88
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
// Styling for the masthead
|
2
|
+
header.masthead {
|
3
|
+
// NOTE: Background images are set within the HTML using inline CSS!
|
4
|
+
margin-bottom: 50px;
|
5
|
+
background: no-repeat center center;
|
6
|
+
background-color: $gray-light;
|
7
|
+
background-attachment: scroll;
|
8
|
+
@include background-cover;
|
9
|
+
.page-heading,
|
10
|
+
.post-heading,
|
11
|
+
.site-heading {
|
12
|
+
padding: 200px 0 150px;
|
13
|
+
color: white;
|
14
|
+
@media only screen and (min-width: 768px) {
|
15
|
+
padding: 200px 0;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.page-heading,
|
19
|
+
.site-heading {
|
20
|
+
text-align: center;
|
21
|
+
h1 {
|
22
|
+
font-size: 50px;
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
.subheading {
|
26
|
+
font-size: 24px;
|
27
|
+
font-weight: 300;
|
28
|
+
line-height: 1.1;
|
29
|
+
display: block;
|
30
|
+
margin: 10px 0 0;
|
31
|
+
@include sans-serif-font;
|
32
|
+
}
|
33
|
+
@media only screen and (min-width: 768px) {
|
34
|
+
h1 {
|
35
|
+
font-size: 80px;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.post-heading {
|
40
|
+
h1 {
|
41
|
+
font-size: 35px;
|
42
|
+
}
|
43
|
+
.meta,
|
44
|
+
.subheading {
|
45
|
+
line-height: 1.1;
|
46
|
+
display: block;
|
47
|
+
}
|
48
|
+
.subheading {
|
49
|
+
font-size: 24px;
|
50
|
+
font-weight: 600;
|
51
|
+
margin: 10px 0 30px;
|
52
|
+
@include sans-serif-font;
|
53
|
+
}
|
54
|
+
.meta {
|
55
|
+
font-size: 20px;
|
56
|
+
font-weight: 300;
|
57
|
+
font-style: italic;
|
58
|
+
@include serif-font;
|
59
|
+
a {
|
60
|
+
color: white;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
@media only screen and (min-width: 768px) {
|
64
|
+
h1 {
|
65
|
+
font-size: 55px;
|
66
|
+
}
|
67
|
+
.subheading {
|
68
|
+
font-size: 30px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
data/_sass/_mixins.scss
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
// Mixins
|
2
|
+
// Bootstrap Button Variant
|
3
|
+
@mixin button-variant($color, $background, $border) {
|
4
|
+
color: $color;
|
5
|
+
border-color: $border;
|
6
|
+
background-color: $background;
|
7
|
+
&.focus,
|
8
|
+
&:focus {
|
9
|
+
color: $color;
|
10
|
+
border-color: darken($border, 25%);
|
11
|
+
background-color: darken($background, 10%);
|
12
|
+
}
|
13
|
+
&:hover {
|
14
|
+
color: $color;
|
15
|
+
border-color: darken($border, 12%);
|
16
|
+
background-color: darken($background, 10%);
|
17
|
+
}
|
18
|
+
&.active,
|
19
|
+
&:active,
|
20
|
+
.open > &.dropdown-toggle {
|
21
|
+
color: $color;
|
22
|
+
border-color: darken($border, 12%);
|
23
|
+
background-color: darken($background, 10%);
|
24
|
+
&.focus,
|
25
|
+
&:focus,
|
26
|
+
&:hover {
|
27
|
+
color: $color;
|
28
|
+
border-color: darken($border, 25%);
|
29
|
+
background-color: darken($background, 17%);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
&.active,
|
33
|
+
&:active,
|
34
|
+
.open > &.dropdown-toggle {
|
35
|
+
background-image: none;
|
36
|
+
}
|
37
|
+
&.disabled,
|
38
|
+
&[disabled],
|
39
|
+
fieldset[disabled] & {
|
40
|
+
&.focus,
|
41
|
+
&:focus,
|
42
|
+
&:hover {
|
43
|
+
border-color: $border;
|
44
|
+
background-color: $background;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
.badge {
|
48
|
+
color: $background;
|
49
|
+
background-color: $color;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
@mixin transition-all() {
|
53
|
+
-webkit-transition: all 0.2s;
|
54
|
+
-moz-transition: all 0.2s;
|
55
|
+
transition: all 0.2s;
|
56
|
+
}
|
57
|
+
@mixin background-cover() {
|
58
|
+
-webkit-background-size: cover;
|
59
|
+
-moz-background-size: cover;
|
60
|
+
-o-background-size: cover;
|
61
|
+
background-size: cover;
|
62
|
+
}
|
63
|
+
@mixin serif-font() {
|
64
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
65
|
+
}
|
66
|
+
@mixin sans-serif-font() {
|
67
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
68
|
+
}
|
data/_sass/_navbar.scss
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
// Styling for the navbar
|
2
|
+
#mainNav {
|
3
|
+
position: absolute;
|
4
|
+
border-bottom: 1px solid $gray-lighter;
|
5
|
+
background-color: white;
|
6
|
+
@include sans-serif-font;
|
7
|
+
.navbar-brand {
|
8
|
+
font-weight: 800;
|
9
|
+
color: $gray-light;
|
10
|
+
}
|
11
|
+
.navbar-toggler {
|
12
|
+
font-size: 12px;
|
13
|
+
font-weight: 800;
|
14
|
+
padding: 13px;
|
15
|
+
text-transform: uppercase;
|
16
|
+
color: $gray-light;
|
17
|
+
}
|
18
|
+
.navbar-nav {
|
19
|
+
> li.nav-item {
|
20
|
+
> a {
|
21
|
+
font-size: 12px;
|
22
|
+
font-weight: 800;
|
23
|
+
letter-spacing: 1px;
|
24
|
+
text-transform: uppercase;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
@media only screen and (min-width: 992px) {
|
29
|
+
border-bottom: 1px solid transparent;
|
30
|
+
background: transparent;
|
31
|
+
.navbar-brand {
|
32
|
+
padding: 15px 20px;
|
33
|
+
color: white;
|
34
|
+
&:focus,
|
35
|
+
&:hover {
|
36
|
+
color: fade-out(white, .2);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
.navbar-nav {
|
40
|
+
> li.nav-item {
|
41
|
+
> a {
|
42
|
+
padding: 15px 20px;
|
43
|
+
color: white;
|
44
|
+
&:focus,
|
45
|
+
&:hover {
|
46
|
+
color: fade-out(white, .2);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
@media only screen and (min-width: 1170px) {
|
53
|
+
-webkit-transition: background-color 0.2s;
|
54
|
+
-moz-transition: background-color 0.2s;
|
55
|
+
transition: background-color 0.2s;
|
56
|
+
/* Force Hardware Acceleration in WebKit */
|
57
|
+
-webkit-transform: translate3d(0, 0, 0);
|
58
|
+
-moz-transform: translate3d(0, 0, 0);
|
59
|
+
-ms-transform: translate3d(0, 0, 0);
|
60
|
+
-o-transform: translate3d(0, 0, 0);
|
61
|
+
transform: translate3d(0, 0, 0);
|
62
|
+
-webkit-backface-visibility: hidden;
|
63
|
+
&.is-fixed {
|
64
|
+
/* when the user scrolls down, we hide the header right above the viewport */
|
65
|
+
position: fixed;
|
66
|
+
top: -77px;
|
67
|
+
-webkit-transition: -webkit-transform 0.2s;
|
68
|
+
-moz-transition: -moz-transform 0.2s;
|
69
|
+
transition: transform 0.2s;
|
70
|
+
border-bottom: 1px solid darken(white, .05);
|
71
|
+
background-color: fade-out(white, .1);
|
72
|
+
.navbar-brand {
|
73
|
+
color: $gray-dark;
|
74
|
+
&:focus,
|
75
|
+
&:hover {
|
76
|
+
color: $theme-primary;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.navbar-nav {
|
80
|
+
> li.nav-item {
|
81
|
+
> a {
|
82
|
+
color: $gray-dark;
|
83
|
+
&:focus,
|
84
|
+
&:hover {
|
85
|
+
color: $theme-primary;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
&.is-visible {
|
92
|
+
/* if the user changes the scrolling direction, we show the header */
|
93
|
+
-webkit-transform: translate3d(0, 100%, 0);
|
94
|
+
-moz-transform: translate3d(0, 100%, 0);
|
95
|
+
-ms-transform: translate3d(0, 100%, 0);
|
96
|
+
-o-transform: translate3d(0, 100%, 0);
|
97
|
+
transform: translate3d(0, 100%, 0);
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
data/_sass/_post.scss
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
// Styling for the post page
|
2
|
+
.post-preview {
|
3
|
+
> a {
|
4
|
+
color: $gray-dark;
|
5
|
+
&:focus,
|
6
|
+
&:hover {
|
7
|
+
text-decoration: none;
|
8
|
+
color: $theme-primary;
|
9
|
+
}
|
10
|
+
> .post-title {
|
11
|
+
font-size: 30px;
|
12
|
+
margin-top: 30px;
|
13
|
+
margin-bottom: 10px;
|
14
|
+
}
|
15
|
+
> .post-subtitle {
|
16
|
+
font-weight: 300;
|
17
|
+
margin: 0 0 10px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
> .post-meta {
|
21
|
+
font-size: 18px;
|
22
|
+
font-style: italic;
|
23
|
+
margin-top: 0;
|
24
|
+
color: $gray-light;
|
25
|
+
> a {
|
26
|
+
text-decoration: none;
|
27
|
+
color: $gray-dark;
|
28
|
+
&:focus,
|
29
|
+
&:hover {
|
30
|
+
text-decoration: underline;
|
31
|
+
color: $theme-primary;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
@media only screen and (min-width: 768px) {
|
36
|
+
> a {
|
37
|
+
> .post-title {
|
38
|
+
font-size: 36px;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// Variables
|
2
|
+
|
3
|
+
// Gray and Brand Colors for use across theme
|
4
|
+
|
5
|
+
$theme-primary: #0085A1;
|
6
|
+
|
7
|
+
$gray-base: #000 !default;
|
8
|
+
$gray-darker: lighten($gray-base, 13.5%) !default;
|
9
|
+
$gray-dark: lighten($gray-base, 20%) !default;
|
10
|
+
$gray: lighten($gray-base, 33.5%) !default;
|
11
|
+
$gray-light: lighten($gray-base, 46.7%) !default;
|
12
|
+
$gray-lighter: lighten($gray-base, 93.5%) !default;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/style.scss
ADDED
metadata
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: clean-blog-jekyll-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- lightningspirit
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-09-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bootstrap
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.0beta
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.0beta
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-seo-tag
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-feed
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-paginate
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.12'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
description:
|
112
|
+
email:
|
113
|
+
- lightningspirit@gmail.com
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- LICENSE.txt
|
119
|
+
- README.md
|
120
|
+
- _includes/footer.html
|
121
|
+
- _includes/ga.html
|
122
|
+
- _includes/head.html
|
123
|
+
- _includes/nav.html
|
124
|
+
- _includes/youtube.html
|
125
|
+
- _layouts/default.html
|
126
|
+
- _layouts/page.html
|
127
|
+
- _layouts/post.html
|
128
|
+
- _sass/_bootstrap-overrides.scss
|
129
|
+
- _sass/_footer.scss
|
130
|
+
- _sass/_global.scss
|
131
|
+
- _sass/_masthead.scss
|
132
|
+
- _sass/_mixins.scss
|
133
|
+
- _sass/_navbar.scss
|
134
|
+
- _sass/_post.scss
|
135
|
+
- _sass/_variables.scss
|
136
|
+
- assets/images/about-bg.jpg
|
137
|
+
- assets/images/contact-bg.jpg
|
138
|
+
- assets/images/home-bg.jpg
|
139
|
+
- assets/images/post-bg.jpg
|
140
|
+
- assets/images/post-sample-image.jpg
|
141
|
+
- assets/style.scss
|
142
|
+
homepage: https://github.com/lightningspirit/clean-blog-jekyll-theme
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata: {}
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
149
|
+
- lib
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.6.13
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: Jekyll theme based on Clean Blog by Start Bootstrap
|
166
|
+
test_files: []
|