jekyll-theme-slate 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/_layouts/default.html +11 -2
- data/_sass/jekyll-theme-slate.scss +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c053098367a56fe4264ef9c42ee1208e64ec07c6
|
|
4
|
+
data.tar.gz: c1689540b65ba2916c4dca51544c3ab815a0850f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28a8338d4f4bb31199318530296ff8e5fa7b35211fa1a1bbd190521934a57525f7d5703751831ae236eda1d5c1bdb2d1e5bbce3dfab659fd56ab8bf2c5302453
|
|
7
|
+
data.tar.gz: 7e0f8d6059e9170b89458f106516a8365aeb7411544bdcb1050b636f8a0b61eae50d080d555a2c9cce88d02160f3f8b2f22717a8b595b5f86cf3d41b708f7e0f
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# The Slate theme
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/pages-themes/slate) [](https://badge.fury.io/rb/jekyll-theme-slate)
|
|
4
4
|
|
|
5
5
|
*Slate is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/slate), or even [use it today](#usage).*
|
|
6
6
|
|
|
@@ -46,7 +46,7 @@ google_analytics: [Your Google Analytics tracking ID]
|
|
|
46
46
|
|
|
47
47
|
If you'd like to add your own custom styles:
|
|
48
48
|
|
|
49
|
-
1. Create a file called `/assets/css/style.
|
|
49
|
+
1. Create a file called `/assets/css/style.scss` in your site
|
|
50
50
|
2. Add the following content to the top of the file, exactly as shown:
|
|
51
51
|
```scss
|
|
52
52
|
---
|
|
@@ -67,7 +67,7 @@ If you'd like to change the theme's HTML layout:
|
|
|
67
67
|
|
|
68
68
|
## Roadmap
|
|
69
69
|
|
|
70
|
-
See the [open issues](https://github.com/
|
|
70
|
+
See the [open issues](https://github.com/pages-themes/slate/issues) for a list of proposed features (and known issues).
|
|
71
71
|
|
|
72
72
|
## Project philosophy
|
|
73
73
|
|
data/_layouts/default.html
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset='utf-8'>
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
7
|
+
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
7
8
|
<meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">
|
|
8
9
|
|
|
9
10
|
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
@@ -47,7 +48,15 @@
|
|
|
47
48
|
</footer>
|
|
48
49
|
</div>
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
{% if site.google_analytics %}
|
|
52
|
+
<script type="text/javascript">
|
|
53
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
54
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
55
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
56
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
57
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
58
|
+
ga('send', 'pageview');
|
|
59
|
+
</script>
|
|
60
|
+
{% endif %}
|
|
52
61
|
</body>
|
|
53
62
|
</html>
|
|
@@ -369,6 +369,12 @@ Full-Width Styles
|
|
|
369
369
|
Small Device Styles
|
|
370
370
|
*******************************************************************************/
|
|
371
371
|
|
|
372
|
+
@media screen and (max-width: 992px) {
|
|
373
|
+
img {
|
|
374
|
+
max-width: 100%;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
372
378
|
@media screen and (max-width: 480px) {
|
|
373
379
|
body {
|
|
374
380
|
font-size:14px;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-slate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Costello
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: jekyll
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
64
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 2.
|
|
65
|
+
rubygems_version: 2.6.11
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 4
|
|
68
68
|
summary: Slate is a Jekyll theme for GitHub Pages
|