zaunkoenig 0.0.3 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 331a01f8fae22b1bc61ea3f313ccc330513f5bd3d663210ae053ab3a153ad9a5
4
- data.tar.gz: 2557320042343ab84bfb358d290705117bf12396f1207cf2d52d0ee4907b2c1a
3
+ metadata.gz: decd9df9b508d1cc926256e9926df7609c2510fd4098436f05284c7724c8ca81
4
+ data.tar.gz: 47ff96fdd8a1f503599777246e2a8a3f9eaaa1d9d1f6d6569182341124b72659
5
5
  SHA512:
6
- metadata.gz: f7cb91c9fa55db1edad7f04ef707aa55a7224c027ae4fd4a521096f6d76b94ed54e037b066f7c2aeeaba4458e3e0204802fae951b40b4c5a8498d502b9b7945d
7
- data.tar.gz: 85d969caf122e153477fbd96178325593caefa11dca8347ef861c5b3365e96bfbdea642aaf38d37e61405aa73c01ed2ca50e5fc9df53532f53cce692ad3c51df
6
+ metadata.gz: 9da95020ff57f7ac3ed23835a4976d2f13d9923e06e4af7cf5352c1cd60544be37844fef44f154b0bf3f8244126df7e412c7f03b1eea4719c10652d7876e4b45
7
+ data.tar.gz: a1ff1956321734508d9339caff602214650c5d68c5212ae1a4bb21631932919220578ecf037e978167610178de025a8359eafc18f771162c4cb7766e55881afc
data/README.md CHANGED
@@ -1,11 +1,69 @@
1
- # zaunkoenig
1
+ # Zaunkönig
2
2
 
