jekyll-smart-material 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -9
- data/Gemfile.lock +30 -0
- data/LICENSE +22 -0
- data/_config.yml +17 -0
- data/_includes/footer.html +22 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +16 -0
- data/_includes/header.html +7 -0
- data/_includes/material-lite.html +4 -0
- data/_includes/menu-left.html +11 -0
- data/_layouts/default.html +19 -0
- data/_layouts/page.html +11 -0
- data/_layouts/post.html +12 -0
- data/_posts/2015-10-23-welcome-to-jekyll.markdown +27 -0
- data/_posts/2015-10-23-welcome-to-jekyll2.markdown +27 -0
- data/_posts/2015-10-23-welcome-to-jekyll3.markdown +27 -0
- data/_posts/2015-10-23-welcome-to-jekyll4.markdown +27 -0
- data/_posts/2015-10-23-welcome-to-jekyll5.markdown +27 -0
- data/_posts/2015-10-23-welcome-to-jekyll6.markdown +27 -0
- data/_sass/_base.scss +113 -0
- data/_sass/_footer.scss +15 -0
- data/_sass/_mixins.scss +5 -0
- data/_sass/_post-block.scss +40 -0
- data/_sass/_post.scss +6 -0
- data/_sass/_site-title.scss +12 -0
- data/_sass/_variables.scss +18 -0
- data/about.md +10 -0
- data/assets/images/destkop-image-sample.jpg +0 -0
- data/css/main.scss +15 -0
- data/favicon.png +0 -0
- data/feed.xml +30 -0
- data/index.html +23 -0
- data/lib/jekyll/smart/material/version.rb +1 -1
- data/pkg/jekyll-smart-material-0.1.0.gem +0 -0
- data/screenshot.png +0 -0
- metadata +35 -3
- data/.rspec +0 -2
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f91f146096e02f3706f998e2a0ab3c73e4cb1fe
|
4
|
+
data.tar.gz: 175f1b9f1f34d2b3961e37b91f176d812dd4d49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88157946ff4b8f07b52da2a3fe69b7d1aa55f01620aa17e107a819e81cefdcd50c47e06946347be2f68c567f577b0f66bad64c5528946692049eeb83e88dc869
|
7
|
+
data.tar.gz: a27c6f479fd1d85f672f94c39b93d01d223ebb8e7aaa9a4d9c36fe831467f8f6303e3f7f13a313fbaad5c29e09a8928dac0b6ef5d099620875be3b5ec3fe4690
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
jekyll-smart-material (0.1.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.1.3)
|
10
|
+
rake (10.5.0)
|
11
|
+
rspec (2.9.0)
|
12
|
+
rspec-core (~> 2.9.0)
|
13
|
+
rspec-expectations (~> 2.9.0)
|
14
|
+
rspec-mocks (~> 2.9.0)
|
15
|
+
rspec-core (2.9.0)
|
16
|
+
rspec-expectations (2.9.1)
|
17
|
+
diff-lcs (~> 1.1.3)
|
18
|
+
rspec-mocks (2.9.0)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
bundler (~> 1.12)
|
25
|
+
jekyll-smart-material!
|
26
|
+
rake (~> 10.0)
|
27
|
+
rspec (~> 2.9.0)
|
28
|
+
|
29
|
+
BUNDLED WITH
|
30
|
+
1.12.3
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Sergey Sokurenko
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/_config.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Site settings
|
2
|
+
title: Smart Material Theme
|
3
|
+
email: your-email@domain.com
|
4
|
+
description: Slick Material Design theme for Jekyll powered by Material Design Lite.
|
5
|
+
baseurl: "/jekyll-smart-material" # the subpath of your site, e.g. /blog/
|
6
|
+
url: "http://ssokurenko.github.io" # the base hostname & protocol for your site
|
7
|
+
copyright: '© 2015-2016 Smart Material Theme'
|
8
|
+
|
9
|
+
# Build settings
|
10
|
+
markdown: kramdown
|
11
|
+
|
12
|
+
# Custom theme could be generated at: https://getmdl.io/customize/index.html
|
13
|
+
material_theme: blue-deep_orange
|
14
|
+
|
15
|
+
# Google Analytics account ID (UA-XXXXXXXX-X)
|
16
|
+
|
17
|
+
google-analytics-ua: UA-84475574-1
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<footer class="mdl-mini-footer">
|
2
|
+
<div class="mdl-mini-footer__left-section">
|
3
|
+
<p>
|
4
|
+
{{ site.description }}
|
5
|
+
</p>
|
6
|
+
<ul class="mdl-mini-footer__link-list">
|
7
|
+
<li>
|
8
|
+
<a href="{{ site.baseurl }}/">Home</a>
|
9
|
+
</li>
|
10
|
+
{% for page in site.pages %}
|
11
|
+
{% if page.title %}
|
12
|
+
<li>
|
13
|
+
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
14
|
+
</li>
|
15
|
+
{% endif %}
|
16
|
+
{% endfor %}
|
17
|
+
</ul>
|
18
|
+
<div class="copyright">
|
19
|
+
{{ site.copyright }} | Design: <a href="https://github.com/ssokurenko/jekyll-smart-material">Jekyll Smart Material</a>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</footer>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Google Analytics Script -->
|
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','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google-analytics-ua }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
</script>
|
11
|
+
<!-- END Google Analytics Script -->
|
data/_includes/head.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
<link rel="icon" href="{{ '/favicon.png' | prepend: site.baseurl }}">
|
6
|
+
|
7
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
8
|
+
<meta name="description"
|
9
|
+
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
10
|
+
|
11
|
+
{% include material-lite.html %}
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="{{ '/css/main.css' | prepend: site.baseurl }}">
|
14
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
15
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | prepend: site.baseurl | prepend: site.url }}" />
|
16
|
+
</head>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<!-- Material Design Lite CDN -->
|
2
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
3
|
+
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.{{ site.material_theme }}.min.css">
|
4
|
+
<script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="mdl-layout__drawer">
|
2
|
+
<span class="mdl-layout-title">Left Menu</span>
|
3
|
+
<nav class="mdl-navigation">
|
4
|
+
<a class="mdl-navigation__link" href="{{ site.baseurl }}/">Home</a>
|
5
|
+
{% for page in site.pages %}
|
6
|
+
{% if page.title %}
|
7
|
+
<a class="mdl-navigation__link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
8
|
+
{% endif %}
|
9
|
+
{% endfor %}
|
10
|
+
</nav>
|
11
|
+
</div>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
|
6
|
+
{% include header.html %}
|
7
|
+
{% include menu-left.html %}
|
8
|
+
<main class="mdl-layout__content">
|
9
|
+
<div class="page-content">
|
10
|
+
<div class="wrapper">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
{% include footer.html %}
|
15
|
+
</main>
|
16
|
+
</div>
|
17
|
+
{% include google-analytics.html %}
|
18
|
+
</body>
|
19
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="post mdl-shadow--2dp">
|
5
|
+
<header class="post-header">
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
7
|
+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
|
8
|
+
</header>
|
9
|
+
<article class="post-content">
|
10
|
+
{{ content }}
|
11
|
+
</article>
|
12
|
+
</div>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Smart Post"
|
4
|
+
date: 2015-10-23 17:40:06
|
5
|
+
categories: jekyll update
|
6
|
+
image: destkop-image-sample.jpg
|
7
|
+
description: This is the first Demo post. Click to see full content.
|
8
|
+
---
|
9
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
10
|
+
|
11
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
12
|
+
|
13
|
+
Jekyll also offers powerful support for code snippets:
|
14
|
+
|
15
|
+
{% highlight ruby %}
|
16
|
+
def print_hi(name)
|
17
|
+
puts "Hi, #{name}"
|
18
|
+
end
|
19
|
+
print_hi('Tom')
|
20
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll’s dedicated Help repository][jekyll-help].
|
24
|
+
|
25
|
+
[jekyll]: http://jekyllrb.com
|
26
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
27
|
+
[jekyll-help]: https://github.com/jekyll/jekyll-help
|
data/_sass/_base.scss
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Body
|
13
|
+
*/
|
14
|
+
|
15
|
+
body {
|
16
|
+
background: $body-background;
|
17
|
+
font-family: $main-font;
|
18
|
+
font-weight: 300;
|
19
|
+
}
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
23
|
+
*/
|
24
|
+
h1, h2, h3, h4, h5, h6,
|
25
|
+
p, blockquote, pre,
|
26
|
+
ul, ol, dl, figure,
|
27
|
+
%vertical-rhythm {
|
28
|
+
margin-bottom: $spacing-unit / 2;
|
29
|
+
}
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Images
|
33
|
+
*/
|
34
|
+
img {
|
35
|
+
max-width: 100%;
|
36
|
+
vertical-align: middle;
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Figures
|
41
|
+
*/
|
42
|
+
figure > img {
|
43
|
+
display: block;
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Lists
|
48
|
+
*/
|
49
|
+
ul, ol {
|
50
|
+
margin-left: $spacing-unit;
|
51
|
+
}
|
52
|
+
|
53
|
+
li {
|
54
|
+
> ul,
|
55
|
+
> ol {
|
56
|
+
margin-bottom: 0;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Headings
|
62
|
+
*/
|
63
|
+
|
64
|
+
h1, h2, h3, h4, h5, h6 {
|
65
|
+
font-weight: 300;
|
66
|
+
}
|
67
|
+
|
68
|
+
code {
|
69
|
+
padding: 1px 5px;
|
70
|
+
}
|
71
|
+
|
72
|
+
pre {
|
73
|
+
padding: 8px 12px;
|
74
|
+
overflow-x: scroll;
|
75
|
+
|
76
|
+
> code {
|
77
|
+
border: 0;
|
78
|
+
padding-right: 0;
|
79
|
+
padding-left: 0;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
/**
|
84
|
+
* Wrapper
|
85
|
+
*/
|
86
|
+
.wrapper {
|
87
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
88
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
89
|
+
margin-right: auto;
|
90
|
+
margin-left: auto;
|
91
|
+
padding-right: $spacing-unit;
|
92
|
+
padding-left: $spacing-unit;
|
93
|
+
@extend %clearfix;
|
94
|
+
|
95
|
+
@include media-query($on-laptop) {
|
96
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
97
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
98
|
+
padding-right: $spacing-unit / 2;
|
99
|
+
padding-left: $spacing-unit / 2;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Clearfix
|
105
|
+
*/
|
106
|
+
%clearfix {
|
107
|
+
|
108
|
+
&:after {
|
109
|
+
content: "";
|
110
|
+
display: table;
|
111
|
+
clear: both;
|
112
|
+
}
|
113
|
+
}
|
data/_sass/_footer.scss
ADDED
data/_sass/_mixins.scss
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
.post-block {
|
2
|
+
background: #fff;
|
3
|
+
-webkit-transition: all 0.3s;
|
4
|
+
transition: all 0.3s;
|
5
|
+
|
6
|
+
& a {
|
7
|
+
text-decoration: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
& .post-card {
|
11
|
+
-webkit-transition: all 0.3s;
|
12
|
+
transition: all 0.3s;
|
13
|
+
height: 100%;
|
14
|
+
position: relative;
|
15
|
+
|
16
|
+
&:hover {
|
17
|
+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
|
18
|
+
|
19
|
+
img {
|
20
|
+
-webkit-filter: brightness(104%);
|
21
|
+
filter: brightness(104%);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
&__fade {
|
26
|
+
position: absolute;
|
27
|
+
bottom: 0;
|
28
|
+
width: 100%;
|
29
|
+
height: $spacing-unit*2;
|
30
|
+
|
31
|
+
background: url(data:image/svg+xml;base64,alotofcodehere);
|
32
|
+
background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
|
33
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(70%, rgba(255, 255, 255, 1)));
|
34
|
+
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
|
35
|
+
background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
|
36
|
+
background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
|
37
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
data/_sass/_post.scss
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
// Body background
|
2
|
+
|
3
|
+
$body-background: #f0f0f0;
|
4
|
+
|
5
|
+
// Main font
|
6
|
+
|
7
|
+
$main-font: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
8
|
+
|
9
|
+
// Spacer
|
10
|
+
|
11
|
+
$spacing-unit: 2rem;
|
12
|
+
|
13
|
+
// Width of the content area
|
14
|
+
$content-width: 960px;
|
15
|
+
$on-laptop: 960px;
|
16
|
+
|
17
|
+
// Site title color
|
18
|
+
$site-title-color: #000;
|
data/about.md
ADDED
Binary file
|
data/css/main.scss
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
# Only the main Sass file needs front matter (the dashes are enough)
|
3
|
+
---
|
4
|
+
@charset "utf-8";
|
5
|
+
|
6
|
+
// Import partials from `sass_dir` (defaults to `_sass`)
|
7
|
+
@import
|
8
|
+
"variables",
|
9
|
+
"mixins",
|
10
|
+
"base",
|
11
|
+
"site-title",
|
12
|
+
"post-block",
|
13
|
+
"post",
|
14
|
+
"footer"
|
15
|
+
;
|
data/favicon.png
ADDED
Binary file
|
data/feed.xml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
---
|
4
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
5
|
+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
6
|
+
<channel>
|
7
|
+
<title>{{ site.title | xml_escape }}</title>
|
8
|
+
<description>{{ site.description | xml_escape }}</description>
|
9
|
+
<link>{{ site.url }}{{ site.baseurl }}/</link>
|
10
|
+
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
|
11
|
+
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
12
|
+
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
13
|
+
<generator>Jekyll v{{ jekyll.version }}</generator>
|
14
|
+
{% for post in site.posts limit:10 %}
|
15
|
+
<item>
|
16
|
+
<title>{{ post.title | xml_escape }}</title>
|
17
|
+
<description>{{ post.content | xml_escape }}</description>
|
18
|
+
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
19
|
+
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
20
|
+
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
21
|
+
{% for tag in post.tags %}
|
22
|
+
<category>{{ tag | xml_escape }}</category>
|
23
|
+
{% endfor %}
|
24
|
+
{% for cat in post.categories %}
|
25
|
+
<category>{{ cat | xml_escape }}</category>
|
26
|
+
{% endfor %}
|
27
|
+
</item>
|
28
|
+
{% endfor %}
|
29
|
+
</channel>
|
30
|
+
</rss>
|
data/index.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="mdl-grid">
|
6
|
+
{% for post in site.posts %}
|
7
|
+
<div class="mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-phone post-block">
|
8
|
+
<a href="{{ post.url | prepend: site.baseurl }}">
|
9
|
+
<div class="post-card mdl-shadow--2dp">
|
10
|
+
<img src="./assets/images/{{ post.image }}"/>
|
11
|
+
<div class="mdl-card__title">
|
12
|
+
<h2 class="mdl-card__title-text">{{ post.title }}</h2>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="mdl-card__supporting-text">
|
16
|
+
{{ post.description }}
|
17
|
+
</div>
|
18
|
+
<div class="post-card__fade"></div>
|
19
|
+
</div>
|
20
|
+
</a>
|
21
|
+
</div>
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
Binary file
|
data/screenshot.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-smart-material
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Foley
|
@@ -60,18 +60,49 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
|
-
- ".rspec"
|
64
|
-
- ".travis.yml"
|
65
63
|
- CODE_OF_CONDUCT.md
|
66
64
|
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- LICENSE
|
67
67
|
- LICENSE.txt
|
68
68
|
- README.md
|
69
69
|
- Rakefile
|
70
|
+
- _config.yml
|
71
|
+
- _includes/footer.html
|
72
|
+
- _includes/google-analytics.html
|
73
|
+
- _includes/head.html
|
74
|
+
- _includes/header.html
|
75
|
+
- _includes/material-lite.html
|
76
|
+
- _includes/menu-left.html
|
77
|
+
- _layouts/default.html
|
78
|
+
- _layouts/page.html
|
79
|
+
- _layouts/post.html
|
80
|
+
- _posts/2015-10-23-welcome-to-jekyll.markdown
|
81
|
+
- _posts/2015-10-23-welcome-to-jekyll2.markdown
|
82
|
+
- _posts/2015-10-23-welcome-to-jekyll3.markdown
|
83
|
+
- _posts/2015-10-23-welcome-to-jekyll4.markdown
|
84
|
+
- _posts/2015-10-23-welcome-to-jekyll5.markdown
|
85
|
+
- _posts/2015-10-23-welcome-to-jekyll6.markdown
|
86
|
+
- _sass/_base.scss
|
87
|
+
- _sass/_footer.scss
|
88
|
+
- _sass/_mixins.scss
|
89
|
+
- _sass/_post-block.scss
|
90
|
+
- _sass/_post.scss
|
91
|
+
- _sass/_site-title.scss
|
92
|
+
- _sass/_variables.scss
|
93
|
+
- about.md
|
94
|
+
- assets/images/destkop-image-sample.jpg
|
70
95
|
- bin/console
|
71
96
|
- bin/setup
|
97
|
+
- css/main.scss
|
98
|
+
- favicon.png
|
99
|
+
- feed.xml
|
100
|
+
- index.html
|
72
101
|
- jekyll-smart-material.gemspec
|
73
102
|
- lib/jekyll/smart/material.rb
|
74
103
|
- lib/jekyll/smart/material/version.rb
|
104
|
+
- pkg/jekyll-smart-material-0.1.0.gem
|
105
|
+
- screenshot.png
|
75
106
|
homepage: https://github.com/sardeenz/jekyll-smart-material-gem
|
76
107
|
licenses:
|
77
108
|
- MIT
|
@@ -97,3 +128,4 @@ signing_key:
|
|
97
128
|
specification_version: 4
|
98
129
|
summary: gem for excellent jekyll-smart-material theme
|
99
130
|
test_files: []
|
131
|
+
has_rdoc:
|
data/.rspec
DELETED