jekyll-theme-proxima 0.0.3 → 0.1.0
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 +1 -1
- data/_includes/analytics.html +11 -0
- data/_layouts/default.html +9 -20
- data/_sass/jekyll-theme-proxima.scss +30 -1
- data/assets/css/style.scss +4 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 324178934970a5d3379ca448f00f50eef417472ebd51a27a080198551762d585
|
|
4
|
+
data.tar.gz: d1a00c8106068d3406f0bf460b92f747ec1a8fe446f0d585b2ee042cf37d6da4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29e65cc17946dfcda9ca98021334114dc7cbff2020867a12c98c51845f2d2aac5c78e2630968578cd4d41ed84255ad8f4ad0b4953d34f0cff7b3642dd8569b9e
|
|
7
|
+
data.tar.gz: '069cba620e72d9d5fa8d31803992cf0a2ccd48154b83542dfbc86685af5a8d5b41f083742e034a30b922e050a99f2bc03979433f90ad2b41082b0d4d9906cea9'
|
data/README.md
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{% if site.google_analytics %}
|
|
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
|
+
|
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
9
|
+
ga('send', 'pageview');
|
|
10
|
+
</script>
|
|
11
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
{% assign header_background = site.header.background | default: '#789' -%}
|
|
3
|
-
{% assign header_color = site.header.color | default: 'white' -%}
|
|
4
|
-
{% assign header_style = "background: " | append: header_background | append: '; color: ' | append: header_color -%}
|
|
5
|
-
{% assign footer_background = site.footer.background | default: '#e4e4e4' -%}
|
|
6
|
-
{% assign footer_style = "background: " | append: footer_background -%}
|
|
7
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
|
8
3
|
<head>
|
|
9
4
|
<meta charset="UTF-8">
|
|
@@ -15,12 +10,12 @@
|
|
|
15
10
|
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
|
16
11
|
</head>
|
|
17
12
|
<body>
|
|
18
|
-
<header
|
|
13
|
+
<header>
|
|
19
14
|
<div class='limiter'>
|
|
20
15
|
{% if site.github.is_project_page %}
|
|
21
16
|
<a href="{{ site.github.repository_url }}" class="btn float-right">View on GitHub</a>
|
|
22
17
|
{% endif %}
|
|
23
|
-
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
|
18
|
+
<h1><a href="{{ '/' | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
|
|
24
19
|
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
|
|
25
20
|
</div>
|
|
26
21
|
</header>
|
|
@@ -29,24 +24,18 @@
|
|
|
29
24
|
{{ content }}
|
|
30
25
|
</section>
|
|
31
26
|
|
|
32
|
-
<footer
|
|
27
|
+
<footer>
|
|
33
28
|
<div class='limiter'>
|
|
34
29
|
{% if site.github.is_project_page %}
|
|
35
|
-
<
|
|
30
|
+
<div class="owner">
|
|
31
|
+
<a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a>
|
|
32
|
+
is maintained by
|
|
33
|
+
<a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.
|
|
34
|
+
</div>
|
|
36
35
|
{% endif %}
|
|
37
36
|
</div>
|
|
38
37
|
</footer>
|
|
39
38
|
|
|
40
|
-
{%
|
|
41
|
-
<script>
|
|
42
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
43
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
44
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
45
|
-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
46
|
-
|
|
47
|
-
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
48
|
-
ga('send', 'pageview');
|
|
49
|
-
</script>
|
|
50
|
-
{% endif %}
|
|
39
|
+
{% include analytics.html %}
|
|
51
40
|
</body>
|
|
52
41
|
</html>
|
|
@@ -49,10 +49,24 @@ body {
|
|
|
49
49
|
|
|
50
50
|
header {
|
|
51
51
|
padding: 1em 0;
|
|
52
|
+
background-color: $header_background;
|
|
53
|
+
color: $header_color;
|
|
54
|
+
|
|
52
55
|
h1, h2 {
|
|
53
|
-
text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
|
|
54
56
|
margin: 0;
|
|
57
|
+
a {
|
|
58
|
+
color: inherit;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h1 {
|
|
63
|
+
text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
h2 {
|
|
67
|
+
font-size: 1em;
|
|
55
68
|
}
|
|
69
|
+
|
|
56
70
|
@include large {
|
|
57
71
|
.btn {
|
|
58
72
|
margin-top: 10px;
|
|
@@ -61,7 +75,22 @@ header {
|
|
|
61
75
|
}
|
|
62
76
|
|
|
63
77
|
footer {
|
|
78
|
+
border-top: $footer_border;
|
|
64
79
|
padding: 1em 0 4em 0;
|
|
80
|
+
|
|
81
|
+
.owner {
|
|
82
|
+
opacity: 0.7;
|
|
83
|
+
transition: opacity 0.6s;
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
transition: opacity 0.6s;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.main-content {
|
|
93
|
+
min-height: 60vh;
|
|
65
94
|
}
|
|
66
95
|
|
|
67
96
|
a {
|
data/assets/css/style.scss
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-proxima
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Ben Shitrit
|
|
@@ -74,6 +74,7 @@ extra_rdoc_files: []
|
|
|
74
74
|
files:
|
|
75
75
|
- LICENSE
|
|
76
76
|
- README.md
|
|
77
|
+
- _includes/analytics.html
|
|
77
78
|
- _layouts/default.html
|
|
78
79
|
- _sass/github-markdown.scss
|
|
79
80
|
- _sass/jekyll-theme-proxima.scss
|