3
- Welcome to your new Jekyll theme! 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`, your sass files in `_sass` and any other assets in `assets`.
3
+ Zaunkönig is a lightweight and elegant theme for Jekyll.
4
4
 
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
5
+ ![](/assets/zaunkoenig.jpg)
6
6
 
7
- TODO: Delete this and the text above, and describe your gem
7
+ *Picture taken by [l.schmiegel](https://commons.wikimedia.org/wiki/File:Zaunk%C3%B6nig_IMG_0149.JPG)*
8
8
 
9
+ ## Features
10
+
11
+ ### Customn Logo
12
+
13
+ You can overwrite footer and header logo.
14
+
15
+ Create `includes/footer_logo.html` or `includes/header_logo.html` to roll your own.
16
+
17
+ ### Change fonts an colours
18
+
19
+ You can change the look and feel of the theme by overriding the variables in `variables.scss`.
20
+
21
+ You can change fonts and colors.
22
+
23
+ ```scss
24
+ $color_primary: #FF4B3E;
25
+ $color_primary_hover: #972D07;
26
+ $color_font: #222;
27
+ $color_font_dark: #000;
28
+ $color_font_inverse: #cccccc;
29
+ $color_font_inverse_light: #ffffff;
30
+ $color_background: #ffffff;
31
+ $color_background_inverse: #972D07;
32
+ $color_border: #efefef;
33
+ $font_text: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
34
+ $font_decoration: "Century Gothic", CenturyGothic, Futura, sans-serif;
35
+ ```
36
+
37
+ ### Add navigation items
38
+
39
+ You can customize the navigation items in header and footer by adding your own navigation.yml to `data/navigation.yml`.
40
+
41
+ ```yml
42
+ main:
43
+ items:
44
+ - title: Start
45
+ url: /
46
+
47
+ - title: Blog
48
+ url: /blog/
49
+
50
+ footer:
51
+ items:
52
+ - title: Zaunkönig
53
+ url: /
54
+
55
+ - title: Birdsnest
56
+ url: /
57
+ ```
58
+
59
+ ### Syntax highlighting
60
+
61
+ You can enable syntax-highlighting by adding the following code to your front-matter.
62
+
63
+ ```yaml
64
+ ..
65
+ syntax_highlighting: true
66
+ ```
9
67
 
10
68
  ## Installation
11
69
 
@@ -29,13 +87,64 @@ Or install it yourself as:
29
87
 
30
88
  $ gem install zaunkoenig
31
89
 
32
- ## Usage
33
90
 
34
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
91
+ Zaunkönig is a lightweight and elegant theme for Jekyll.
92
+
93
+ ![](/assets/zaunkoenig.jpg)
94
+
95
+ ## Features
96
+
97
+ ### Customn Logo
98
+
99
+ You can overwrite footer and header logo.
100
+
101
+ Create `includes/footer_logo.html` or `includes/header_logo.html` to roll your own.
102
+
103
+ ### Change fonts an colours
104
+
105
+ You can change the look and feel of the theme by overriding the variables in `variables.scss`.
106
+
107
+ You can change fonts and colors.
108
+
109
+ ```scss
110
+ $color_primary: #FF4B3E;
111
+ $color_primary_hover: #972D07;
112
+ $color_font: #222;
113
+ $color_font_dark: #000;
114
+ $color_font_inverse: #cccccc;
115
+ $color_font_inverse_light: #ffffff;
116
+ $color_background: #ffffff;
117
+ $color_background_inverse: #972D07;
118
+ $color_border: #efefef;
119
+ $font_text: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
120
+ $font_decoration: "Century Gothic", CenturyGothic, Futura, sans-serif;
121
+ ```
122
+
123
+ ### Add navigation items
124
+
125
+ You can customize the navigation items in header and footer by adding your own navigation.yml to `data/navigation.yml`.
126
+
127
+ ```yml
128
+ main:
129
+ items:
130
+ - title: Start
131
+ url: /
132
+
133
+ - title: Blog
134
+ url: /blog/
135
+
136
+ footer:
137
+ items:
138
+ - title: Zaunkönig
139
+ url: /
140
+
141
+ - title: Birdsnest
142
+ url: /
143
+ ```
144
+
145
+ ### Syntax highlighting
35
146
 
36
- ## Contributing
37
147
 
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
39
148
 
40
149
  ## Development
41
150
 
@@ -2,5 +2,4 @@ copyright: Acme Inc
2
2
  title: Zaunkönig
3
3
 
4
4
  sass:
5
- sass_dir: _scss
6
- style: :compressed
5
+ style: :compressed
File without changes
@@ -6,12 +6,8 @@
6
6
  {% endif %}
7
7
 
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
9
- <meta name="theme-color" content="#000000"/>
10
-
11
- <link rel="icon" href="/assets/favicon-192x192.png" sizes="192x192">
12
- <link rel="icon" href="/assets/favicon-64x64.png" sizes="64x64">
13
- <link rel="icon" href="/assets/favicon-32x32.png" sizes="32x32">
14
9
  <link rel="alternate" type="application/rss+xml" title="Techgenossen Blog" href="/feed.xml" />
15
10
 
16
- {% include inline_styles.html %}
11
+ {% include customn_head.html %}
12
+ {% include styles.html %}
17
13
  </head>
@@ -0,0 +1,5 @@
1
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
2
+
3
+ {%- if page.syntax_highlighting -%}
4
+ <link rel="stylesheet" href="{{ "/assets/css/syntax-highlighting.css" | relative_url }}">
5
+ {%- endif -%}
@@ -1,16 +1,3 @@
1
- $color_primary: #F50202;
2
- $color_primary_hover: #F50202;
3
- $color_font: #444444;
4
- $color_font_dark: #222222;
5
- $color_font_inverse: #cccccc;
6
- $color_font_inverse_light: #ffffff;
7
- $color_background: #ffffff;
8
- $color_background_inverse: #000000;
9
- $color_border: #efefef;
10
- $font_text: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
11
- $font_decoration: "Century Gothic", CenturyGothic, Futura, sans-serif;
12
-
13
-
14
1
  @mixin hyphens(){
15
2
  word-wrap: break-word;
16
3
  overflow-wrap: break-word;
@@ -60,16 +47,13 @@ h1, h2, h3 {
60
47
  .container {
61
48
  max-width: 960px;
62
49
 
63
- &.start {
64
- margin-top: 2em;
65
- }
50
+ &.start {
51
+ margin-top: 2em;
52
+ }
66
53
 
67
- img, picture {
68
- max-width: 100%;
69
- }
54
+ img, picture {
55
+ max-width: 100%;
70
56
  }
71
- svg.logo-icon {
72
- fill:$color_primary;
73
57
  }
74
58
 
75
59
  a {
@@ -175,8 +159,9 @@ button:hover, .button:hover {
175
159
  }
176
160
 
177
161
  .footer-logo {
178
- color: $color_font_dark;
179
- font-size: 1.5em;
162
+ display: inline-block;
163
+ font-size: 1.8em;
164
+ color: $color_font;
180
165
  }
181
166
 
182
167
  .footer-nav, .footer-logo, .footer-copyright {
File without changes
@@ -1,7 +1,7 @@
1
1
  .header-logo {
2
2
  display: inline-block;
3
3
  padding: 1em 0 0.7em;
4
- font-size: 1.5em;
4
+ font-size: 1.8em;
5
5
  color: $color_font_inverse_light;
6
6
  }
7
7
 
File without changes
@@ -0,0 +1,21 @@
1
+ $color_primary: #FF4B3E;
2
+ $color_primary_hover: #972D07;
3
+ $color_font: #222;
4
+ $color_font_dark: #000;
5
+ $color_font_inverse: #cccccc;
6
+ $color_font_inverse_light: #ffffff;
7
+ $color_background: #ffffff;
8
+ $color_background_inverse: #972D07;
9
+ $color_border: #efefef;
10
+ $font_text: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
11
+ $font_decoration: "Century Gothic", CenturyGothic, Futura, sans-serif;
12
+
13
+ @import "zaunkoenig/customn-variables";
14
+
15
+ @import "zaunkoenig/normalize";
16
+ @import "zaunkoenig/skeleton";
17
+ @import "zaunkoenig/base";
18
+ @import "zaunkoenig/header";
19
+ @import "zaunkoenig/image";
20
+
21
+ @import "zaunkoenig/customn-styles";
File without changes
@@ -0,0 +1,4 @@
1
+ ---
2
+ # front matter
3
+ ---
4
+ @import "zaunkoenig/initialize";
@@ -0,0 +1,62 @@
1
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
2
+ .highlight .hll { background-color: #ffffcc }
3
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
4
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5
+ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
6
+ .highlight .o { color: #000000; font-weight: bold } /* Operator */
7
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
8
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
9
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
10
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
11
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
12
+ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
13
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
14
+ .highlight .gh { color: #999999 } /* Generic.Heading */
15
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16
+ .highlight .go { color: #888888 } /* Generic.Output */
17
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
18
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
19
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
20
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
21
+ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
22
+ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
23
+ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
24
+ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
25
+ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
26
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27
+ .highlight .m { color: #009999 } /* Literal.Number */
28
+ .highlight .s { color: #d01040 } /* Literal.String */
29
+ .highlight .na { color: #008080 } /* Name.Attribute */
30
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
31
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32
+ .highlight .no { color: #008080 } /* Name.Constant */
33
+ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
34
+ .highlight .ni { color: #800080 } /* Name.Entity */
35
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
36
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
37
+ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
38
+ .highlight .nn { color: #555555 } /* Name.Namespace */
39
+ .highlight .nt { color: #000080 } /* Name.Tag */
40
+ .highlight .nv { color: #008080 } /* Name.Variable */
41
+ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
42
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
44
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
45
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
46
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
47
+ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
48
+ .highlight .sc { color: #d01040 } /* Literal.String.Char */
49
+ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
50
+ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
51
+ .highlight .se { color: #d01040 } /* Literal.String.Escape */
52
+ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
53
+ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
54
+ .highlight .sx { color: #d01040 } /* Literal.String.Other */
55
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
56
+ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
57
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
58
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
59
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
60
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
61
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
62
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
Binary file
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaunkoenig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
+ - Jens Rusitschka
7
8
  - Robert Curth
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2020-11-19 00:00:00.000000000 Z
12
+ date: 2020-11-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
@@ -26,7 +27,7 @@ dependencies:
26
27
  version: '4.1'
27
28
  description:
28
29
  email:
29
- - robert@rocu.de
30
+ - robert.curth@techgenossen.de
30
31
  executables: []
31
32
  extensions: []
32
33
  extra_rdoc_files: []
@@ -35,23 +36,29 @@ files:
35
36
  - README.md
36
37
  - _config.yml
37
38
  - _data/navigation.yml
39
+ - _includes/customn_head.html
38
40
  - _includes/footer.html
39
41
  - _includes/footer_logo.html
40
42
  - _includes/head.html
41
43
  - _includes/header.html
42
44
  - _includes/header_logo.html
43
- - _includes/inline.scss
44
- - _includes/inline_styles.html
45
+ - _includes/styles.html
45
46
  - _layouts/default.html
46
47
  - _layouts/home.html
47
48
  - _layouts/page.html
48
49
  - _layouts/post.html
49
- - _scss/zaunkoenig/base.scss
50
- - _scss/zaunkoenig/header.scss
51
- - _scss/zaunkoenig/homepageTeaser.scss
52
- - _scss/zaunkoenig/image.scss
53
- - _scss/zaunkoenig/normalize.scss
54
- - _scss/zaunkoenig/skeleton.scss
50
+ - _sass/zaunkoenig/base.scss
51
+ - _sass/zaunkoenig/customn-styles.scss
52
+ - _sass/zaunkoenig/customn-variables.scss
53
+ - _sass/zaunkoenig/header.scss
54
+ - _sass/zaunkoenig/image.scss
55
+ - _sass/zaunkoenig/initialize.scss
56
+ - _sass/zaunkoenig/normalize.scss
57
+ - _sass/zaunkoenig/skeleton.scss
58
+ - _sass/zaunkoenig/variables.scss
59
+ - assets/css/style.scss
60
+ - assets/css/syntax-highlighting.css
61
+ - assets/zaunkoenig.jpg
55
62
  homepage: https://zaunkoenig.techgenossen.de
56
63
  licenses:
57
64
  - MIT
@@ -1,7 +0,0 @@
1
- @import "zaunkoenig/normalize";
2
- @import "zaunkoenig/skeleton";
3
-
4
- @import "zaunkoenig/base";
5
- @import "zaunkoenig/header";
6
- @import "zaunkoenig/homepageTeaser";
7
- @import "zaunkoenig/image";
@@ -1,3 +0,0 @@
1
-
2
- {% capture styles %}{% include inline.scss %}{% endcapture %}
3
- <style>{{ styles | scssify }}</style>
@@ -1,23 +0,0 @@
1
- .homepageTeaser {
2
- background-color: $color_background_inverse;
3
- color: $color_font_inverse;
4
- padding:2em 0;
5
- margin-bottom: 1em;
6
-
7
- h1 {
8
- color: $color_font_inverse_light;
9
- margin-bottom: 6rem;
10
- font-size: 2.5em;
11
- @media (min-width: 400px) {
12
- font-size: 3.5em;
13
- }
14
- /* Larger than phablet (also point when grid becomes active) */
15
- @media (min-width: 550px) {
16
- font-size: 4.5em;
17
- }
18
- /* Larger than tablet */
19
- @media (min-width: 750px) {
20
- font-size: 5.5em;
21
- }
22
- }
23
- }