minimal-music-project 0.1.1 → 0.1.4

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 -131
  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 -19
  9. data/_includes/common-head.html +22 -22
  10. data/_includes/common.js +95 -77
  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 +42 -37
  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 -28
  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 -68
  26. data/_sass/minimal-music-project.scss +1 -1
  27. data/_sass/styles/_cookies.scss +60 -60
  28. data/_sass/styles/_defaults.scss +164 -165
  29. data/_sass/styles/_discography.scss +74 -42
  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 -161
  34. data/_sass/styles/_modal.scss +29 -22
  35. data/_sass/styles/_music-player.scss +91 -91
  36. data/_sass/styles/_post.scss +94 -94
  37. data/_sass/styles/_posts_feed.scss +73 -73
  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,42 +1,74 @@
1
- .discography, .post-feed {
2
- max-width: 100%;
3
- & &-album {
4
- display: flex;
5
- flex-direction: row;
6
- position: relative;
7
- &_cover {
8
- width: 20vw;
9
- height: 20vw;
10
- max-width: 500px;
11
- max-height: 500px;
12
- &-wrapper {
13
- display: block;
14
- margin-right: 0.5em;
15
- }
16
- }
17
- p, a {
18
- font-size: 0.9em;
19
- line-height: 1em;
20
- font-weight: 300;
21
- padding-bottom: 0.5em;
22
- color: $p_text;
23
- }
24
- a {
25
- @include underline-on-hover($p_text);
26
- }
27
- section {
28
- width: 100%;
29
- }
30
-
31
- &_title {
32
- margin-top: 3vw;
33
- font-size: 2em;
34
- margin-bottom: 0.6em;
35
- @include underline-on-hover($p_text);
36
- }
37
-
38
- &_summary {
39
- padding-bottom: 0.5em;
40
- }
41
- }
42
- }
1
+ .discography,
2
+ .post-feed {
3
+ max-width: 100%;
4
+
5
+ & &-album {
6
+ display: flex;
7
+ flex-direction: row;
8
+ position: relative;
9
+
10
+ @include mobile {
11
+ flex-direction: column;
12
+ }
13
+
14
+ &_cover {
15
+ width: 20vw;
16
+ height: 20vw;
17
+ max-width: 500px;
18
+ max-height: 500px;
19
+
20
+ &-wrapper {
21
+ display: block;
22
+ margin-right: 0.5em;
23
+
24
+ @include mobile {
25
+ margin: 0;
26
+ width: 100%;
27
+ }
28
+ }
29
+
30
+ img {
31
+ max-height: 20vw;
32
+ }
33
+
34
+ @include mobile {
35
+ width: 40vw;
36
+ height: 40vw;
37
+ margin: auto;
38
+
39
+ img {
40
+ width: 40vw;
41
+ height: 40vw;
42
+ max-height: 40vw;
43
+ }
44
+ }
45
+ }
46
+
47
+ p,
48
+ a {
49
+ font-size: 0.9em;
50
+ line-height: 1em;
51
+ font-weight: 300;
52
+ padding-bottom: 0.5em;
53
+ color: $p_text;
54
+ }
55
+
56
+ a {
57
+ @include underline-on-hover($p_text);
58
+ }
59
+
60
+ section {
61
+ width: 100%;
62
+ }
63
+
64
+ &_title {
65
+ margin-top: 3vw;
66
+ font-size: 2em;
67
+ margin-bottom: 0.6em;
68
+ }
69
+
70
+ &_summary {
71
+ padding-bottom: 0.5em;
72
+ }
73
+ }
74
+ }
@@ -1,9 +1,9 @@
1
- .embedded-player {
2
- width: 100%;
3
- max-width: 600px;
4
- outline: none;
5
- border: none;
6
- &.hidden {
7
- visibility: hidden;
8
- }
1
+ .embedded-player {
2
+ width: 100%;
3
+ max-width: 600px;
4
+ outline: none;
5
+ border: none;
6
+ &.hidden {
7
+ visibility: hidden;
8
+ }
9
9
  }
@@ -1,10 +1,10 @@
1
- @import './defaults';
2
- @import './menu';
3
- @import './layout';
4
- @import './posts_feed';
5
- @import './post';
6
- @import './cookies';
7
- @import './discography';
8
- @import './music-player';
9
- @import './modal';
1
+ @import './defaults';
2
+ @import './menu';
3
+ @import './layout';
4
+ @import './posts_feed';
5
+ @import './post';
6
+ @import './cookies';
7
+ @import './discography';
8
+ @import './music-player';
9
+ @import './modal';
10
10
  @import './embedded-player';
@@ -1,50 +1,50 @@
1
- main {
2
- background-color: $white;
3
- color: black;
4
- float: right;
5
- width: $content-width-desktop;
6
- min-height: 300px;
7
- margin: auto;
8
- display: flex;
9
- flex-direction: column;
10
- height: 100%;
11
- overflow-y: auto;
12
- position: fixed;
13
- left: $menu-size;
14
- top: 0;
15
- @include mobile {
16
- top: $mobile-menu-height;
17
- left: 0;
18
- width: 100%;
19
- height: calc(100% - #{$mobile-menu-height});
20
- }
21
- &.no-menu {
22
- width: 100%;
23
- left: 0;
24
- top: 0;
25
- }
26
- }
27
- footer {
28
- width: 100%;
29
- text-align: center;
30
- color:$p_text;
31
- display: flex;
32
- justify-content: center;
33
- font-size: 0.7em;
34
- p {
35
- margin: 0;
36
- }
37
- }
38
-
39
- .is-minimal-menu {
40
- main {
41
- width: $content-width-desktop-minimal-menu;
42
- left: $minimal-menu-size;
43
- @include mobile {
44
- top: $minimal-menu-size;
45
- left: 0;
46
- width: 100%;
47
- height: calc(100% - #{$minimal-menu-size});
48
- }
49
- }
1
+ main {
2
+ background-color: $white;
3
+ color: black;
4
+ float: right;
5
+ width: $content-width-desktop;
6
+ min-height: 300px;
7
+ margin: auto;
8
+ display: flex;
9
+ flex-direction: column;
10
+ height: 100%;
11
+ overflow-y: auto;
12
+ position: fixed;
13
+ left: $menu-size;
14
+ top: 0;
15
+ @include mobile {
16
+ top: $mobile-menu-height;
17
+ left: 0;
18
+ width: 100%;
19
+ height: calc(100% - #{$mobile-menu-height});
20
+ }
21
+ &.no-menu {
22
+ width: 100%;
23
+ left: 0;
24
+ top: 0;
25
+ }
26
+ }
27
+ footer {
28
+ width: 100%;
29
+ text-align: center;
30
+ color:$p_text;
31
+ display: flex;
32
+ justify-content: center;
33
+ font-size: 0.7em;
34
+ p {
35
+ margin: 0;
36
+ }
37
+ }
38
+
39
+ .is-minimal-menu {
40
+ main {
41
+ width: $content-width-desktop-minimal-menu;
42
+ left: $minimal-menu-size;
43
+ @include mobile {
44
+ top: $minimal-menu-size;
45
+ left: 0;
46
+ width: 100%;
47
+ height: calc(100% - #{$minimal-menu-size});
48
+ }
49
+ }
50
50
  }
@@ -1,162 +1,178 @@
1
- .menu {
2
- $root: &;
3
- background-color: $white;
4
- position: fixed;
5
- left: 0;
6
- top: 0;
7
-
8
- display: flex;
9
- flex-direction: column;
10
- height: 100%;
11
- overflow-y: auto;
12
- float: left;
13
- width: $menu-size;
14
- box-sizing: border-box;
15
- padding: 8px 0 0 22px;
16
- overflow: hidden;
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
- }
56
- &-top {
57
- box-sizing: border-box;
58
- height: 100%;
59
- flex-grow: 1;
60
- padding-right: 3px;
61
- &_logo {
62
- max-width: 100px;
63
- margin-bottom: 1em;
64
- a {
65
- color: #000000;
66
- img {
67
- max-height: 100px;
68
- @include mobile {
69
- max-height: calc(#{$mobile-menu-height} - 15px);
70
- }
71
- width: auto;
72
- max-width: 100%;
73
- border: 0;
74
- }
75
- }
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
- }
95
- }
96
- ul, ol, dl {
97
- li, dt {
98
- margin-left: 0;
99
- list-style: none;
100
- margin-bottom: 8px;
101
- margin-top: 8px;
102
-
103
- a {
104
- align-items: flex-start;
105
- color: $p_text;
106
- cursor: pointer;
107
- display: flex;
108
- font-weight: 400;
109
- letter-spacing: 3px;
110
- font-size: 1em;
111
- &:hover {
112
- transition: all 0.3s ease-in-out 0s;
113
- color: $p_light;
114
- text-decoration: none;
115
- }
116
- &.selected {
117
- font-weight: 600;
118
- }
119
-
120
- i {
121
- margin-right: 5px;
122
- }
123
-
124
- span {
125
- max-width: 100%;
126
- hyphens: auto;
127
- }
128
- }
129
- }
130
- }
131
-
132
- .navigation {
133
- @include mobile {
134
- display: none;
135
- }
136
- }
137
-
138
- &-contact {
139
- display:flex;
140
- justify-content:left;
141
- margin-bottom: 0.6em;
142
- flex-wrap: wrap;
143
- @include mobile {
144
- display: none;
145
- }
146
- a {
147
- color: $p_text;
148
- cursor:pointer;
149
- text-align:left;
150
- text-size-adjust:100%;
151
- user-select:none;
152
- margin-left: 4px;
153
- margin-right: 4px;
154
- opacity: 60%;
155
- &:hover {
156
- opacity: 100%;
157
- }
158
- }
159
- }
160
-
161
-
1
+ .menu {
2
+ $root: &;
3
+ background-color: $white;
4
+ position: fixed;
5
+ left: 0;
6
+ top: 0;
7
+
8
+ display: flex;
9
+ flex-direction: column;
10
+ height: 100%;
11
+ overflow-y: auto;
12
+ float: left;
13
+ width: $menu-size;
14
+ box-sizing: border-box;
15
+ padding: 8px 0 0 22px;
16
+ overflow: hidden;
17
+ @include mobile {
18
+ flex-direction: row;
19
+ width: 100%;
20
+ max-height: $mobile-menu-height;
21
+ }
22
+ &.expanded--visible {
23
+ @include mobile {
24
+ .navigation {
25
+ opacity: 1;
26
+ }
27
+ .menu-contact {
28
+ opacity: 1;
29
+ }
30
+ }
31
+ }
32
+ &.expanded {
33
+ z-index: 10;
34
+ .menu-top_expand {
35
+ .bar_top {
36
+ -webkit-transform: rotate(-45deg) translate(-8px, 8px);
37
+ transform: rotate(-45deg) translate(-8px, 8px);
38
+ }
39
+
40
+ .bar_middle {opacity: 0;}
41
+
42
+ .bar_bottom {
43
+ -webkit-transform: rotate(45deg) translate(-8px, -8px);
44
+ transform: rotate(45deg) translate(-8px, -8px);
45
+ }
46
+ }
47
+ @include mobile {
48
+ .navigation {
49
+ display: block;
50
+ }
51
+ .menu-contact {
52
+ display: flex;
53
+ position: fixed;
54
+ bottom: 0.5em;
55
+ left: 1em;
56
+ }
57
+ }
58
+
59
+ }
60
+ &-top {
61
+ box-sizing: border-box;
62
+ height: 100%;
63
+ flex-grow: 1;
64
+ padding-right: 3px;
65
+ &_logo {
66
+ max-width: 100px;
67
+ margin-bottom: 1em;
68
+ a {
69
+ color: #000000;
70
+ img {
71
+ max-height: 100px;
72
+ @include mobile {
73
+ max-height: calc(#{$mobile-menu-height} - 15px);
74
+ }
75
+ width: auto;
76
+ max-width: 100%;
77
+ border: 0;
78
+ object-fit: contain;
79
+ }
80
+ }
81
+ }
82
+ &_expand {
83
+ display: none;
84
+ @include mobile {
85
+ display: inline-block;
86
+ }
87
+ cursor: pointer;
88
+ flex-grow: 0;
89
+ position: absolute;
90
+ right: 10px;
91
+ top: 15px;
92
+ .bar_top, .bar_middle, .bar_bottom {
93
+ width: 35px;
94
+ height: 5px;
95
+ background-color: #333;
96
+ margin: 6px 0;
97
+ transition: 0.4s;
98
+ }
99
+ }
100
+ }
101
+ ul, ol, dl {
102
+ li, dt {
103
+ margin-left: 0;
104
+ list-style: none;
105
+ margin-bottom: 8px;
106
+ margin-top: 8px;
107
+
108
+ a {
109
+ align-items: flex-start;
110
+ color: $p_text;
111
+ cursor: pointer;
112
+ display: flex;
113
+ font-weight: 400;
114
+ letter-spacing: 3px;
115
+ font-size: 1em;
116
+ &:hover {
117
+ transition: all 0.3s ease-in-out 0s;
118
+ color: $p_light;
119
+ text-decoration: none;
120
+ }
121
+ &.selected {
122
+ font-weight: 600;
123
+ }
124
+
125
+ i {
126
+ margin-right: 5px;
127
+ }
128
+
129
+ span {
130
+ max-width: 100%;
131
+ hyphens: auto;
132
+ }
133
+ }
134
+ }
135
+ }
136
+
137
+ .navigation {
138
+ transition: opacity 0.3s ease-in-out;
139
+ @include mobile {
140
+ display: none;
141
+ opacity: 0;
142
+ position: fixed;
143
+ left: 0;
144
+ top: $mobile-menu-height;
145
+ height: calc(100% - #{$mobile-menu-height});
146
+ width: 100%;
147
+ background-color: $white;
148
+ padding-left: 2em;
149
+ }
150
+ }
151
+
152
+ &-contact {
153
+ display:flex;
154
+ justify-content:left;
155
+ margin-bottom: 0.6em;
156
+ flex-wrap: wrap;
157
+ transition: opacity 0.3s ease-in-out;
158
+ @include mobile {
159
+ display: none;
160
+ opacity: 0;
161
+ }
162
+ a {
163
+ color: $p_text;
164
+ cursor:pointer;
165
+ text-align:left;
166
+ text-size-adjust:100%;
167
+ user-select:none;
168
+ margin-left: 4px;
169
+ margin-right: 4px;
170
+ opacity: 60%;
171
+ &:hover {
172
+ opacity: 100%;
173
+ }
174
+ }
175
+ }
176
+
177
+
162
178
  }
@@ -1,23 +1,30 @@
1
- .modal {
2
- &__picture-zoomed {
3
- background-color: rgba(0,0,0,0.5);
4
- background-position: center;
5
- background-repeat: no-repeat;
6
- background-size: auto;
7
- width: 100%;
8
- height: 100%;
9
- position: fixed;
10
- z-index: 10000;
11
- top: 0;
12
- left: 0;
13
- cursor: zoom-out;
14
- transition: opacity 0.2s ease-in-out;
15
- opacity: 1;
16
- @include mobile {
17
- background-size: contain;
18
- }
19
- &.hidden {
20
- opacity: 0;
21
- }
22
- }
1
+ .modal {
2
+ &__picture-zoomed {
3
+ background-color: rgba(0,0,0,0.5);
4
+ background-position: center;
5
+ background-repeat: no-repeat;
6
+ background-size: auto;
7
+ width: 100%;
8
+ height: 100%;
9
+ position: fixed;
10
+ z-index: 10000;
11
+ top: 0;
12
+ left: 0;
13
+ cursor: zoom-out;
14
+ transition: opacity 0.3s ease-in-out;
15
+ opacity: 1;
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ @include mobile {
20
+ background-size: contain;
21
+ }
22
+ &--image {
23
+ max-height: 96vh;
24
+ max-width: 96vw;
25
+ }
26
+ &.hidden {
27
+ opacity: 0;
28
+ }
29
+ }
23
30
  }