minimal-music-project 0.0.5 → 0.0.6

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: 0b6f3663269b348a682ee95fcda38edb6cb52b797c4a42e8324f7c172361a949
4
- data.tar.gz: c22f41a5ab93269a59ac0150824d1cf48e1de16357761fd35eb508e93ccfef33
3
+ metadata.gz: be9a010e0f48570412378b9081c7c98b679fdb3e0d0e299aece41f8569865007
4
+ data.tar.gz: 2c241be3e8f4c5f6ae116701b997914d6acefcf3e31ed81327a68e51d1eb2951
5
5
  SHA512:
6
- metadata.gz: c6df3a006391eea0b2eb2b71cc68bc140c3422e2274207c93e4103e000a5ec7ff880b091fbd742f89a4ad19167ee3f7a499fef6e7c860cd01a16a4a8166a1baa
7
- data.tar.gz: 78f4cce66af76346a6f2005871ae20bfa318511eb197fc74a9e29f8930c6c374254dfb254a3e2bbdf0b346bb9fbe6c955aee6d15687e8bb2232596306580c310
6
+ metadata.gz: 9ee664db5a3b579113ca4e3d1920a21d6ca24be6656633a51defafd1baca182cc6c3ad673890e65ea4c1493cab8847e5aba32648ae696c57fbed4ab9d4468dc1
7
+ data.tar.gz: 717caff78c28277d289d3973d5cc4e841c0c2604b5e98fca92532a50410273772f37f3a60f9da2c7021ca60fb4f415fa6afcf5e5351f653665f62b399fca60a1
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Patryk Bieszke
3
+ Copyright (c) 2021 Patryk Bieszke
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,40 +1,56 @@
1
1
  # [minimal-music-project Jekyll theme](https://github.com/ItsMeaga1n/minimal-music-project/)
2
2
 
