jekyll-theme-proxima 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 199841ecc40ae11572d7743d01178382cfa449b2300d8f74c080558ad1089d7c
4
- data.tar.gz: 99adbfbe3a3d1e17f460daa1c4489ff1ef7665b7e2ae5a109d9c35538a0c064e
3
+ metadata.gz: 324178934970a5d3379ca448f00f50eef417472ebd51a27a080198551762d585
4
+ data.tar.gz: d1a00c8106068d3406f0bf460b92f747ec1a8fe446f0d585b2ee042cf37d6da4
5
5
  SHA512:
6
- metadata.gz: 3c471a0003cc0746d0b76ce9d063e6a2b42fd2424d13ee3f4c9cb810c52b45a205896f0402ea06ee654c582858922b40b520b842c61f6fd06e80a68f950c6906
7
- data.tar.gz: 11fd91acc680733167546c74a03323d7eead8c4d4c1fb2a795d195ba27a346ff9d39ea343a39212f5fd4173c25a97494018d14b38477b6c4199a21ea2bcb777e
6
+ metadata.gz: 29e65cc17946dfcda9ca98021334114dc7cbff2020867a12c98c51845f2d2aac5c78e2630968578cd4d41ed84255ad8f4ad0b4953d34f0cff7b3642dd8569b9e
7
+ data.tar.gz: '069cba620e72d9d5fa8d31803992cf0a2ccd48154b83542dfbc86685af5a8d5b41f083742e034a30b922e050a99f2bc03979433f90ad2b41082b0d4d9906cea9'
data/README.md CHANGED
@@ -39,7 +39,7 @@ header:
39
39
  color: white
40
40
 
41
41
  footer:
42
- background: '#eee'
42
+ border: '1px solid #eee'
43
43
  ```
44
44
 
45
45
  ### Stylesheet
@@ -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 %}
@@ -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 style='{{ header_style }}'>
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 style='{{ footer_style }}'>
27
+ <footer>
33
28
  <div class='limiter'>
34
29
  {% if site.github.is_project_page %}
35
- <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
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
- {% if site.google_analytics %}
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 {
@@ -1,4 +1,8 @@
1
1
  ---
2
2
  ---
3
3
 
4
+ $header_background: {{ site.header.background | default: '#789' }};
5
+ $header_color: {{ site.header.color | default: 'white' }};
6
+ $footer_border: {{ site.footer.border | default: '1px solid #ddd' }};
7
+
4
8
  @import 'jekyll-theme-proxima';
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.3
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