minimal-music-project 0.0.5 → 0.1.1

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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/404.html +11 -11
  3. data/LICENSE.txt +21 -21
  4. data/README.md +131 -74
  5. data/_config.yml +37 -38
  6. data/_data/customs.yml +2 -2
  7. data/_data/menu.yml +32 -32
  8. data/_data/metaData.yml +19 -6
  9. data/_includes/common-head.html +21 -21
  10. data/_includes/common.js +78 -0
  11. data/_includes/cookies.js +62 -28
  12. data/_includes/customizationsScripts.html +7 -0
  13. data/_includes/customizationsStyles.html +7 -0
  14. data/_includes/discography-entry-metadata.html +77 -80
  15. data/_includes/discography-entry.html +37 -24
  16. data/_includes/footer.html +9 -9
  17. data/_includes/menu.html +35 -30
  18. data/_includes/music-player.html +123 -122
  19. data/_includes/pagination-buttons.html +13 -13
  20. data/_includes/read-more.html +12 -11
  21. data/_layouts/cookies.html +29 -0
  22. data/_layouts/default.html +21 -17
  23. data/_layouts/discography.html +15 -15
  24. data/_layouts/post.html +34 -24
  25. data/_layouts/posts_feed.html +68 -55
  26. data/_sass/minimal-music-project.scss +1 -1
  27. data/_sass/styles/_cookies.scss +60 -52
  28. data/_sass/styles/_defaults.scss +165 -137
  29. data/_sass/styles/_discography.scss +41 -43
  30. data/_sass/styles/_embedded-player.scss +9 -0
  31. data/_sass/styles/_index.scss +10 -8
  32. data/_sass/styles/_layout.scss +49 -49
  33. data/_sass/styles/_menu.scss +161 -91
  34. data/_sass/styles/_modal.scss +23 -0
  35. data/_sass/styles/_music-player.scss +91 -91
  36. data/_sass/styles/_post.scss +94 -91
  37. data/_sass/styles/_posts_feed.scss +73 -58
  38. data/_sass/variables/_colors.scss +5 -4
  39. data/_sass/variables/_index.scss +2 -2
  40. data/_sass/variables/_layout.scss +27 -26
  41. data/_sass/variables/_mixins.scss +54 -46
  42. data/assets/img/300.png +0 -0
  43. data/assets/img/600.png +0 -0
  44. data/assets/img/browserconfig.xml +9 -9
  45. data/assets/img/safari-pinned-tab.svg +38 -38
  46. data/assets/img/site.webmanifest +19 -19
  47. data/assets/styles/styles.scss +7 -7
  48. data/pages/about.html +65 -36
  49. data/pages/cookies.html +9 -0
  50. data/pages/privacyPolicy.html +10 -0
  51. metadata +13 -4
  52. data/_includes/customizations.html +0 -15
@@ -1,92 +1,162 @@
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
-
18
- &-top {
19
- box-sizing: border-box;
20
- height: 100%;
21
- flex-grow: 1;
22
- padding-right: 3px;
23
-
24
- &_logo {
25
- max-width: 100px;
26
- margin-bottom: 1em;
27
- a {
28
- color: #000000;
29
- img {
30
- max-height: 100%;
31
- width: auto;
32
- max-width: 100%;
33
- border: 0;
34
- }
35
- }
36
- }
37
- }
38
- ul, ol, dl {
39
- li, dt {
40
- margin-left: 0;
41
- list-style: none;
42
- margin-bottom: 8px;
43
- margin-top: 8px;
44
-
45
- a {
46
- align-items: flex-start;
47
- color: $p_text;
48
- cursor: pointer;
49
- display: flex;
50
- font-weight: 400;
51
- letter-spacing: 3px;
52
- font-size: 1em;
53
- &:hover {
54
- color: $black;
55
-
56
- }
57
- &.selected {
58
- font-weight: 600;
59
- }
60
-
61
- i {
62
- margin-right: 5px;
63
- }
64
-
65
- span {
66
- max-width: 100%;
67
- hyphens: auto;
68
- }
69
- }
70
- }
71
- }
72
-
73
- &-contact {
74
- display:flex;
75
- justify-content:left;
76
- margin-bottom: 0.6em;
77
- flex-wrap: wrap;
78
- a {
79
- color: $p_text;
80
- cursor:pointer;
81
- text-align:left;
82
- text-size-adjust:100%;
83
- user-select:none;
84
- margin-left: 4px;
85
- margin-right: 4px;
86
- opacity: 60%;
87
- &:hover {
88
- opacity: 100%;
89
- }
90
- }
91
- }
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
+
92
162
  }
