panthera-jekyll 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fac933638f45767110a4f8d7e90256fc2f3da4f3ef2c20dd4814e0f2c758d8e5
4
- data.tar.gz: e595195efd406be1af333153c076f4e1440a009301c723b23aa3f09eb8a9ee26
3
+ metadata.gz: 5264492c851cf9129388c9d6d98737eb5bd8b93a7b93bde49d5d5a07039965e2
4
+ data.tar.gz: 15238dd6334f483beb3d702059a05ea22b30e0b5d3105702ea54cdeba6185b64
5
5
  SHA512:
6
- metadata.gz: 236c88f831faf1636c911196c6ce63f53f8e4d78c6db7e1799edb9045bd0d5cdbf4af3431c15b49c1080ce4ce615dbe100bb2b653b1338d46207fa590c862ae9
7
- data.tar.gz: 90307ccc1c566b2c44b6329be8c8e15fd66d5ce9d89ba3e6ae525218d398decf7656f751f1937a56b6f63a153b2b4d582156756b8e3acd6197da82f485e7a0d9
6
+ metadata.gz: 3d7edbb033fe8cbb357018f09fc69f81d171934cf51d8a6a0c72b65ece601445fe9f1010736a4d948755bfc978c2fd4e41d0d6ad98ddc7a263ac7bcf0b7535c4
7
+ data.tar.gz: 323a8d0e75656b7fc3fdc5efa58efd2a62c1eb661c07afd58b55e68c0ec7906cd0d3a84fde64ab6f8cb67c1d9f4f8b28ed77a390be7c3274cd027b0abe742f7b
data/_includes/left.html CHANGED
@@ -12,7 +12,7 @@
12
12
  <h1 class="pan-layout-left__title">
13
13
  {{ site.title | default: site.github.owner_name }}
14
14
  </h1>
15
-
15
+
16
16
  {% if site.subtitle %}
17
17
  <h3 class="pan-layout-left__subtitle">
18
18
  {{ site.subtitle }}
@@ -21,5 +21,36 @@
21
21
  </div>
22
22
  </div>
23
23
 
24
- <div class="pan-layout-left__bottom"></div>
24
+ <div class="pan-layout-left__middle">
25
+ {% if site.data.menu %}
26
+ <ul class="pan-layout-left__menu">
27
+ {% for menu in site.data.menu %}
28
+ <li data-menu-link="{{ menu.link }}">
29
+ <a href="{{ menu.link | relative_url }}">{{ menu.text }}</a>
30
+ </li>
31
+ {% endfor %}
32
+ </ul>
33
+ {% endif %}
34
+ </div>
35
+
36
+ <div class="pan-layout-left__bottom">
37
+ <div class="pan-layout-left__small">
38
+ <span>GET IN TOUCH</span>
39
+ </div>
40
+ <div class="pan-layout-left__social">
41
+ {% if site.data.social %}
42
+ <ul>
43
+ {% for social in site.data.social %}
44
+ {% if site.data.icons.social[social.name] %}
45
+ <li>
46
+ <a target="_blank" href="{{ social.link }}">
47
+ <i class="{{ site.data.icons.social[social.name] }}"></i>
48
+ </a>
49
+ </li>
50
+ {% endif %}
51
+ {% endfor %}
52
+ </ul>
53
+ {% endif %}
54
+ </div>
55
+ </div>
25
56
  </section>
@@ -7,7 +7,6 @@
7
7
 
8
8
  <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
9
9
  <link rel="stylesheet" href="/assets/libs/fontawesome-5.9.0/css/all.min.css" media="screen" type="text/css">
10
- <link rel="stylesheet" href="/assets/libs/jquery.mobile-1.4.5/jquery.mobile-1.4.5.min.css" media="screen" type="text/css">
11
10
 
12
11
  <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen" type="text/css">
13
12
  <!-- <link rel="stylesheet" href="{{ '/assets/css/print.css' | relative_url }}" media="print" type="text/css"> -->
@@ -40,7 +39,6 @@
40
39
  <script type="text/javascript" src="/assets/libs/jquery-3.4.1.min.js"></script>
41
40
  <script type="text/javascript" src="/assets/libs/jquery-migrate-3.0.1.min.js"></script>
42
41
  <script type="text/javascript" src="{{ '/assets/js/panthera-jekyll.js?v=' | append: site.github.build_revision | relative_url }}"></script>
