voppe-jekyll-theme 0.5.5 → 0.6.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 +5 -1
- data/_layouts/list.html +3 -1
- data/_sass/app.scss +2 -2
- data/_sass/components/article.scss +16 -4
- data/_sass/components/list.scss +27 -9
- data/_sass/components/menu.scss +8 -10
- data/_sass/config/colors.scss +14 -5
- data/_sass/utils/hover.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7abff5624f15421fef8c0335f125c84f4d8e066
|
4
|
+
data.tar.gz: e6a0168244d5f6a26b1ca381ecaa4f0570debdc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b390332a5485c6e47adf645aa275d15a0b7ada5c61b869695924e44c9b913a1b543f81987393b93c12b3e625900def57c03cd237edc7ae5870a74727203d4906
|
7
|
+
data.tar.gz: 4433536b24b762950135622773414c95b94df8e082e721a67645375998736ece0f0e1e7078d07292528c3a915bbd9ff1977bfc1972e631886d80ee545625d4c4
|
data/README.md
CHANGED
@@ -41,8 +41,11 @@ Where `menuitems` is an array of items with the following structure
|
|
41
41
|
# Defaults to medium
|
42
42
|
size: medium|large
|
43
43
|
|
44
|
+
# Defines the "target" attribute of the link (e.g. "blank")
|
45
|
+
target: string
|
46
|
+
|
44
47
|
# The text to show on item hover
|
45
|
-
label: string
|
48
|
+
label: string
|
46
49
|
|
47
50
|
# A fontawesome icon name (e.g. 'envelope')
|
48
51
|
icon: string
|
@@ -68,6 +71,7 @@ collection: *collection*
|
|
68
71
|
```
|
69
72
|
|
70
73
|
To display a post's thumbnail, add a `thumbnail: *url*` to the post's front matter.
|
74
|
+
You can add a small description to the post using `description: *text*`.
|
71
75
|
|
72
76
|
## License
|
73
77
|
|
data/_layouts/list.html
CHANGED
data/_sass/app.scss
CHANGED
@@ -1,23 +1,35 @@
|
|
1
1
|
article {
|
2
|
-
background-color: $color-bg-secondary;
|
3
2
|
padding: 1em;
|
4
3
|
|
4
|
+
h1 {
|
5
|
+
color: $color-header-secondary;
|
6
|
+
}
|
7
|
+
|
8
|
+
h2 {
|
9
|
+
color: $color-header-primary;
|
10
|
+
}
|
11
|
+
|
5
12
|
.post & {
|
6
13
|
flex-basis: $size-post;
|
7
14
|
}
|
8
15
|
|
9
16
|
a {
|
10
|
-
color: $color-secondary;
|
17
|
+
color: $color-header-secondary;
|
11
18
|
|
12
19
|
&:visited {
|
13
|
-
color: $color-primary;
|
20
|
+
color: $color-header-primary;
|
14
21
|
}
|
15
22
|
|
16
23
|
&:hover {
|
17
|
-
color: $color-text;
|
24
|
+
color: $color-text-primary;
|
18
25
|
}
|
19
26
|
}
|
20
27
|
|
28
|
+
pre {
|
29
|
+
padding-left: 1em;
|
30
|
+
border-left: 0.2em solid $color-highlight-primary;
|
31
|
+
}
|
32
|
+
|
21
33
|
@include media-mobile {
|
22
34
|
margin-top: 2em;
|
23
35
|
}
|
data/_sass/components/list.scss
CHANGED
@@ -2,26 +2,37 @@ nav.list {
|
|
2
2
|
display:flex;
|
3
3
|
flex-direction: row;
|
4
4
|
flex-wrap: wrap;
|
5
|
-
margin-left: 3em;
|
6
5
|
align-content: flex-start;
|
7
6
|
align-items: flex-start;
|
8
7
|
width: 100%;
|
8
|
+
margin-left: 3em;
|
9
|
+
|
10
|
+
@include media-mobile {
|
11
|
+
margin-left: 0px;
|
12
|
+
}
|
9
13
|
|
10
14
|
h1 {
|
11
15
|
width: 100%;
|
12
16
|
font-size: 2.5em;
|
13
|
-
color: $color-
|
17
|
+
color: $color-header-primary;
|
18
|
+
|
19
|
+
@include media-mobile {
|
20
|
+
text-align: center;
|
21
|
+
}
|
14
22
|
}
|
15
23
|
|
16
24
|
a {
|
17
25
|
width: 32em;
|
18
26
|
margin-bottom: 1em;
|
19
|
-
margin-right: 1em;
|
20
27
|
color: inherit;
|
21
28
|
text-decoration: none;
|
22
29
|
transition: all 0.5s ease-in;
|
23
30
|
text-align: center;
|
24
31
|
|
32
|
+
@include media-desktop {
|
33
|
+
margin-right: 3em;
|
34
|
+
}
|
35
|
+
|
25
36
|
h2 {
|
26
37
|
font-size: 1.5em;
|
27
38
|
}
|
@@ -35,21 +46,22 @@ nav.list {
|
|
35
46
|
.header {
|
36
47
|
transition: background-color 0.25s ease-in, border-color 0.25s ease-in;
|
37
48
|
padding: 1em;
|
38
|
-
background-color: $color-
|
49
|
+
background-color: $color-item-primary;
|
39
50
|
display: flex;
|
40
51
|
flex-wrap: wrap;
|
41
52
|
justify-content: center;
|
42
53
|
position: relative;
|
43
54
|
border-width: 1px;
|
44
55
|
border-style: solid;
|
45
|
-
border-color: $color-
|
56
|
+
border-color: $color-item-primary;
|
57
|
+
color: $color-text-secondary;
|
46
58
|
|
47
59
|
&::after {
|
48
60
|
transition: background-color 0.25s ease-in, border-color 0.25s ease-in;
|
49
61
|
content: "";
|
50
62
|
width: $size-arrow;
|
51
63
|
height: $size-arrow;
|
52
|
-
background-color:
|
64
|
+
background-color: $color-item-primary;
|
53
65
|
position: absolute;
|
54
66
|
bottom: -($size-arrow/2)-1px;
|
55
67
|
left: 0px;
|
@@ -58,10 +70,14 @@ nav.list {
|
|
58
70
|
margin-right: auto;
|
59
71
|
transform: rotate(45deg);
|
60
72
|
border-style: solid;
|
61
|
-
border-color:
|
73
|
+
border-color: $color-item-primary;
|
62
74
|
border-width: 1px;
|
63
75
|
}
|
64
76
|
|
77
|
+
> .content {
|
78
|
+
padding-bottom: 1.5em;
|
79
|
+
}
|
80
|
+
|
65
81
|
> * {
|
66
82
|
width: 100%;
|
67
83
|
}
|
@@ -69,11 +85,13 @@ nav.list {
|
|
69
85
|
|
70
86
|
&:hover {
|
71
87
|
.header {
|
72
|
-
border-color: $color-
|
88
|
+
border-color: $color-item-secondary;
|
89
|
+
background-color: $color-item-secondary;
|
73
90
|
}
|
74
91
|
|
75
92
|
.header::after {
|
76
|
-
border-color: transparent $color-
|
93
|
+
border-color: transparent $color-item-secondary $color-item-secondary transparent;
|
94
|
+
background-color: $color-item-secondary;
|
77
95
|
}
|
78
96
|
}
|
79
97
|
}
|
data/_sass/components/menu.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
nav.menu {
|
2
|
+
color: $color-text-secondary;
|
2
3
|
z-index: 20000;
|
3
|
-
background: $color-
|
4
|
+
background: $color-background-secondary;
|
4
5
|
height: 100%;
|
5
6
|
width: $size-menu;
|
6
7
|
position: fixed;
|
@@ -42,9 +43,8 @@ nav.menu {
|
|
42
43
|
}
|
43
44
|
|
44
45
|
&.active {
|
45
|
-
background-color: $color-
|
46
|
-
border-right: 1px solid $color-
|
47
|
-
pointer-events: none;
|
46
|
+
background-color: $color-background-primary;
|
47
|
+
border-right: 1px solid $color-background-primary;
|
48
48
|
}
|
49
49
|
|
50
50
|
&:not(.active) {
|
@@ -58,23 +58,22 @@ nav.menu {
|
|
58
58
|
|
59
59
|
padding-left: 1em;
|
60
60
|
height: $size-menu;
|
61
|
-
background-color: $color-
|
61
|
+
background-color: $color-background-secondary;
|
62
62
|
padding-right: 1em;
|
63
63
|
align-content: center;
|
64
64
|
align-items: center;
|
65
65
|
display: flex;
|
66
66
|
|
67
67
|
@include media-tablet {
|
68
|
-
box-shadow: 0 1px 0 $color-
|
68
|
+
box-shadow: 0 1px 0 $color-background-primary, 1px 1px 0 $color-background-primary, -1px 1px 0 $color-background-primary;
|
69
69
|
}
|
70
70
|
|
71
71
|
@include media-desktop {
|
72
|
-
box-shadow: 0 -1px 0 $color-
|
72
|
+
box-shadow: 0 -1px 0 $color-background-primary, 1px 1px 0 $color-background-primary, 0px 1px 0 $color-background-primary;
|
73
73
|
}
|
74
74
|
}
|
75
75
|
|
76
76
|
.link {
|
77
|
-
color: $color-text;
|
78
77
|
display: flex;
|
79
78
|
text-decoration: none;
|
80
79
|
flex-direction: row;
|
@@ -91,7 +90,6 @@ nav.menu {
|
|
91
90
|
.icon {
|
92
91
|
background-size: 100%;
|
93
92
|
transition: background 0.4s ease-out;
|
94
|
-
border-radius: 2em;
|
95
93
|
|
96
94
|
&, &medium {
|
97
95
|
width: 1em;
|
@@ -106,7 +104,7 @@ nav.menu {
|
|
106
104
|
}
|
107
105
|
|
108
106
|
i {
|
109
|
-
color: $color-text;
|
107
|
+
color: $color-text-secondary;
|
110
108
|
}
|
111
109
|
}
|
112
110
|
}
|
data/_sass/config/colors.scss
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
-
$color-
|
2
|
-
$color-
|
3
|
-
|
4
|
-
$color-
|
5
|
-
$color-
|
1
|
+
$color-background-secondary: #252526;
|
2
|
+
$color-background-primary: #393F4C;
|
3
|
+
|
4
|
+
$color-header-primary: #D19A66;
|
5
|
+
$color-header-secondary: #E06C75;
|
6
|
+
|
7
|
+
$color-item-secondary: #5675B9;
|
8
|
+
$color-item-primary: #4C5666;
|
9
|
+
|
10
|
+
$color-highlight-primary: #A878D2;
|
11
|
+
$color-highlight-secondary: #007ACC;
|
12
|
+
|
13
|
+
$color-text-primary: #ABB2BF;
|
14
|
+
$color-text-secondary: #FFFFFF;
|
data/_sass/utils/hover.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voppe-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- voppe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|