@@ -0,0 +1,23 @@
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
+ }
23
+ }
@@ -1,92 +1,92 @@
1
-
2
- .audio-player {
3
- height: 40px;
4
- width: 100%;
5
-
6
- color: white;
7
- font-size: 0.75em;
8
- overflow: hidden;
9
- display: grid;
10
- grid-template-rows: 8px auto;
11
-
12
- background: linear-gradient( #888, black);
13
- box-shadow: 0 0 0.5em 0 #666;
14
- margin-bottom: 1em;
15
-
16
- .timeline {
17
- background: rgb(139, 139, 139);
18
- box-shadow: 0 2px 8px 0 #0008;
19
- width: 100%;
20
- position: relative;
21
- cursor: pointer;
22
- .progress {
23
- background: rgb(52, 31, 247);;
24
- height: 100%;
25
- width: 0;
26
- transition: 0.2s;
27
- }
28
- }
29
-
30
- .controls {
31
- padding: 0 15px;
32
- display: flex;
33
- justify-content: space-between;
34
-
35
- > * {
36
- display: flex;
37
- align-items: center;
38
- }
39
-
40
- .play-controller {
41
- font-size: 1.4em;
42
- &:hover {
43
- text-shadow: 0 0 20px white;
44
- }
45
- }
46
- .time {
47
- display: flex;
48
-
49
- > * {
50
- padding: 2px;
51
- }
52
- }
53
- .volume-container {
54
- cursor: pointer;
55
- .volume-controller {
56
- height: 26px;
57
- width: 10px;
58
- display: flex;
59
- align-items: center;
60
- .volume {
61
- transform: scale(0.7);
62
- }
63
- }
64
-
65
- position: relative;
66
- z-index: 2;
67
- .volume-slider {
68
- position: absolute;
69
- left: -3px;
70
- top: 0;
71
- z-index: -1;
72
- width: 0;
73
- height: 100%;
74
- background: white;
75
- box-shadow: 0 0 20px #000a;
76
- transition: .25s;
77
- .volume-percentage {
78
- height: 100%;
79
- width: 75%;
80
- background: rgb(52, 31, 247);
81
- }
82
- }
83
- &:hover {
84
- .volume-slider {
85
- left: -123px;
86
- width: 120px;
87
- }
88
- }
89
- }
90
- }
91
- }
1
+
2
+ .audio-player {
3
+ height: 40px;
4
+ width: 100%;
5
+
6
+ color: white;
7
+ font-size: 0.75em;
8
+ overflow: hidden;
9
+ display: grid;
10
+ grid-template-rows: 8px auto;
11
+
12
+ background: linear-gradient( #888, black);
13
+ box-shadow: 0 0 0.5em 0 #666;
14
+ margin-bottom: 1em;
15
+
16
+ .timeline {
17
+ background: rgb(139, 139, 139);
18
+ box-shadow: 0 2px 8px 0 #0008;
19
+ width: 100%;
20
+ position: relative;
21
+ cursor: pointer;
22
+ .progress {
23
+ background: rgb(52, 31, 247);;
24
+ height: 100%;
25
+ width: 0;
26
+ transition: 0.2s;
27
+ }
28
+ }
29
+
30
+ .controls {
31
+ padding: 0 15px;
32
+ display: flex;
33
+ justify-content: space-between;
34
+
35
+ > * {
36
+ display: flex;
37
+ align-items: center;
38
+ }
39
+
40
+ .play-controller {
41
+ font-size: 1.4em;
42
+ &:hover {
43
+ text-shadow: 0 0 20px white;
44
+ }
45
+ }
46
+ .time {
47
+ display: flex;
48
+
49
+ > * {
50
+ padding: 2px;
51
+ }
52
+ }
53
+ .volume-container {
54
+ cursor: pointer;
55
+ .volume-controller {
56
+ height: 26px;
57
+ width: 10px;
58
+ display: flex;
59
+ align-items: center;
60
+ .volume {
61
+ transform: scale(0.7);
62
+ }
63
+ }
64
+
65
+ position: relative;
66
+ z-index: 2;
67
+ .volume-slider {
68
+ position: absolute;
69
+ left: -3px;
70
+ top: 0;
71
+ z-index: -1;
72
+ width: 0;
73
+ height: 100%;
74
+ background: white;
75
+ box-shadow: 0 0 20px #000a;
76
+ transition: .25s;
77
+ .volume-percentage {
78
+ height: 100%;
79
+ width: 75%;
80
+ background: rgb(52, 31, 247);
81
+ }
82
+ }
83
+ &:hover {
84
+ .volume-slider {
85
+ left: -123px;
86
+ width: 120px;
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
92
 
@@ -1,92 +1,95 @@
1
- .post {
2
- $root: &;
3
- font-size: 1.2em;
4
- color: black;
5
- @include hyperlink-convention();
6
- @include mobile{
7
- font-size: 1em;
8
- }
9
- figure {
10
- margin: 0;
11
- width: 100%;
12
- margin-top: 0.5em;
13
- margin-bottom: 0.5em;
14
- margin-left: -0.5em;
15
- margin-right: -0.5em;
16
- width: calc(100% + 1em);
17
- & > pre {
18
- overflow: auto;
19
- }
20
-
21
- }
22
- p, ul {
23
- margin-bottom: $gap * .5;
24
- margin-top: $gap * .5;
25
- }
26
- ul {
27
- display: block;
28
- list-style-type: disc;
29
- margin-block-start: 1em;
30
- margin-block-end: 1em;
31
- margin-inline-start: 0px;
32
- margin-inline-end: 0px;
33
- padding-inline-start: 40px;
34
- }
35
- li {
36
- display: list-item;
37
- }
38
-
39
- & &-content, & &-metadata {
40
- background: $white;
41
- padding: 0.2em 2rem 1rem 2rem;
42
- border-radius: 10px;
43
- @include mobile {
44
- padding: 0.2em 1.2rem 0.6rem 1.2rem;
45
- }
46
- }
47
-
48
- header {
49
- padding: 1em 0.5em 0.8em 0.5em;
50
- h1 {
51
- padding: 0;
52
- line-height: 1em;
53
- margin-bottom: 0.5em;
54
- }
55
- p {
56
- margin: 0;
57
- color: $p_text;
58
- }
59
- }
60
-
61
- & &-metadata {
62
- text-align: left;
63
- p {
64
- font-size: 1em;
65
- margin-top: 5px;
66
- margin-bottom: 5px;
67
- }
68
- a {
69
- color: $p_text;
70
- &:hover {
71
- text-decoration: underline $p_text;
72
- }
73
- }
74
- }
75
-
76
- & &-cover {
77
- &_image {
78
- display: block;
79
- max-width: 100%;
80
- width: auto;
81
- background-repeat: no-repeat;
82
- background-size: cover;
83
- height: auto;
84
- max-height: 65vh;
85
- margin: auto;
86
- }
87
- }
88
-
89
- a {
90
- font-size: 1em;
91
- }
1
+ .post {
2
+ $root: &;
3
+ font-size: 1.2em;
4
+ color: black;
5
+ @include hyperlink-convention();
6
+ @include mobile{
7
+ font-size: 1em;
8
+ }
9
+ .post-cover {
10
+ img {
11
+ min-width: 90px;
12
+ min-height: 90px;
13
+ }
14
+ }
15
+ figure {
16
+ margin: 0;
17
+ margin-top: 0.5em;
18
+ margin-bottom: 0.5em;
19
+ margin-left: -0.5em;
20
+ margin-right: -0.5em;
21
+ width: calc(100% + 1em);
22
+ & > pre {
23
+ overflow: auto;
24
+ }
25
+
26
+ }
27
+ p, ul {
28
+ margin-bottom: $gap * .5;
29
+ margin-top: $gap * .5;
30
+ }
31
+ ul {
32
+ display: block;
33
+ list-style-type: disc;
34
+ margin-block-start: 1em;
35
+ margin-block-end: 1em;
36
+ margin-inline-start: 0px;
37
+ margin-inline-end: 0px;
38
+ padding-inline-start: 40px;
39
+ }
40
+ li {
41
+ display: list-item;
42
+ }
43
+
44
+ & &-content, & &-metadata {
45
+ background: $white;
46
+ padding: 0.2em 2rem 1rem 2rem;
47
+ border-radius: 10px;
48
+ @include mobile {
49
+ padding: 0.2em 1.2rem 0.6rem 1.2rem;
50
+ }
51
+ }
52
+
53
+ header {
54
+ padding: 1em 0.5em 0.8em 0.5em;
55
+ h1 {
56
+ padding: 0;
57
+ line-height: 1em;
58
+ margin-bottom: 0.5em;
59
+ }
60
+ p {
61
+ margin: 0;
62
+ color: $p_text;
63
+ }
64
+ }
65
+
66
+ & &-metadata {
67
+ text-align: left;
68
+ p {
69
+ font-size: 1em;
70
+ margin-top: 5px;
71
+ margin-bottom: 5px;
72
+ }
73
+ a {
74
+ color: $p_text;
75
+ @include underline-on-hover($p_text);
76
+ }
77
+ }
78
+
79
+ & &-cover {
80
+ &_image {
81
+ display: block;
82
+ max-width: 100%;
83
+ width: auto;
84
+ background-repeat: no-repeat;
85
+ background-size: cover;
86
+ height: auto;
87
+ max-height: 65vh;
88
+ margin: auto;
89
+ }
90
+ }
91
+
92
+ a {
93
+ font-size: 1em;
94
+ }
92
95
  }