zaunkoenig 0.0.2 → 0.0.7

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: 4d9929025a257a1126da255bb7eae9ddc40b7b245456d0374a184ebca29723cf
4
- data.tar.gz: 432567fd5a1fe58332c24cd8f500da578c5864331ea2be3bcb4fb047c677566f
3
+ metadata.gz: 2728a1c96877740069b38908046800a8ed59d533debdc0b9be0eacc6cb273eda
4
+ data.tar.gz: 60cc413e6eea2823858073db0f3bc45e7b7bd48f88515b52c189f0e39350dfff
5
5
  SHA512:
6
- metadata.gz: 4b30a090e22458f2b82d856b7dd137e55a012a274cfc98b903afbbb234c63d0413a06bb0adb058bded25ae571ea0fcbe95083d09f0d8e6cfb7cb372fe0bcc2be
7
- data.tar.gz: 125b84b88f71e9ba7ec4054ba3327bb577e1afdbe5b43c9de19133a6ea882a3234f013eddcdb2e59603ddbb57bf50f8f2cc3e1e198b0d146409cefec646f0a45
6
+ metadata.gz: adb38755e5cc2f0d84f32668fd76e7cdeeadb9d9ae4d525a28bfd1ca3d4f3fa52cd81831826a7b1e13cc960e94d09a61f66e45d530889519f5d74213d2e9e5ef
7
+ data.tar.gz: 3d1505dd20dd9b528950b3a93b0b6ca613b1fc59002072e5960f581b12dfffae5c9e0685cec8847aa8c924d8340e1c89ad87ae3738616d30c6a36596404ea1d1
data/README.md CHANGED
@@ -29,13 +29,64 @@ Or install it yourself as:
29
29
 
30
30
  $ gem install zaunkoenig
31
31
 
32
- ## Usage
33
32
 
34
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
33
+ Zaunkönig is a lightweight and elegant theme for Jekyll.
34
+
35
+ ![](/assets/zaunkoenig.jpg)
36
+
37
+ ## Features
38
+
39
+ ### Customn Logo
40
+
41
+ You can overwrite footer and header logo.
42
+
43
+ Create `includes/footer_logo.html` or `includes/header_logo.html` to roll your own.
44
+
45
+ ### Change fonts an colours
46
+
47
+ You can change the look and feel of the theme by overriding the variables in `variables.scss`.
48
+
49
+ You can change fonts and colors.
50
+
51
+ ```scss
52
+ $color_primary: #FF4B3E;
53
+ $color_primary_hover: #972D07;
54
+ $color_font: #222;
55
+ $color_font_dark: #000;
56
+ $color_font_inverse: #cccccc;
57
+ $color_font_inverse_light: #ffffff;
58
+ $color_background: #ffffff;
59
+ $color_background_inverse: #972D07;
60
+ $color_border: #efefef;
61
+ $font_text: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
62
+ $font_decoration: "Century Gothic", CenturyGothic, Futura, sans-serif;
63
+ ```
64
+
65
+ ### Add navigation items
66
+
67
+ You can customize the navigation items in header and footer by adding your own navigation.yml to `data/navigation.yml`.
68
+
69
+ ```yml
70
+ main:
71
+ items:
72
+ - title: Start
73
+ url: /
74
+
75
+ - title: Blog
76
+ url: /blog/
77
+
78
+ footer:
79
+ items:
80
+ - title: Zaunkönig
81
+ url: /
82
+
83
+ - title: Birdsnest
84
+ url: /
85
+ ```
86
+
87
+ ### Syntax highlighting
35
88
 
36
- ## Contributing
37
89
 
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
90
 
40
91
  ## Development
41
92
 
@@ -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
@@ -0,0 +1,15 @@
1
+ main:
2
+ items:
3
+ - title: Start
4
+ url: /
5
+
6
+ - title: Blog
7
+ url: /blog/
8
+
9
+ footer:
10
+ items:
11
+ - title: Zaunkönig
12
+ url: /
13
+
14
+ - title: Birdsnest
15
+ url: /
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,7 +1,10 @@
1
+ @import "zaunkoenig/variables";
2
+ @import "zaunkoenig/variables_customn";
3
+
1
4
  @import "zaunkoenig/normalize";
2
5
  @import "zaunkoenig/skeleton";
3
6
 
4
7
  @import "zaunkoenig/base";
5
8
  @import "zaunkoenig/header";
6
- @import "zaunkoenig/homepageTeaser";
7
9
  @import "zaunkoenig/image";
10
+ @import "zaunkoenig/customn-styles";
@@ -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,11 @@
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;
@@ -0,0 +1,4 @@
1
+ ---
2
+ # front matter
3
+ ---
4
+ @import "zaunkoenig";
@@ -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.2
4
+ version: 0.0.7
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: []
@@ -34,23 +35,30 @@ files:
34
35
  - LICENSE.txt
35
36
  - README.md
36
37
  - _config.yml
38
+ - _data/navigation.yml
39
+ - _includes/customn_head.html
37
40
  - _includes/footer.html
38
41
  - _includes/footer_logo.html
39
42
  - _includes/head.html
40
43
  - _includes/header.html
41
44
  - _includes/header_logo.html
42
- - _includes/inline.scss
43
- - _includes/inline_styles.html
45
+ - _includes/styles.html
44
46
  - _layouts/default.html
45
47
  - _layouts/home.html
46
48
  - _layouts/page.html
47
49
  - _layouts/post.html
48
- - _scss/zaunkoenig/base.scss
49
- - _scss/zaunkoenig/header.scss
50
- - _scss/zaunkoenig/homepageTeaser.scss
51
- - _scss/zaunkoenig/image.scss
52
- - _scss/zaunkoenig/normalize.scss
53
- - _scss/zaunkoenig/skeleton.scss
50
+ - _sass/zaunkoenig.scss
51
+ - _sass/zaunkoenig/base.scss
52
+ - _sass/zaunkoenig/customn-styles.scss
53
+ - _sass/zaunkoenig/header.scss
54
+ - _sass/zaunkoenig/image.scss
55
+ - _sass/zaunkoenig/normalize.scss
56
+ - _sass/zaunkoenig/skeleton.scss
57
+ - _sass/zaunkoenig/variables.scss
58
+ - _sass/zaunkoenig/variables_customn.scss
59
+ - assets/css/style.scss
60
+ - assets/css/syntax-highlighting.css
61
+ - assets/zaunkoenig.jpg
54
62
  homepage: https://zaunkoenig.techgenossen.de
55
63
  licenses:
56
64
  - MIT
@@ -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
- }