minimal-music-project 0.1.3 → 0.1.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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/404.html +11 -11
  3. data/LICENSE.txt +21 -21
  4. data/README.md +142 -142
  5. data/_config.yml +38 -38
  6. data/_data/customs.yml +2 -2
  7. data/_data/menu.yml +32 -32
  8. data/_data/metaData.yml +20 -20
  9. data/_includes/common-head.html +22 -22
  10. data/_includes/common.js +95 -95
  11. data/_includes/cookies.js +63 -63
  12. data/_includes/customizationsScripts.html +6 -6
  13. data/_includes/customizationsStyles.html +6 -6
  14. data/_includes/discography-entry-metadata.html +77 -77
  15. data/_includes/discography-entry.html +41 -43
  16. data/_includes/footer.html +9 -9
  17. data/_includes/menu.html +35 -35
  18. data/_includes/music-player.html +123 -123
  19. data/_includes/pagination-buttons.html +13 -13
  20. data/_includes/read-more.html +12 -12
  21. data/_layouts/cookies.html +29 -29
  22. data/_layouts/default.html +21 -21
  23. data/_layouts/discography.html +15 -15
  24. data/_layouts/post.html +34 -34
  25. data/_layouts/posts_feed.html +72 -72
  26. data/_sass/minimal-music-project.scss +1 -1
  27. data/_sass/styles/_cookies.scss +60 -60
  28. data/_sass/styles/_defaults.scss +164 -164
  29. data/_sass/styles/_discography.scss +77 -54
  30. data/_sass/styles/_embedded-player.scss +8 -8
  31. data/_sass/styles/_index.scss +9 -9
  32. data/_sass/styles/_layout.scss +49 -49
  33. data/_sass/styles/_menu.scss +177 -177
  34. data/_sass/styles/_modal.scss +29 -29
  35. data/_sass/styles/_music-player.scss +91 -91
  36. data/_sass/styles/_post.scss +94 -94
  37. data/_sass/styles/_posts_feed.scss +77 -74
  38. data/_sass/variables/_colors.scss +4 -4
  39. data/_sass/variables/_index.scss +2 -2
  40. data/_sass/variables/_layout.scss +27 -27
  41. data/_sass/variables/_mixins.scss +54 -54
  42. data/assets/img/browserconfig.xml +9 -9
  43. data/assets/img/safari-pinned-tab.svg +38 -38
  44. data/assets/img/site.webmanifest +19 -19
  45. data/assets/styles/styles.scss +7 -7
  46. data/pages/about.html +65 -65
  47. data/pages/cookies.html +9 -9
  48. data/pages/privacyPolicy.html +9 -9
  49. metadata +4 -4
