jenstep_theme 0.1.2 → 0.1.3
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/_includes/header.html +18 -6
- data/_sass/jenstep_theme.scss +1 -1
- data/_sass/jenstep_theme/_layout.scss +65 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10d40598171e9b6d05a3edf0b64a529cffede93b2fef417f88e8217a49ae487f
|
4
|
+
data.tar.gz: 6c3d1c28183b5d30326f068d6c12799462af172d73726250f9be15b19e57a1f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a72f679b47a61769910c195e72b58d8012f141c2b23e89613fe117ee279d55c2d495d352e94d8d244b6f00d9eeef265409861532ee327e9bf14ce7ad4dc7e971
|
7
|
+
data.tar.gz: e3a9e5b3762ddb6a93a9081b6549c6b6cf96322a54251d0071137e2706503b14ad03f7dbbddbf526e63453d16ee94ee2f09818e63d7923435b682c43caa6ce46
|
data/_includes/header.html
CHANGED
@@ -17,12 +17,24 @@
|
|
17
17
|
</label>
|
18
18
|
|
19
19
|
<div class="trigger">
|
20
|
-
|
21
|
-
{
|
22
|
-
{
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
<ul>
|
21
|
+
{% assign links = site.data.navigation %}
|
22
|
+
{% for link in links %}
|
23
|
+
{% if link.sublinks %}
|
24
|
+
<li class="dropdown">
|
25
|
+
<a href="{{ site.url }}{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a>
|
26
|
+
<div class="dropdown-content">
|
27
|
+
{% for sublink in link.sublinks %}
|
28
|
+
<a href="{{ site.url }}{{ site.baseurl }}{{ sublink.url }}">{{ sublink.title }}</a>
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
31
|
+
</li>
|
32
|
+
{% else %}
|
33
|
+
<li>
|
34
|
+
<a href="{{ site.url }}{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a>
|
35
|
+
{% endif %}
|
36
|
+
{% endfor %}
|
37
|
+
</ul>
|
26
38
|
</div>
|
27
39
|
</nav>
|
28
40
|
{%- endif -%}
|
data/_sass/jenstep_theme.scss
CHANGED
@@ -12,7 +12,7 @@ $spacing-unit: 30px !default;
|
|
12
12
|
|
13
13
|
$text-color: #111 !default;
|
14
14
|
$background-color: #4b4b4b !default;
|
15
|
-
$brand-color: #
|
15
|
+
$brand-color: #8b0000 !default;
|
16
16
|
|
17
17
|
$grey-color: #828282 !default;
|
18
18
|
$grey-color-light: lighten($grey-color, 40%) !default;
|
@@ -11,16 +11,17 @@
|
|
11
11
|
}
|
12
12
|
|
13
13
|
.site-title {
|
14
|
-
@include relative-font-size(
|
14
|
+
@include relative-font-size(2);
|
15
15
|
font-weight: 300;
|
16
|
-
line-height: $base-line-height * $base-font-size *
|
16
|
+
line-height: $base-line-height * $base-font-size * 3;
|
17
17
|
letter-spacing: -1px;
|
18
18
|
margin-bottom: 0;
|
19
19
|
float: left;
|
20
20
|
|
21
|
+
|
21
22
|
&,
|
22
23
|
&:visited {
|
23
|
-
color: $
|
24
|
+
color: $brand-color;
|
24
25
|
}
|
25
26
|
}
|
26
27
|
|
@@ -28,6 +29,67 @@
|
|
28
29
|
float: right;
|
29
30
|
line-height: $base-line-height * $base-font-size * 2.25;
|
30
31
|
|
32
|
+
ul {
|
33
|
+
list-style-type: none;
|
34
|
+
margin: 0;
|
35
|
+
padding: 0;
|
36
|
+
background-color: #333;
|
37
|
+
}
|
38
|
+
|
39
|
+
li {
|
40
|
+
float: left;
|
41
|
+
border-right: 1px solid #bbb;
|
42
|
+
}
|
43
|
+
|
44
|
+
li:last-child {
|
45
|
+
border-right: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
.active {
|
49
|
+
background-color: #4CAF50;
|
50
|
+
}
|
51
|
+
|
52
|
+
li a, .dropbtn {
|
53
|
+
display: inline-block;
|
54
|
+
padding: 14px 16px;
|
55
|
+
color: white;
|
56
|
+
text-align: center;
|
57
|
+
text-decoration: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
li a:hover, .dropdown:hover .dropbtn {
|
61
|
+
background-color: $brand-color;
|
62
|
+
}
|
63
|
+
|
64
|
+
li.dropdown {
|
65
|
+
display: inline-block;
|
66
|
+
}
|
67
|
+
|
68
|
+
.dropdown-content {
|
69
|
+
display: none;
|
70
|
+
position: absolute;
|
71
|
+
background-color: $grey-color;
|
72
|
+
min-width: 160px;
|
73
|
+
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
74
|
+
z-index: 1;
|
75
|
+
}
|
76
|
+
|
77
|
+
.dropdown-content a {
|
78
|
+
color: black;
|
79
|
+
padding: 12px 16px;
|
80
|
+
text-decoration: none;
|
81
|
+
display: block;
|
82
|
+
text-align: left;
|
83
|
+
}
|
84
|
+
|
85
|
+
.dropdown-content a:hover {
|
86
|
+
background-color: #f1f1f1;
|
87
|
+
}
|
88
|
+
|
89
|
+
.dropdown:hover .dropdown-content {
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
|
31
93
|
.nav-trigger {
|
32
94
|
display: none;
|
33
95
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenstep_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jenna Stephens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|