3
- [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
3
+ [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/itsmeaga1n/minimal-music-project/master/LICENSE.txt)
4
4
  [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.9-blue.svg)](https://jekyllrb.com/)
5
5
  [![Gem Version](https://badge.fury.io/rb/minimal-music-project.svg)](https://badge.fury.io/rb/minimal-music-project)
6
+ <a href="https://ko-fi.com/itsmeaga1n">
7
+ <img height="20" src="https://www.ko-fi.com/img/githubbutton_sm.svg"
8
+ alt="Donate (Ko-fi)" />
9
+ </a>
6
10
 
7
- minimal-music-project is a flexible Jekyll theme, designed for sites with content easily aggregated into categories. Demo is available [here](https://itsmeaga1n.github.io/minimal-music-project/).
11
+ minimal-music-project is a flexible, extendable Jekyll theme. With this theme it's plain simple to create a good looking website for a music band with all the required components to list all releases and news. Demo is available [here](https://minimal-music-project.netlify.app/).
8
12
 
9
13
  ![layout examples](screenshot.png)
10
14
 
11
15
  ## Installation
12
16
 
13
- Add this line to your Jekyll site's `Gemfile`:
17
+ There are three ways to install:
14
18
 
15
- ```ruby
16
- gem "minimal-music-project"
17
- ```
19
+ * As a ruby gem theme:
18
20
 
19
- And add this line to your Jekyll site's `_config.yml`:
21
+ Add this line to your Jekyll site's `Gemfile`:
20
22
 
21
- ```yaml
22
- theme: minimal-music-project
23
- ```
23
+ ```ruby
24
+ gem "minimal-categorized"
25
+ ```
24
26
 
25
- And then execute:
27
+ And add this line to your Jekyll site's `_config.yml`:
26
28
 
27
- $ bundle
29
+ ```yaml
30
+ theme: minimal-categorized
31
+ ```
28
32
 
29
- Or install it yourself as:
33
+ And then execute:
30
34
 
31
- $ gem install minimal-music-project
35
+ $ bundle
32
36
 
33
- ## Usage
37
+ Or install it yourself as:
38
+
39
+ $ gem install minimal-categorized
40
+
41
+ * As a remote theme (GitHub Pages compatible)
42
+
43
+ In your Jekyll site's _config.yml remove other themes and add this entry:
44
+ ```
45
+ remote_theme: ItsMeaga1n/minimal-categorized
46
+ ```
47
+
48
+ * Forking/directly copying all of the theme files into your project.
34
49
 
35
- This theme is based on separating content into categories, which is later shown on separated sites designated to the specific content type.
50
+ ## Usage
51
+ This theme uses pager plugin `jekyll-paginate-v2` for pagination and `jekyll-seo-tag` for seo tags. It can be configured in main _config file.
36
52
 
37
- As for now, theme allows to use two main categories that will be displayed on home screen and more categories displayed only in menu to further separate content. Those are defined in `_data/menu.yml`.
53
+ Configuration via .yml files
38
54
 
39
55
  Structure of `_data/menu.yml`:
40
56
  * menu_pages: a list of items in menu. Each item contains information:
@@ -42,14 +58,21 @@ Structure of `_data/menu.yml`:
42
58
  * url: URL for href
43
59
  * category: unique identifier of category. Used to determine which menu item is selected
44
60
  * tooltip: Tooltip for menu item
61
+ * menu_contacts: a list of items to be displayed for a contact section in menu
62
+ * faicon: FavIcon to be displayed in menu
63
+ * url: URL for href
64
+ * target: target value of \<a> tag
65
+
45
66
 
46
67
  Structure of `_data/metaData.yml`:
47
68
  * author: Site Author name
48
- * logo: URL for logo image (displayed on top of menu)
69
+ * logo: relative url to the logo
49
70
  * cookies: customize information about site cookies
50
71
  * enabled: determine if should show cookies pop-up
51
72
  * message: text on cookie pop-up
52
73
  * agreeButtonText: text on agree button
74
+ * agreeButtonFnName: function in the `window` scope to execute on cookie agree
75
+
53
76
 
54
77
  Structure of `_data/customs.yml`:
55
78
  * custom-css: a list of urls to custom css files
data/_config.yml CHANGED
@@ -5,7 +5,6 @@ description: >-
5
5
  This website was created as a demonstration for Jekyll custom theme
6
6
  named minimal-music-project. Its main feature is to make it easy to create
7
7
  websites for music projects
8
- baseurl: "/minimal-music-project" # the subpath of your site, e.g. /blog
9
8
  url: "https://itsmeaga1n.github.io" # the base hostname & protocol for your site, e.g. http://example.com
10
9
  author: itsmeaga1n
11
10
  twitter:
data/_data/metaData.yml CHANGED
@@ -3,4 +3,5 @@ logo: assets/img/band_logo.png
3
3
  cookies:
4
4
  enabled: True
5
5
  message: This site might be using cookies! Customize your message or disable cookies in metaData.yml!
6
- agreeButtonText: Agree
6
+ agreeButtonText: Agree
7
+ agreeButtonFnName: console.log
@@ -18,5 +18,5 @@
18
18
  <!-- feed -->
19
19
  <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "feed.xml" | relative_url }}">
20
20
 
21
- {% include customizations.html %}
21
+ {% include customizationsStyles.html %}
22
22
  {% seo %}
@@ -0,0 +1,5 @@
1
+ (function () {
2
+ window.toggleExpander = function toggleExpander(x) {
3
+ document.getElementsByClassName("menu")[0].classList.toggle("expanded");
4
+ }
5
+ })();
data/_includes/cookies.js CHANGED
@@ -2,10 +2,10 @@
2
2
  const consentPropName = "cookies_consent";
3
3
  const storageType = localStorage;
4
4
 
5
- shouldShowCookieConsent = () => !storageType.getItem(consentPropName);
5
+ areCookiesAccepted = () => storageType.getItem(consentPropName);
6
6
  acceptCookieConsent = () => storageType.setItem(consentPropName, true);
7
7
  window.addEventListener("load", () => {
8
- if(!shouldShowCookieConsent()) {
8
+ if(areCookiesAccepted()) {
9
9
  return;
10
10
  }
11
11
  const cookieContainer = document.createElement("div");
@@ -19,6 +19,12 @@
19
19
  acceptCookieConsent();
20
20
  cookieContainer.classList.add("hidden");
21
21
  window.setTimeout(cookieContainer.remove.bind(cookieContainer), 1000);
22
+ window.setTimeout(cookieContainer.remove.bind(cookieContainer), 1000);
23
+ try {
24
+ {{ site.data.metaData.cookies.agreeButtonFnName }}();
25
+ } catch(e) {
26
+ console.error(e);
27
+ }
22
28
  }
23
29
  cookieParagraph.append(cookieContent);
24
30
  cookieContainer.append(cookieParagraph, cookieAgreeButton);
@@ -0,0 +1,7 @@
1
+ {% for javascript in page.custom-js %}
2
+ <script src="{{ javascript | relative_url }}"></script>
3
+ {% endfor %}
4
+
5
+ {% for javascript in site.data.customs.custom-js %}
6
+ <script src="{{ javascript | relative_url }}"></script>
7
+ {% endfor %}
@@ -0,0 +1,7 @@
1
+ {% for css in page.custom-css %}
2
+ <link href="{{ css | relative_url }}" rel="stylesheet">
3
+ {% endfor %}
4
+
5
+ {% for css in site.data.customs.custom-css %}
6
+ <link href="{{ css | relative_url }}" rel="stylesheet">
7
+ {% endfor %}
@@ -66,7 +66,7 @@
66
66
  <iframe width="100%" height="110" scrolling="no" frameborder="no" allow="autoplay"
67
67
  src="{{ include.currPost.play_soundcloud_embed.src }}"></iframe>
68
68
  <div
69
- style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;">
69
+ style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;">
70
70
  <a href="{{ include.currPost.play_soundcloud_embed.artist_href }}" title="{{ include.currPost.play_soundcloud_embed.artist_title }}" target="_blank"
71
71
  style="color: #cccccc; text-decoration: none;">{{ include.currPost.play_soundcloud_embed.artist_title }}</a> · <a
72
72
  href="{{ include.currPost.play_soundcloud_embed.song_href }}"
data/_includes/menu.html CHANGED
@@ -5,6 +5,11 @@
5
5
  <img src="{{ site.data.metaData.logo | relative_url }}" alt="Logo" onerror="this.style.display='none'">
6
6
  </a>
7
7
  </div>
8
+ <div class="menu-top_expand" onclick="toggleExpander(this)">
9
+ <div class="bar_top"></div>
10
+ <div class="bar_middle"></div>
11
+ <div class="bar_bottom"></div>
12
+ </div>
8
13
  <ul class="navigation">
9
14
  {% for menu_item in site.data.menu.menu_pages %}
10
15
  <li>
@@ -26,6 +26,11 @@
26
26
  </div>
27
27
 
28
28
  <script>
29
+ // Copyright (c) 2021 by EmNudge (https://codepen.io/EmNudge/pen/rRbLJQ)
30
+ // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
31
+ // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
32
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
+
29
34
  const audioPlayer = document.getElementById("{{ include.audioData.src }}");
30
35
  const audio = new Audio(
31
36
  {% if include.audioData.is_relative_url %}
@@ -102,11 +107,7 @@
102
107
  volumeEl.classList.add("fa-volume-up");
103
108
  }
104
109
  });
105
-
106
110
 
107
- /**
108
- * turn 128 seconds into 2:08
109
- **/
110
111
  function getTimeCodeFromNum(num) {
111
112
  let seconds = parseInt(num);
112
113
  let minutes = parseInt(seconds / 60);
@@ -3,7 +3,8 @@
3
3
  <a href="{{ include.currPost.external_url | relative_url }}" target="_blank">
4
4
  {% else %}
5
5
  <a href="{{ include.currPost.url | relative_url }}">
6
- {% endif %} {% if include.currPost.external_name %}
6
+ {% endif %}
7
+ {% if include.currPost.external_name %}
7
8
  Read more on {{ include.currPost.external_name }} &rarr;
8
9
  {% else %}
9
10
  More info &rarr;
@@ -1,11 +1,6 @@
1
1
  <!doctype html>
2
2
  <html>
3
3
  <head>
4
- {% if site.data.metaData.cookies.enabled %}
5
- <script>
6
- {% include cookies.js %}
7
- </script>
8
- {% endif %}
9
4
  {% include common-head.html %}
10
5
  </head>
11
6
  <body>
@@ -14,5 +9,14 @@
14
9
  {{ content }}
15
10
  {% include footer.html %}
16
11
  </main>
12
+ {% if site.data.metaData.cookies.enabled %}
13
+ <script>
14
+ {% include cookies.js %}
15
+ </script>
16
+ {% endif %}
17
+ <script>
18
+ {% include common.js %}
19
+ </script>
20
+ {% include customizationsScripts.html %}
17
21
  </body>
18
22
  </html>
@@ -29,7 +29,7 @@ category: home
29
29
  {{ post.description }}
30
30
  </p>
31
31
  </section>
32
- {% include read-more.html currPost=include.currPost %}
32
+ {% include read-more.html currPost=post %}
33
33
  </article>
34
34
  {% else %}
35
35
  <hr>
@@ -8,9 +8,9 @@
8
8
  opacity: 0.95;
9
9
  -webkit-transition: opacity 800ms, visibility 800ms;
10
10
  transition: opacity 800ms, visibility 800ms;
11
- bottom: 30px;
12
- left: 40px;
13
- max-width: 300px;
11
+ bottom: 40px;
12
+ left: 50px;
13
+ max-width: 40vw;
14
14
  border-radius: 3px;
15
15
  border: 3px solid $black;
16
16
 
@@ -30,7 +30,7 @@ body {
30
30
  }
31
31
  main {
32
32
  .content-container {
33
- margin: 3.5em auto 0 auto;
33
+ margin: 3.5em auto 0 0;
34
34
  width: 90%;
35
35
  padding: 0px 18px 24px;
36
36
  flex-grow: 1;
@@ -65,19 +65,17 @@ main {
65
65
  }
66
66
  & > a {
67
67
  color: $p_text;
68
- &:hover {
69
- text-decoration: underline $black;
70
- }
68
+ @include underline-on-hover($black);
71
69
  }
72
70
  }
73
71
  }
74
72
  }
73
+
75
74
  a {
76
75
  text-decoration-line: none;
77
76
  color: inherit;
78
77
  transition: all 0.4s ease-in-out 0s;
79
78
  }
80
-
81
79
  a, p, li {
82
80
  font-size: 1.1em;
83
81
  }
@@ -112,6 +110,7 @@ img {
112
110
  .content-container {
113
111
  width: 100%;
114
112
  padding: 0px 9px 12px;
113
+ margin-top: 0;
115
114
  }
116
115
  }
117
116
  }
@@ -130,8 +129,6 @@ audio {
130
129
  color: #000000;
131
130
  a {
132
131
  font-size: 0.9em;
133
- &:hover {
134
- text-decoration: underline;
135
- }
132
+ @include underline-on-hover($black);
136
133
  }
137
134
  }
@@ -9,6 +9,7 @@
9
9
  height: 20vw;
10
10
  border: 1px solid #CCC;
11
11
  max-width: 500px;
12
+ max-height: 500px;
12
13
  &-wrapper {
13
14
  display: block;
14
15
  margin-right: 0.5em;
@@ -21,8 +22,8 @@
21
22
  padding-bottom: 0.5em;
22
23
  color: $p_text;
23
24
  }
24
- a:hover {
25
- text-decoration: underline $p_text;
25
+ a {
26
+ @include underline-on-hover($p_text);
26
27
  }
27
28
  section {
28
29
  width: 100%;
@@ -32,9 +33,7 @@
32
33
  margin-top: 3vw;
33
34
  font-size: 2em;
34
35
  margin-bottom: 0.6em;
35
- &:hover {
36
- text-decoration: underline;
37
- }
36
+ @include underline-on-hover($p_text);
38
37
  }
39
38
 
40
39
  &_summary {
@@ -13,10 +13,10 @@ main {
13
13
  left: $menu-size;
14
14
  top: 0;
15
15
  @include mobile {
16
- top: $menu-size;
16
+ top: $mobile-menu-height;
17
17
  left: 0;
18
18
  width: 100%;
19
- height: calc(100% - #{$menu-size});
19
+ height: calc(100% - #{$mobile-menu-height});
20
20
  }
21
21
  &.no-menu {
22
22
  width: 100%;
@@ -14,26 +14,84 @@
14
14
  box-sizing: border-box;
15
15
  padding: 8px 0 0 22px;
16
16
  overflow: hidden;
17
-
17
+ @include mobile {
18
+ flex-direction: row;
19
+ width: 100%;
20
+ max-height: $mobile-menu-height;
21
+ }
22
+ &.expanded {
23
+ z-index: 10;
24
+ .menu-top_expand {
25
+ .bar_top {
26
+ -webkit-transform: rotate(-45deg) translate(-8px, 8px);
27
+ transform: rotate(-45deg) translate(-8px, 8px);
28
+ }
29
+
30
+ .bar_middle {opacity: 0;}
31
+
32
+ .bar_bottom {
33
+ -webkit-transform: rotate(45deg) translate(-8px, -8px);
34
+ transform: rotate(45deg) translate(-8px, -8px);
35
+ }
36
+ }
37
+ .navigation {
38
+ @include mobile {
39
+ display: block;
40
+ position: fixed;
41
+ left: 0;
42
+ top: $mobile-menu-height;
43
+ height: calc(100% - #{$mobile-menu-height});
44
+ width: 100%;
45
+ background-color: $white;
46
+ padding-left: 2em;
47
+ }
48
+ }
49
+ .menu-contact {
50
+ display: flex;
51
+ position: fixed;
52
+ bottom: 0.5em;
53
+ left: 1em;
54
+ }
55
+ }
18
56
  &-top {
19
57
  box-sizing: border-box;
20
58
  height: 100%;
21
59
  flex-grow: 1;
22
60
  padding-right: 3px;
23
-
24
61
  &_logo {
25
62
  max-width: 100px;
26
63
  margin-bottom: 1em;
27
64
  a {
28
65
  color: #000000;
29
66
  img {
30
- max-height: 100%;
67
+ max-height: 100px;
68
+ @include mobile {
69
+ max-height: calc(#{$mobile-menu-height} - 15px);
70
+ }
31
71
  width: auto;
32
72
  max-width: 100%;
33
73
  border: 0;
34
74
  }
35
75
  }
36
76
  }
77
+ &_expand {
78
+ display: none;
79
+ @include mobile {
80
+ display: inline-block;
81
+ }
82
+ cursor: pointer;
83
+ flex-grow: 0;
84
+ position: absolute;
85
+ right: 10px;
86
+ top: 15px;
87
+ .bar_top, .bar_middle, .bar_bottom {
88
+ width: 35px;
89
+ height: 5px;
90
+ background-color: #333;
91
+ margin: 6px 0;
92
+ transition: 0.4s;
93
+ }
94
+ }
37
95
  }
38
96
  ul, ol, dl {
39
97
  li, dt {
@@ -51,8 +109,9 @@
51
109
  letter-spacing: 3px;
52
110
  font-size: 1em;
53
111
  &:hover {
54
- color: $black;
55
-
112
+ transition: all 0.3s ease-in-out 0s;
113
+ color: $p_light;
114
+ text-decoration: none;
56
115
  }
57
116
  &.selected {
58
117
  font-weight: 600;
@@ -70,11 +129,20 @@
70
129
  }
71
130
  }
72
131
 
132
+ .navigation {
133
+ @include mobile {
134
+ display: none;
135
+ }
136
+ }
137
+
73
138
  &-contact {
74
139
  display:flex;
75
140
  justify-content:left;
76
141
  margin-bottom: 0.6em;
77
142
  flex-wrap: wrap;
143
+ @include mobile {
144
+ display: none;
145
+ }
78
146
  a {
79
147
  color: $p_text;
80
148
  cursor:pointer;
@@ -89,4 +157,6 @@
89
157
  }
90
158
  }
91
159
  }
160
+
161
+
92
162
  }
@@ -67,9 +67,7 @@
67
67
  }
68
68
  a {
69
69
  color: $p_text;
70
- &:hover {
71
- text-decoration: underline $p_text;
72
- }
70
+ @include underline-on-hover($p_text);
73
71
  }
74
72
  }
75
73
 
@@ -7,6 +7,13 @@ $image-dim: 192px;
7
7
  justify-content: flex-start;
8
8
  align-items: flex-start;
9
9
  color: $p_text;
10
+ hr {
11
+ @include mobile {
12
+ &:first-of-type {
13
+ margin-top: 0;
14
+ }
15
+ }
16
+ }
10
17
  article {
11
18
  width: 100%;
12
19
  position: relative;
@@ -22,8 +29,15 @@ $image-dim: 192px;
22
29
  }
23
30
  a {
24
31
  line-height: 1.1em;
32
+ text-decoration: underline;
33
+ text-decoration-color: transparent;
34
+ transition: 0.4s;
35
+ -webkit-text-decoration-color: transparent;
36
+ -moz-text-decoration-color: transparent;
25
37
  &:hover {
26
- text-decoration: underline $black;
38
+ text-decoration-color: $black;
39
+ -webkit-text-decoration-color: $black;
40
+ -moz-text-decoration-color: $black;
27
41
  }
28
42
  }
29
43
  .article-date {
@@ -1,4 +1,5 @@
1
1
  $black: #000000;
2
2
  $white: #FFF;
3
- $hyperlink: #2d00a8;
3
+ $hyperlink: #290099;
4
4
  $p_text: #000000;
5
+ $p_light: #888888;
@@ -1,6 +1,7 @@
1
1
  $tablet-width: 768px;
2
2
  $desktop-width: 1024px;
3
- $menu-size: 200px;
3
+ $menu-size: 240px;
4
+ $mobile-menu-height: 75px;
4
5
  $minimal-menu-size: 50px;
5
6
  $gap: 30px;
6
7
  $pop-ups-z-1: 100;
@@ -1,3 +1,16 @@
1
+ @mixin underline-on-hover($underline-color) {
2
+ text-decoration: underline;
3
+ text-decoration-color: transparent;
4
+ transition: 0.4s;
5
+ -webkit-text-decoration-color: transparent;
6
+ -moz-text-decoration-color: transparent;
7
+ &:hover {
8
+ text-decoration-color: $underline-color;
9
+ -webkit-text-decoration-color: $underline-color;
10
+ -moz-text-decoration-color: $underline-color;
11
+ }
12
+ }
13
+
1
14
  @mixin tooltip {
2
15
  position: relative;
3
16
  &:hover .tooltip {
@@ -35,13 +48,8 @@
35
48
 
36
49
  @mixin hyperlink-convention {
37
50
  a {
38
- transition: all 300ms ease 0s;
39
51
  cursor: pointer;
40
- text-decoration-line: none;
52
+ @include underline-on-hover($hyperlink);
41
53
  color: $hyperlink;
42
- &:hover {
43
- text-decoration: underline $hyperlink;
44
-
45
- }
46
54
  }
47
55
  }
data/pages/about.html CHANGED
@@ -7,7 +7,7 @@ category: about
7
7
  ---
8
8
  <div class="content-container about">
9
9
  <h1>About</h1>
10
- It's a good place to write something about the project!
10
+ It's a good place to write something about the project. This projects repository is located on <a href="https://github.com/ItsMeaga1n/minimal-music-project" target="_blank">GitHub</a>. Since you are here, feel free to check out my other stuff either on <a href="https://github.com/ItsMeaga1n" target="_blank">GitHub</a> or on my <a href="http://itsmeaga1n.github.io" target="_blank">blog</a>!
11
11
 
12
12
  <hr />
13
13
  <p>
@@ -33,4 +33,22 @@ category: about
33
33
  </li>
34
34
  </ul>
35
35
  </p>
36
- </div>
36
+ </div>
37
+
38
+ <style>
39
+ a {
40
+ text-decoration: underline;
41
+ text-decoration-color: transparent;
42
+ transition: 0.4s;
43
+ -webkit-text-decoration-color: transparent;
44
+ -moz-text-decoration-color: transparent;
45
+ cursor: pointer;
46
+ color: #290099;
47
+ }
48
+ a:hover {
49
+ text-decoration-color: #290099;
50
+ transition: 0.4s;
51
+ -webkit-text-decoration-color: #290099;
52
+ -moz-text-decoration-color: #290099;
53
+ }
54
+ </style>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal-music-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patryk Bieszke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-18 00:00:00.000000000 Z
11
+ date: 2021-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -39,8 +39,10 @@ files:
39
39
  - _data/menu.yml
40
40
  - _data/metaData.yml
41
41
  - _includes/common-head.html
42
+ - _includes/common.js
42
43
  - _includes/cookies.js
43
- - _includes/customizations.html
44
+ - _includes/customizationsScripts.html
45
+ - _includes/customizationsStyles.html
44
46
  - _includes/discography-entry-metadata.html
45
47
  - _includes/discography-entry.html
46
48
  - _includes/footer.html
@@ -1,15 +0,0 @@
1
- {% for javascript in page.custom-js %}
2
- <script src="{{ javascript | relative_url }}"></script>
3
- {% endfor %}
4
-
5
- {% for javascript in site.data.customs.custom-js %}
6
- <script src="{{ javascript | relative_url }}"></script>
7
- {% endfor %}
8
-
9
- {% for css in page.custom-css %}
10
- <link href="{{ css | relative_url }}" rel="stylesheet">
11
- {% endfor %}
12
-
13
- {% for css in site.data.customs.custom-css %}
14
- <link href="{{ css | relative_url }}" rel="stylesheet">
15
- {% endfor %}