@@ -1,73 +1,73 @@
1
- ---
2
- layout: default
3
- category: home
4
- ---
5
- <div class="content-container">
6
- <div class="post-feed">
7
- {{ content }}
8
- {% for post in paginator.posts %}
9
- {% if post.categories contains page.category %}
10
- <hr>
11
- <article>
12
- <header>
13
- <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
14
- <h2>
15
- {% if post.external_url %}
16
- <a href="{{ post.external_url | relative_url }}" target="_blank">
17
- {% else %}
18
- <a href="{{ post.url | relative_url }}">
19
- {% endif %}
20
- {{ post.title }}
21
- </a>
22
- </h2>
23
- </header>
24
- <section>
25
- <figure>
26
- <div class="click-to-enlarge">
27
- <img
28
- click-to-enlarge
29
- {% if post.image_alt %}
30
- alt="{{ post.image_alt }}"
31
- {% endif %}
32
- class="post-feed_image"
33
- src="{{ post.image | relative_url }}"
34
- {% if post.responsiveImage %}
35
- srcset="{% for img in post.responsiveImage %}{{ img.src | relative_url }} {{ img.size }}w{% if forloop.last == false %},{% endif %}{% endfor %}"
36
- sizes="30vw"
37
- {% endif %}
38
- />
39
- </div>
40
- </figure>
41
- <p>
42
- {% if post.description %}
43
- {{ post.description }}
44
- {% else %}
45
- {{ post.excerpt | strip_html }}
46
- {% endif %}
47
- </p>
48
- </section>
49
- {% include read-more.html currPost=post %}
50
- </article>
51
- {% else %}
52
- <hr>
53
- <article>
54
- <header>
55
- <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
56
- <h2>
57
- {% if post.external_url %}
58
- <a href="{{ post.external_url | relative_url }}" target="_blank">
59
- {% else %}
60
- <a href="{{ post.url | relative_url }}">
61
- {% endif %}
62
- New release: {{ post.title }}
63
- </a>
64
- </h2>
65
- </header>
66
- {% include discography-entry.html currPost=post %}
67
- </article>
68
-
69
- {% endif %}
70
- {% endfor %}
71
- {% include pagination-buttons.html %}
72
- </div>
1
+ ---
2
+ layout: default
3
+ category: home
4
+ ---
5
+ <div class="content-container">
6
+ <div class="post-feed">
7
+ {{ content }}
8
+ {% for post in paginator.posts %}
9
+ {% if post.categories contains page.category %}
10
+ <hr>
11
+ <article>
12
+ <header>
13
+ <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
14
+ <h2>
15
+ {% if post.external_url %}
16
+ <a href="{{ post.external_url | relative_url }}" target="_blank">
17
+ {% else %}
18
+ <a href="{{ post.url | relative_url }}">
19
+ {% endif %}
20
+ {{ post.title }}
21
+ </a>
22
+ </h2>
23
+ </header>
24
+ <section>
25
+ <figure>
26
+ <div class="click-to-enlarge">
27
+ <img
28
+ click-to-enlarge
29
+ {% if post.image_alt %}
30
+ alt="{{ post.image_alt }}"
31
+ {% endif %}
32
+ class="post-feed_image"
33
+ src="{{ post.image | relative_url }}"
34
+ {% if post.responsiveImage %}
35
+ srcset="{% for img in post.responsiveImage %}{{ img.src | relative_url }} {{ img.size }}w{% if forloop.last == false %},{% endif %}{% endfor %}"
36
+ sizes="30vw"
37
+ {% endif %}
38
+ />
39
+ </div>
40
+ </figure>
41
+ <p>
42
+ {% if post.description %}
43
+ {{ post.description }}
44
+ {% else %}
45
+ {{ post.excerpt | strip_html }}
46
+ {% endif %}
47
+ </p>
48
+ </section>
49
+ {% include read-more.html currPost=post %}
50
+ </article>
51
+ {% else %}
52
+ <hr>
53
+ <article>
54
+ <header>
55
+ <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
56
+ <h2>
57
+ {% if post.external_url %}
58
+ <a href="{{ post.external_url | relative_url }}" target="_blank">
59
+ {% else %}
60
+ <a href="{{ post.url | relative_url }}">
61
+ {% endif %}
62
+ New release: {{ post.title }}
63
+ </a>
64
+ </h2>
65
+ </header>
66
+ {% include discography-entry.html currPost=post %}
67
+ </article>
68
+
69
+ {% endif %}
70
+ {% endfor %}
71
+ {% include pagination-buttons.html %}
72
+ </div>
73
73
  </div>
@@ -1,2 +1,2 @@
1
- @import './variables/_index.scss';
1
+ @import './variables/_index.scss';
2
2
  @import './styles/_index.scss';
