jekyll-hanfverband-theme 0.0.1

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.
@@ -0,0 +1,25 @@
1
+ @charset "utf-8";
2
+
3
+ $brand-color: #007825 !default;
4
+ $brand-color-light: $brand-color;
5
+ $brand-color-dark: darken($brand-color, 25%) !default;
6
+
7
+ $text-color: #111 !default;
8
+ $background-color: #efede6 !default;
9
+ $code-background-color: #efede6 !default;
10
+
11
+ $link-base-color: #900 !default;
12
+ $link-visited-color: $link-base-color !default;
13
+
14
+ $table-text-color: lighten($text-color, 18%) !default;
15
+ $table-header-border: $table-text-color !default;
16
+ $table-header-bg-color: #efede6 !default;
17
+ $table-border-color: $table-header-border !default;
18
+ $table-zebra-color: $table-header-bg-color !default;
19
+
20
+
21
+ // import skin-agnostic styles and override
22
+ @import
23
+ "minima/initialize",
24
+ "minima/custom-styles"
25
+ ;
@@ -0,0 +1,4 @@
1
+ @charset "utf-8";
2
+
3
+ $sol-is-dark: true;
4
+ @import "minima-solarized";
@@ -0,0 +1,139 @@
1
+ @charset "utf-8";
2
+
3
+ // Solarized skin
4
+ // ==============
5
+ // Created by Sander Voerman <mailto:sander@savoerman.nl> using the Solarized
6
+ // color scheme by Ethan Schoonover <https://ethanschoonover.com/solarized>.
7
+
8
+ // This style sheet implements two options for the minima.skin setting:
9
+ // "solarized" for light mode and "solarized-dark" for dark mode.
10
+ $sol-is-dark: false !default;
11
+
12
+
13
+ // Color scheme
14
+ // ------------
15
+ // The inline comments show the canonical L*a*b values for each color.
16
+
17
+ $sol-base03: #002b36; // 15 -12 -12
18
+ $sol-base02: #073642; // 20 -12 -12
19
+ $sol-base01: #586e75; // 45 -07 -07
20
+ $sol-base00: #657b83; // 50 -07 -07
21
+ $sol-base0: #839496; // 60 -06 -03
22
+ $sol-base1: #93a1a1; // 65 -05 -02
23
+ $sol-base2: #eee8d5; // 92 -00 10
24
+ $sol-base3: #fdf6e3; // 97 00 10
25
+ $sol-yellow: #b58900; // 60 10 65
26
+ $sol-orange: #cb4b16; // 50 50 55
27
+ $sol-red: #dc322f; // 50 65 45
28
+ $sol-magenta: #d33682; // 50 65 -05
29
+ $sol-violet: #6c71c4; // 50 15 -45
30
+ $sol-blue: #268bd2; // 55 -10 -45
31
+ $sol-cyan: #2aa198; // 60 -35 -05
32
+ $sol-green: #859900; // 60 -20 65
33
+
34
+ $sol-mono3: $sol-base3;
35
+ $sol-mono2: $sol-base2;
36
+ $sol-mono1: $sol-base1;
37
+ $sol-mono00: $sol-base00;
38
+ $sol-mono01: $sol-base01;
39
+
40
+ @if $sol-is-dark {
41
+ $sol-mono3: $sol-base03;
42
+ $sol-mono2: $sol-base02;
43
+ $sol-mono1: $sol-base01;
44
+ $sol-mono00: $sol-base0;
45
+ $sol-mono01: $sol-base1;
46
+ }
47
+
48
+
49
+ // Minima color variables
50
+ // ----------------------
51
+
52
+ $brand-color: $sol-mono1 !default;
53
+ $brand-color-light: mix($sol-mono1, $sol-mono3) !default;
54
+ $brand-color-dark: $sol-mono00 !default;
55
+
56
+ $text-color: $sol-mono01 !default;
57
+ $background-color: $sol-mono3 !default;
58
+ $code-background-color: $sol-mono2 !default;
59
+
60
+ $link-base-color: $sol-blue !default;
61
+ $link-visited-color: mix($sol-blue, $sol-mono00) !default;
62
+
63
+ $table-text-color: $sol-mono00 !default;
64
+ $table-zebra-color: mix($sol-mono2, $sol-mono3) !default;
65
+ $table-header-bg-color: $sol-mono2 !default;
66
+ $table-header-border: $sol-mono1 !default;
67
+ $table-border-color: $sol-mono1 !default;
68
+
69
+
70
+ // Syntax highlighting styles
71
+ // --------------------------
72
+
73
+ .highlight {
74
+ .c { color: $sol-mono1; font-style: italic } // Comment
75
+ .err { color: $sol-red } // Error
76
+ .k { color: $sol-mono01; font-weight: bold } // Keyword
77
+ .o { color: $sol-mono01; font-weight: bold } // Operator
78
+ .cm { color: $sol-mono1; font-style: italic } // Comment.Multiline
79
+ .cp { color: $sol-mono1; font-weight: bold } // Comment.Preproc
80
+ .c1 { color: $sol-mono1; font-style: italic } // Comment.Single
81
+ .cs { color: $sol-mono1; font-weight: bold; font-style: italic } // Comment.Special
82
+ .gd { color: $sol-red } // Generic.Deleted
83
+ .gd .x { color: $sol-red } // Generic.Deleted.Specific
84
+ .ge { color: $sol-mono00; font-style: italic } // Generic.Emph
85
+ .gr { color: $sol-red } // Generic.Error
86
+ .gh { color: $sol-mono1 } // Generic.Heading
87
+ .gi { color: $sol-green } // Generic.Inserted
88
+ .gi .x { color: $sol-green } // Generic.Inserted.Specific
89
+ .go { color: $sol-mono00 } // Generic.Output
90
+ .gp { color: $sol-mono00 } // Generic.Prompt
91
+ .gs { color: $sol-mono01; font-weight: bold } // Generic.Strong
92
+ .gu { color: $sol-mono1 } // Generic.Subheading
93
+ .gt { color: $sol-red } // Generic.Traceback
94
+ .kc { color: $sol-mono01; font-weight: bold } // Keyword.Constant
95
+ .kd { color: $sol-mono01; font-weight: bold } // Keyword.Declaration
96
+ .kp { color: $sol-mono01; font-weight: bold } // Keyword.Pseudo
97
+ .kr { color: $sol-mono01; font-weight: bold } // Keyword.Reserved
98
+ .kt { color: $sol-violet; font-weight: bold } // Keyword.Type
99
+ .m { color: $sol-cyan } // Literal.Number
100
+ .s { color: $sol-magenta } // Literal.String
101
+ .na { color: $sol-cyan } // Name.Attribute
102
+ .nb { color: $sol-blue } // Name.Builtin
103
+ .nc { color: $sol-violet; font-weight: bold } // Name.Class
104
+ .no { color: $sol-cyan } // Name.Constant
105
+ .ni { color: $sol-violet } // Name.Entity
106
+ .ne { color: $sol-violet; font-weight: bold } // Name.Exception
107
+ .nf { color: $sol-blue; font-weight: bold } // Name.Function
108
+ .nn { color: $sol-mono00 } // Name.Namespace
109
+ .nt { color: $sol-blue } // Name.Tag
110
+ .nv { color: $sol-cyan } // Name.Variable
111
+ .ow { color: $sol-mono01; font-weight: bold } // Operator.Word
112
+ .w { color: $sol-mono1 } // Text.Whitespace
113
+ .mf { color: $sol-cyan } // Literal.Number.Float
114
+ .mh { color: $sol-cyan } // Literal.Number.Hex
115
+ .mi { color: $sol-cyan } // Literal.Number.Integer
116
+ .mo { color: $sol-cyan } // Literal.Number.Oct
117
+ .sb { color: $sol-magenta } // Literal.String.Backtick
118
+ .sc { color: $sol-magenta } // Literal.String.Char
119
+ .sd { color: $sol-magenta } // Literal.String.Doc
120
+ .s2 { color: $sol-magenta } // Literal.String.Double
121
+ .se { color: $sol-magenta } // Literal.String.Escape
122
+ .sh { color: $sol-magenta } // Literal.String.Heredoc
123
+ .si { color: $sol-magenta } // Literal.String.Interpol
124
+ .sx { color: $sol-magenta } // Literal.String.Other
125
+ .sr { color: $sol-green } // Literal.String.Regex
126
+ .s1 { color: $sol-magenta } // Literal.String.Single
127
+ .ss { color: $sol-magenta } // Literal.String.Symbol
128
+ .bp { color: $sol-mono1 } // Name.Builtin.Pseudo
129
+ .vc { color: $sol-cyan } // Name.Variable.Class
130
+ .vg { color: $sol-cyan } // Name.Variable.Global
131
+ .vi { color: $sol-cyan } // Name.Variable.Instance
132
+ .il { color: $sol-cyan } // Literal.Number.Integer.Long
133
+ }
134
+
135
+ // import skin-agnostic styles and override
136
+ @import
137
+ "minima/initialize",
138
+ "minima/custom-styles"
139
+ ;
@@ -0,0 +1,264 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+
10
+ }
11
+
12
+
13
+
14
+ /**
15
+ * Basic styling
16
+ */
17
+ body {
18
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
19
+ color: $text-color;
20
+ background-color: $background-color;
21
+ -webkit-text-size-adjust: 100%;
22
+ -webkit-font-feature-settings: "kern" 1;
23
+ -moz-font-feature-settings: "kern" 1;
24
+ -o-font-feature-settings: "kern" 1;
25
+ font-feature-settings: "kern" 1;
26
+ font-kerning: normal;
27
+ display: flex;
28
+ min-height: 100vh;
29
+ flex-direction: column;
30
+ }
31
+
32
+
33
+
34
+ /**
35
+ * Set `margin-bottom` to maintain vertical rhythm
36
+ */
37
+ h1, h2, h3, h4, h5, h6,
38
+ p, blockquote, pre,
39
+ ul, ol, dl, figure,
40
+ %vertical-rhythm {
41
+ margin-bottom: $spacing-unit / 2;
42
+ }
43
+
44
+
45
+
46
+ /**
47
+ * `main` element
48
+ */
49
+ main {
50
+ display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
51
+ }
52
+
53
+
54
+
55
+ /**
56
+ * Images
57
+ */
58
+ img {
59
+ max-width: 100%;
60
+ vertical-align: middle;
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Figures
67
+ */
68
+ figure > img {
69
+ display: block;
70
+ }
71
+
72
+ figcaption {
73
+ font-size: $small-font-size;
74
+ }
75
+
76
+
77
+
78
+ /**
79
+ * Lists
80
+ */
81
+ ul, ol {
82
+ margin-left: $spacing-unit;
83
+ }
84
+
85
+ li {
86
+ > ul,
87
+ > ol {
88
+ margin-bottom: 0;
89
+ }
90
+ }
91
+
92
+
93
+
94
+ /**
95
+ * Headings
96
+ */
97
+ h1, h2, h3, h4, h5, h6 {
98
+ font-weight: $base-font-weight;
99
+ }
100
+
101
+
102
+
103
+ /**
104
+ * Links
105
+ */
106
+ a {
107
+ color: $link-base-color;
108
+ text-decoration: none;
109
+
110
+ &:visited {
111
+ color: $link-visited-color;
112
+ }
113
+
114
+ &:hover {
115
+ color: $text-color;
116
+ text-decoration: underline;
117
+ }
118
+
119
+ .social-media-list &:hover {
120
+ text-decoration: none;
121
+
122
+ .username {
123
+ text-decoration: underline;
124
+ }
125
+ }
126
+ }
127
+
128
+
129
+ /**
130
+ * Blockquotes
131
+ */
132
+ blockquote {
133
+ color: $brand-color;
134
+ border-left: 4px solid $brand-color-light;
135
+ padding-left: $spacing-unit / 2;
136
+ @include relative-font-size(1.125);
137
+ letter-spacing: -1px;
138
+ font-style: italic;
139
+
140
+ > :last-child {
141
+ margin-bottom: 0;
142
+ }
143
+ }
144
+
145
+
146
+
147
+ /**
148
+ * Code formatting
149
+ */
150
+ pre,
151
+ code {
152
+ @include relative-font-size(0.9375);
153
+ border: 1px solid $brand-color-light;
154
+ border-radius: 3px;
155
+ background-color: $code-background-color;
156
+ }
157
+
158
+ code {
159
+ padding: 1px 5px;
160
+ }
161
+
162
+ pre {
163
+ padding: 8px 12px;
164
+ overflow-x: auto;
165
+
166
+ > code {
167
+ border: 0;
168
+ padding-right: 0;
169
+ padding-left: 0;
170
+ }
171
+ }
172
+
173
+ .highlight {
174
+ background: $code-background-color;
175
+ @extend %vertical-rhythm;
176
+
177
+ .highlighter-rouge & {
178
+ background: $code-background-color;
179
+ }
180
+ }
181
+
182
+
183
+
184
+ /**
185
+ * Wrapper
186
+ */
187
+ .wrapper {
188
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
189
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
190
+ margin-right: auto;
191
+ margin-left: auto;
192
+ padding-right: $spacing-unit / 2;
193
+ padding-left: $spacing-unit / 2;
194
+ @extend %clearfix;
195
+
196
+ @media screen and (min-width: $on-large) {
197
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
198
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
199
+ padding-right: $spacing-unit;
200
+ padding-left: $spacing-unit;
201
+ }
202
+ }
203
+
204
+
205
+
206
+ /**
207
+ * Clearfix
208
+ */
209
+ %clearfix:after {
210
+ content: "";
211
+ display: table;
212
+ clear: both;
213
+ }
214
+
215
+
216
+
217
+ /**
218
+ * Icons
219
+ */
220
+
221
+ .orange {
222
+ color: #f66a0a;
223
+ }
224
+
225
+ .grey {
226
+ color: #828282;
227
+ }
228
+
229
+ .svg-icon {
230
+ width: 16px;
231
+ height: 16px;
232
+ display: inline-block;
233
+ fill: currentColor;
234
+ padding: 5px 3px 2px 5px;
235
+ vertical-align: text-bottom;
236
+ }
237
+
238
+
239
+ /**
240
+ * Tables
241
+ */
242
+ table {
243
+ margin-bottom: $spacing-unit;
244
+ width: 100%;
245
+ text-align: $table-text-align;
246
+ color: $table-text-color;
247
+ border-collapse: collapse;
248
+ border: 1px solid $table-border-color;
249
+ tr {
250
+ &:nth-child(even) {
251
+ background-color: $table-zebra-color;
252
+ }
253
+ }
254
+ th, td {
255
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
256
+ }
257
+ th {
258
+ background-color: $table-header-bg-color;
259
+ border: 1px solid $table-header-border;
260
+ }
261
+ td {
262
+ border: 1px solid $table-border-color;
263
+ }
264
+ }
@@ -0,0 +1,300 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $brand-color-dark;
6
+ border-bottom: 1px solid $brand-color-light;
7
+ min-height: $spacing-unit * 1.865;
8
+ line-height: $base-line-height * $base-font-size * 2.25;
9
+
10
+ // Positioning context for the mobile navigation icon
11
+ position: relative;
12
+ }
13
+
14
+ .site-title {
15
+ @include relative-font-size(1.625);
16
+ font-weight: 300;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ float: left;
20
+
21
+ @include media-query($on-palm) {
22
+ padding-right: 45px;
23
+ }
24
+
25
+ &,
26
+ &:visited {
27
+ color: $brand-color-dark;
28
+ }
29
+ }
30
+
31
+ .site-nav {
32
+ position: absolute;
33
+ top: 9px;
34
+ right: $spacing-unit / 2;
35
+ background-color: $background-color;
36
+ border: 1px solid $brand-color-light;
37
+ border-radius: 5px;
38
+ text-align: right;
39
+
40
+ .nav-trigger {
41
+ display: none;
42
+ }
43
+
44
+ .menu-icon {
45
+ float: right;
46
+ width: 36px;
47
+ height: 26px;
48
+ line-height: 0;
49
+ padding-top: 10px;
50
+ text-align: center;
51
+
52
+ > svg path {
53
+ fill: $brand-color-dark;
54
+ }
55
+ }
56
+
57
+ label[for="nav-trigger"] {
58
+ display: block;
59
+ float: right;
60
+ width: 36px;
61
+ height: 36px;
62
+ z-index: 2;
63
+ cursor: pointer;
64
+ }
65
+
66
+ input ~ .trigger {
67
+ clear: both;
68
+ display: none;
69
+ }
70
+
71
+ input:checked ~ .trigger {
72
+ display: block;
73
+ padding-bottom: 5px;
74
+ }
75
+
76
+ .page-link {
77
+ color: $text-color;
78
+ line-height: $base-line-height;
79
+ display: block;
80
+ padding: 5px 10px;
81
+
82
+ // Gaps between nav items, but not on the last one
83
+ &:not(:last-child) {
84
+ margin-right: 0;
85
+ }
86
+ margin-left: 20px;
87
+ }
88
+
89
+ @media screen and (min-width: $on-medium) {
90
+ position: static;
91
+ float: right;
92
+ border: none;
93
+ background-color: inherit;
94
+
95
+ label[for="nav-trigger"] {
96
+ display: none;
97
+ }
98
+
99
+ .menu-icon {
100
+ display: none;
101
+ }
102
+
103
+ input ~ .trigger {
104
+ display: block;
105
+ }
106
+
107
+ .page-link {
108
+ display: inline;
109
+ padding: 0;
110
+
111
+ &:not(:last-child) {
112
+ margin-right: 20px;
113
+ }
114
+ margin-left: auto;
115
+ }
116
+ }
117
+ }
118
+
119
+
120
+
121
+ /**
122
+ * Site footer
123
+ */
124
+ .site-footer {
125
+ border-top: 1px solid $brand-color-light;
126
+ padding: $spacing-unit 0;
127
+ }
128
+
129
+ .footer-heading {
130
+ @include relative-font-size(1.125);
131
+ margin-bottom: $spacing-unit / 2;
132
+ }
133
+
134
+ .contact-list,
135
+ .social-media-list {
136
+ list-style: none;
137
+ margin-left: 0;
138
+ }
139
+
140
+ .footer-col-wrapper {
141
+ @include relative-font-size(0.9375);
142
+ color: $brand-color;
143
+ margin-left: -$spacing-unit / 2;
144
+ @extend %clearfix;
145
+ }
146
+
147
+ .footer-col {
148
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
149
+ width: calc(100% - (#{$spacing-unit} / 2));
150
+ margin-bottom: $spacing-unit / 2;
151
+ padding-left: $spacing-unit / 2;
152
+ }
153
+
154
+ .footer-col-1,
155
+ .footer-col-2 {
156
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
157
+ width: calc(50% - (#{$spacing-unit} / 2));
158
+ }
159
+
160
+ .footer-col-3 {
161
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
162
+ width: calc(100% - (#{$spacing-unit} / 2));
163
+ }
164
+
165
+ @media screen and (min-width: $on-large) {
166
+ .footer-col-1 {
167
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
168
+ width: calc(35% - (#{$spacing-unit} / 2));
169
+ }
170
+
171
+ .footer-col-2 {
172
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
173
+ width: calc(20% - (#{$spacing-unit} / 2));
174
+ }
175
+
176
+ .footer-col-3 {
177
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
178
+ width: calc(45% - (#{$spacing-unit} / 2));
179
+ }
180
+ }
181
+
182
+ @media screen and (min-width: $on-medium) {
183
+ .footer-col {
184
+ float: left;
185
+ }
186
+ }
187
+
188
+
189
+
190
+ /**
191
+ * Page content
192
+ */
193
+ .page-content {
194
+ padding: $spacing-unit 0;
195
+ flex: 1 0 auto;
196
+ }
197
+
198
+ .page-heading {
199
+ @include relative-font-size(2);
200
+ }
201
+
202
+ .post-list-heading {
203
+ @include relative-font-size(1.75);
204
+ }
205
+
206
+ .post-list {
207
+ margin-left: 0;
208
+ list-style: none;
209
+
210
+ > li {
211
+ margin-bottom: $spacing-unit;
212
+ }
213
+ }
214
+
215
+ .post-meta {
216
+ font-size: $small-font-size;
217
+ color: $brand-color;
218
+ }
219
+
220
+ .post-link {
221
+ display: block;
222
+ @include relative-font-size(1.5);
223
+ }
224
+
225
+
226
+
227
+ /**
228
+ * Posts
229
+ */
230
+ .post-header {
231
+ margin-bottom: $spacing-unit;
232
+ }
233
+
234
+ .post-title,
235
+ .post-content h1 {
236
+ @include relative-font-size(2.625);
237
+ letter-spacing: -1px;
238
+ line-height: 1;
239
+
240
+ @media screen and (min-width: $on-large) {
241
+ @include relative-font-size(2.625);
242
+ }
243
+ }
244
+
245
+ .post-content {
246
+ margin-bottom: $spacing-unit;
247
+
248
+ h2 {
249
+ @include relative-font-size(1.75);
250
+
251
+ @media screen and (min-width: $on-large) {
252
+ @include relative-font-size(2);
253
+ }
254
+ }
255
+
256
+ h3 {
257
+ @include relative-font-size(1.375);
258
+
259
+ @media screen and (min-width: $on-large) {
260
+ @include relative-font-size(1.625);
261
+ }
262
+ }
263
+
264
+ h4 {
265
+ @include relative-font-size(1.125);
266
+
267
+ @media screen and (min-width: $on-large) {
268
+ @include relative-font-size(1.25);
269
+ }
270
+ }
271
+ }
272
+
273
+
274
+ .social-media-list {
275
+ display: table;
276
+ margin: 0 auto;
277
+ li {
278
+ float: left;
279
+ margin: 0 5px;
280
+ &:first-of-type { margin-left: 0 }
281
+ &:last-of-type { margin-right: 0 }
282
+ a {
283
+ display: block;
284
+ padding: $spacing-unit / 4;
285
+ border: 1px solid $brand-color-light
286
+ }
287
+ &:hover .svg-icon { fill: currentColor; }
288
+ }
289
+ }
290
+
291
+
292
+ /**
293
+ * Grid helpers
294
+ */
295
+ @media screen and (min-width: $on-large) {
296
+ .one-half {
297
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
298
+ width: calc(50% - (#{$spacing-unit} / 2));
299
+ }
300
+ }