43
- <script type="text/javascript" src="/assets/libs/jquery.mobile-1.4.5/jquery.mobile-1.4.5.min.js"></script>
44
42
 
45
43
  {% if site.google_analytics %}
46
44
  <script>
@@ -39,9 +39,61 @@
39
39
  height: var(--pan-layout-left-top-height);
40
40
  }
41
41
 
42
- &__bottom {
42
+ &__middle {
43
43
  top: var(--pan-layout-left-top-height);
44
+ bottom: var(--pan-layout-left-bottom-height);
45
+ border-top: var(--pan-layout-left-middle-border);
46
+ border-bottom: var(--pan-layout-left-middle-border);
47
+ overflow-y: auto;
48
+ overflow-x: visible;
49
+ }
50
+
51
+ &__bottom {
52
+ height: var(--pan-layout-left-bottom-height);
44
53
  bottom: 0px;
54
+
55
+ > * {
56
+ display: block;
57
+ position: absolute;
58
+ left: 10px;
59
+ right: 10px;
60
+ }
61
+ }
62
+
63
+ &__small {
64
+ top: 0px;
65
+ height: 20px;
66
+ font-size: .8rem;
67
+
68
+ > * {
69
+ @include v-center;
70
+ }
71
+ }
72
+
73
+ &__social {
74
+ top: 20px;
75
+ bottom: 0px;
76
+ overflow-x: auto;
77
+ overflow-y: hidden;
78
+ font-size: 1.4rem;
79
+ padding-top: 15px;
80
+
81
+ ul {
82
+ list-style: none;
83
+ display: table;
84
+ padding: 0px;
85
+ margin: 0px;
86
+
87
+ > li {
88
+ display: table-cell;
89
+ padding-right: 30px;
90
+ margin: 0px;
91
+
92
+ a {
93
+ color: #FFF;
94
+ }
95
+ }
96
+ }
45
97
  }
46
98
 
47
99
  &__avatar {
@@ -85,5 +137,33 @@
85
137
  font-weight: lighter;
86
138
  }
87
139
 
140
+ &__menu {
141
+ display: block;
142
+ list-style: none;
143
+ padding: 0px;
144
+ margin: 0px;
145
+
146
+ > li {
147
+ display: block;
148
+ padding: 0px;
149
+ margin: 0px;
150
+
151
+ &:hover {
152
+ background-color: rgba(255, 255, 255, .1);
153
+ }
154
+
155
+ &.active {
156
+ background-color: rgba(255, 255, 255, .3) !important;
157
+ }
158
+
159
+ > a {
160
+ display: block;
161
+ padding: 15px 15px 15px 30px;
162
+ color: #FFF !important;
163
+ text-decoration: none !important;
164
+ }
165
+ }
166
+ }
167
+
88
168
  }
89
169
 
data/_sass/main.scss CHANGED
@@ -6,6 +6,7 @@ html, body {
6
6
  color: #333;
7
7
  width: 100vw;
8
8
  height: 100vh;
9
+ overflow-x: hidden;
9
10
  }
10
11
 
11
12
  body {
@@ -52,6 +53,7 @@ h6 { font-size: .6rem; }
52
53
  left: 0px;
53
54
  width: 100vw;
54
55
  height: 100vh;
56
+ min-height: 500px;
55
57
  overflow: hidden;
56
58
 
57
59
  > * {
data/_sass/root/root.scss CHANGED
@@ -7,6 +7,8 @@
7
7
  --pan-layout-left-background-color: rgba(0, 122, 204, .7);
8
8
  --pan-layout-left-background-image: url(../images/left-background.jpg);
9
9
  --pan-layout-left-top-height: 300px;
10
+ --pan-layout-left-bottom-height: 70px;
11
+ --pan-layout-left-middle-border: 1px solid rgba(255, 255, 255, .3);
10
12
 
11
13
  --pan-layout-right-left: 0px;
12
14
  --pan-layout-right-right: 0px;
@@ -11,6 +11,12 @@ jQuery(document).ready(function () {
11
11
  $layout.removeClass('pan-menu-open');
12
12
  });
13
13
  })();
14
+
15
+ (function () {
16
+ var $path = document.location.pathname;
17
+ jQuery('[data-menu-link]').removeClass('active');
18
+ jQuery('[data-menu-link="' + $path + '"]').addClass('active');
19
+ })();
14
20
 
15
21
  });
16
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panthera-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Ezeani