@@ -1,61 +1,61 @@
1
- .cookie-container {
2
- position: fixed;
3
- padding: 20px 15px;
4
- z-index: $pop-ups-z-1;
5
- background-image: radial-gradient(farthest-corner at 25% 0, $white, $white);
6
- box-shadow: 0 0 6px 0 $black;
7
- text-align: center;
8
- opacity: 0.95;
9
- -webkit-transition: opacity 800ms, visibility 800ms;
10
- transition: opacity 800ms, visibility 800ms;
11
- bottom: 40px;
12
- left: 50px;
13
- max-width: 40vw;
14
- border-radius: 3px;
15
- border: 3px solid $black;
16
-
17
- p {
18
- color: $p_text;
19
- line-height: 1.6em;
20
- margin-bottom: 10px;
21
- }
22
- &.hidden {
23
- opacity: 0;
24
- visibility: hidden;
25
- }
26
- &--buttons {
27
- display: flex;
28
- button {
29
- line-height: 1.4;
30
- font-weight: 700;
31
- display: inline-block;
32
- padding: 10px 20px;
33
- background-color: $white;
34
- color: $p_text;
35
- border: 1px solid;
36
- border-radius: 3px;
37
- text-decoration: none;
38
- cursor: pointer;
39
- -webkit-transition: background-color 200ms;
40
- transition: background-color 200ms;
41
- &:hover {
42
- background-color: rgb(168, 168, 168);
43
- }
44
- width: calc(50% - 10px);
45
- &:last-of-type {
46
- margin-left: 10px;
47
- }
48
- }
49
-
50
- }
51
- @include mobile {
52
- bottom: 0;
53
- left: 0;
54
- width: 100%;
55
- max-width: 100%;
56
- padding: 12px 10px;
57
- border-left: 0;
58
- border-right: 0;
59
- border-bottom: 0;
60
- }
1
+ .cookie-container {
2
+ position: fixed;
3
+ padding: 20px 15px;
4
+ z-index: $pop-ups-z-1;
5
+ background-image: radial-gradient(farthest-corner at 25% 0, $white, $white);
6
+ box-shadow: 0 0 6px 0 $black;
7
+ text-align: center;
8
+ opacity: 0.95;
9
+ -webkit-transition: opacity 800ms, visibility 800ms;
10
+ transition: opacity 800ms, visibility 800ms;
11
+ bottom: 40px;
12
+ left: 50px;
13
+ max-width: 40vw;
14
+ border-radius: 3px;
15
+ border: 3px solid $black;
16
+
17
+ p {
18
+ color: $p_text;
19
+ line-height: 1.6em;
20
+ margin-bottom: 10px;
21
+ }
22
+ &.hidden {
23
+ opacity: 0;
24
+ visibility: hidden;
25
+ }
26
+ &--buttons {
27
+ display: flex;
28
+ button {
29
+ line-height: 1.4;
30
+ font-weight: 700;
31
+ display: inline-block;
32
+ padding: 10px 20px;
33
+ background-color: $white;
34
+ color: $p_text;
35
+ border: 1px solid;
36
+ border-radius: 3px;
37
+ text-decoration: none;
38
+ cursor: pointer;
39
+ -webkit-transition: background-color 200ms;
40
+ transition: background-color 200ms;
41
+ &:hover {
42
+ background-color: rgb(168, 168, 168);
43
+ }
44
+ width: calc(50% - 10px);
45
+ &:last-of-type {
46
+ margin-left: 10px;
47
+ }
48
+ }
49
+
50
+ }
51
+ @include mobile {
52
+ bottom: 0;
53
+ left: 0;
54
+ width: 100%;
55
+ max-width: 100%;
56
+ padding: 12px 10px;
57
+ border-left: 0;
58
+ border-right: 0;
59
+ border-bottom: 0;
60
+ }
61
61
  }
@@ -1,164 +1,164 @@
1
- h1 {
2
- text-transform: uppercase;
3
- font-weight: 700;
4
- text-rendering: optimizeLegibility;
5
- color: $black;
6
- text-align: center;
7
- font-size: 2.5em;
8
- letter-spacing: -1px;
9
- padding: 0.5em;
10
- }
11
-
12
- h2, h3 a {
13
- font-weight: 500;
14
- font-size: 1.4em;
15
- line-height: 1.4em;
16
- color: $black;
17
- }
18
-
19
- * {
20
- padding: 0;
21
- margin: 0;
22
- box-sizing: border-box;
23
- line-height: 1.7em;
24
- }
25
- body {
26
- font-size: 16px;
27
- color: $white;
28
- font-family: 'Jost',Arial,sans-serif;
29
- -webkit-font-smoothing: antialiased;
30
- }
31
- main {
32
- .content-container {
33
- margin: 3.5em auto 0 0;
34
- width: 90%;
35
- padding: 0px 18px 24px;
36
- flex-grow: 1;
37
- position: relative;
38
- p, li {
39
- @include hyperlink-convention();
40
- }
41
- .content-separator {
42
- margin: $gap auto;
43
- color: $p_text;
44
- width: 100%;
45
- &:last-child {
46
- margin: $gap auto 0 auto;
47
- }
48
- }
49
- fieldset {
50
- border: none;
51
- padding: 0;
52
- margin-bottom: 1em;
53
- }
54
- }
55
-
56
- .pager {
57
- margin-top: 40px;
58
- height: 60px;
59
- width: 100%;
60
- li {
61
- position: absolute;
62
- display: inline;
63
- padding: 8px;
64
- margin: 10px;
65
- &.previous {
66
- left: 0;
67
- }
68
- &.next {
69
- right: 0;
70
- }
71
- & > a {
72
- color: $p_text;
73
- @include underline-on-hover($black);
74
- }
75
- }
76
- }
77
- }
78
-
79
- a {
80
- text-decoration-line: none;
81
- color: inherit;
82
- transition: all 0.4s ease-in-out 0s;
83
- }
84
- a, p, li {
85
- font-size: 1.1em;
86
- }
87
-
88
- li {
89
- margin-left: 1em;
90
- }
91
-
92
- hr {
93
- margin-top: 2em;
94
- margin-bottom: 2em;
95
- width: 100%;
96
- }
97
-
98
- img {
99
- max-width: 100%;
100
- height: auto;
101
- display: inline-block;
102
- margin: 0;
103
- vertical-align: top;
104
- object-fit: cover;
105
- }
106
-
107
- .click-to-enlarge {
108
- cursor: zoom-in;
109
- box-shadow: 0 0px 3px rgba(0,0,0,0.3);
110
- position: relative;
111
- width: fit-content;
112
- width: -moz-fit-content;
113
- margin: auto;
114
-
115
- &::after {
116
- content: '';
117
- position: absolute;
118
- left: 0;
119
- top: 0;
120
- width: 100%;
121
- height: 100%;
122
- opacity: 0;
123
- box-shadow: 0 0 12px black;
124
- opacity: 0;
125
- transition: opacity 0.3s ease-in-out;
126
- }
127
- &:hover::after {
128
- opacity: 1;
129
- }
130
- }
131
-
132
- @include mobile {
133
- body {
134
- font-size: 15px;
135
- }
136
- h1 {
137
- font-size: 2em;
138
- }
139
- main {
140
- .content-container {
141
- width: 100%;
142
- padding: 0px 9px 12px;
143
- margin-top: 0;
144
- }
145
- }
146
- }
147
-
148
- audio {
149
- max-width: 100%;
150
- }
151
-
152
- .read-more {
153
- position: absolute;
154
- right: 10px;
155
- bottom: -2em;
156
- line-height: 1em;
157
- font-weight: 300;
158
- padding-bottom: 0.5em;
159
- color: #000000;
160
- a {
161
- font-size: 0.9em;
162
- @include underline-on-hover($black);
163
- }
164
- }
1
+ h1 {
2
+ text-transform: uppercase;
3
+ font-weight: 700;
4
+ text-rendering: optimizeLegibility;
5
+ color: $black;
6
+ text-align: center;
7
+ font-size: 2.5em;
8
+ letter-spacing: -1px;
9
+ padding: 0.5em;
10
+ }
11
+
12
+ h2, h3 a {
13
+ font-weight: 500;
14
+ font-size: 1.4em;
15
+ line-height: 1.4em;
16
+ color: $black;
17
+ }
18
+
19
+ * {
20
+ padding: 0;
21
+ margin: 0;
22
+ box-sizing: border-box;
23
+ line-height: 1.7em;
24
+ }
25
+ body {
26
+ font-size: 16px;
27
+ color: $white;
28
+ font-family: 'Jost',Arial,sans-serif;
29
+ -webkit-font-smoothing: antialiased;
30
+ }
31
+ main {
32
+ .content-container {
33
+ margin: 3.5em auto 0 0;
34
+ width: 90%;
35
+ padding: 0px 18px 24px;
36
+ flex-grow: 1;
37
+ position: relative;
38
+ p, li {
39
+ @include hyperlink-convention();
40
+ }
41
+ .content-separator {
42
+ margin: $gap auto;
43
+ color: $p_text;
44
+ width: 100%;
45
+ &:last-child {
46
+ margin: $gap auto 0 auto;
47
+ }
48
+ }
49
+ fieldset {
50
+ border: none;
51
+ padding: 0;
52
+ margin-bottom: 1em;
53
+ }
54
+ }
55
+
56
+ .pager {
57
+ margin-top: 40px;
58
+ height: 60px;
59
+ width: 100%;
60
+ li {
61
+ position: absolute;
62
+ display: inline;
63
+ padding: 8px;
64
+ margin: 10px;
65
+ &.previous {
66
+ left: 0;
67
+ }
68
+ &.next {
69
+ right: 0;
70
+ }
71
+ & > a {
72
+ color: $p_text;
73
+ @include underline-on-hover($black);
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ a {
80
+ text-decoration-line: none;
81
+ color: inherit;
82
+ transition: all 0.4s ease-in-out 0s;
83
+ }
84
+ a, p, li {
85
+ font-size: 1.1em;
86
+ }
87
+
88
+ li {
89
+ margin-left: 1em;
90
+ }
91
+
92
+ hr {
93
+ margin-top: 2em;
94
+ margin-bottom: 2em;
95
+ width: 100%;
96
+ }
97
+
98
+ img {
99
+ max-width: 100%;
100
+ height: auto;
101
+ display: inline-block;
102
+ margin: 0;
103
+ vertical-align: top;
104
+ object-fit: cover;
105
+ }
106
+
107
+ .click-to-enlarge {
108
+ cursor: zoom-in;
109
+ box-shadow: 0 0px 3px rgba(0,0,0,0.3);
110
+ position: relative;
111
+ width: fit-content;
112
+ width: -moz-fit-content;
113
+ margin: auto;
114
+
115
+ &::after {
116
+ content: '';
117
+ position: absolute;
118
+ left: 0;
119
+ top: 0;
120
+ width: 100%;
121
+ height: 100%;
122
+ opacity: 0;
123
+ box-shadow: 0 0 12px black;
124
+ opacity: 0;
125
+ transition: opacity 0.3s ease-in-out;
126
+ }
127
+ &:hover::after {
128
+ opacity: 1;
129
+ }
130
+ }
131
+
132
+ @include mobile {
133
+ body {
134
+ font-size: 15px;
135
+ }
136
+ h1 {
137
+ font-size: 2em;
138
+ }
139
+ main {
140
+ .content-container {
141
+ width: 100%;
142
+ padding: 0px 9px 12px;
143
+ margin-top: 0;
144
+ }
145
+ }
146
+ }
147
+
148
+ audio {
149
+ max-width: 100%;
150
+ }
151
+
152
+ .read-more {
153
+ position: absolute;
154
+ right: 10px;
155
+ bottom: -2em;
156
+ line-height: 1em;
157
+ font-weight: 300;
158
+ padding-bottom: 0.5em;
159
+ color: #000000;
160
+ a {
161
+ font-size: 0.9em;
162
+ @include underline-on-hover($black);
163
+ }
164
+ }