minimal-music-project 0.0.1 → 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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/README.md +51 -20
  4. data/_config.yml +13 -20
  5. data/_data/menu.yml +17 -3
  6. data/_data/metaData.yml +2 -1
  7. data/_includes/common-head.html +8 -2
  8. data/_includes/common.js +5 -0
  9. data/_includes/cookies.js +8 -2
  10. data/_includes/customizationsScripts.html +7 -0
  11. data/_includes/customizationsStyles.html +7 -0
  12. data/_includes/discography-entry-metadata.html +80 -0
  13. data/_includes/discography-entry.html +25 -0
  14. data/_includes/menu.html +18 -18
  15. data/_includes/music-player.html +124 -0
  16. data/_includes/pagination-buttons.html +14 -0
  17. data/_includes/read-more.html +13 -0
  18. data/_layouts/default.html +9 -5
  19. data/_layouts/discography.html +13 -3
  20. data/_layouts/post.html +3 -4
  21. data/_layouts/posts_feed.html +43 -30
  22. data/_sass/styles/_cookies.scss +7 -7
  23. data/_sass/styles/_defaults.scss +58 -6
  24. data/_sass/styles/_discography.scss +43 -0
  25. data/_sass/styles/_index.scss +3 -1
  26. data/_sass/styles/_layout.scss +2 -2
  27. data/_sass/styles/_menu.scss +102 -18
  28. data/_sass/styles/_music-player.scss +92 -0
  29. data/_sass/styles/_post.scss +22 -9
  30. data/_sass/styles/_posts_feed.scss +26 -10
  31. data/_sass/variables/_colors.scss +2 -1
  32. data/_sass/variables/_layout.scss +2 -1
  33. data/_sass/variables/_mixins.scss +15 -7
  34. data/assets/audio/sample_song.mp3 +0 -0
  35. data/assets/img/Experimental-Glitches-Cover.png +0 -0
  36. data/assets/img/YyY-Cover.png +0 -0
  37. data/assets/img/z-is-for-zero.png +0 -0
  38. data/pages/about.html +48 -6
  39. metadata +16 -6
  40. data/_includes/avatar.html +0 -5
  41. data/_includes/customizations.html +0 -15
  42. data/pages/collaborations.html +0 -7
  43. data/pages/discography.html +0 -7
@@ -0,0 +1,43 @@
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
+ border: 1px solid #CCC;
11
+ max-width: 500px;
12
+ max-height: 500px;
13
+ &-wrapper {
14
+ display: block;
15
+ margin-right: 0.5em;
16
+ }
17
+ }
18
+ p, a {
19
+ font-size: 0.9em;
20
+ line-height: 1em;
21
+ font-weight: 300;
22
+ padding-bottom: 0.5em;
23
+ color: $p_text;
24
+ }
25
+ a {
26
+ @include underline-on-hover($p_text);
27
+ }
28
+ section {
29
+ width: 100%;
30
+ }
31
+
32
+ &_title {
33
+ margin-top: 3vw;
34
+ font-size: 2em;
35
+ margin-bottom: 0.6em;
36
+ @include underline-on-hover($p_text);
37
+ }
38
+
39
+ &_summary {
40
+ margin-bottom: 1em;
41
+ }
42
+ }
43
+ }
@@ -3,4 +3,6 @@
3
3
  @import './layout';
4
4
  @import './posts_feed';
5
5
  @import './post';
6
- @import './cookies';
6
+ @import './cookies';
7
+ @import './discography';
8
+ @import './music-player.scss';
@@ -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%;
@@ -13,37 +13,89 @@
13
13
  width: $menu-size;
14
14
  box-sizing: border-box;
15
15
  padding: 8px 0 0 22px;
16
+ overflow: hidden;
16
17
  @include mobile {
17
18
  flex-direction: row;
18
19
  width: 100%;
19
- height: $menu-size;
20
+ max-height: $mobile-menu-height;
20
21
  }
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
+ }
22
56
  &-top {
23
57
  box-sizing: border-box;
24
58
  height: 100%;
25
59
  flex-grow: 1;
26
- padding-left: 3px;
27
60
  padding-right: 3px;
28
- @include mobile {
29
- padding: 3px 10px 3px 10px;
30
- }
31
-
32
61
  &_logo {
33
62
  max-width: 100px;
63
+ margin-bottom: 1em;
34
64
  a {
35
65
  color: #000000;
36
66
  img {
37
- max-height: 100%;
67
+ max-height: 100px;
68
+ @include mobile {
69
+ max-height: calc(#{$mobile-menu-height} - 15px);
70
+ }
38
71
  width: auto;
39
72
  max-width: 100%;
40
73
  border: 0;
41
74
  }
42
75
  }
43
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
+ }
44
95
  }
45
- ul {
46
- li {
96
+ ul, ol, dl {
97
+ li, dt {
98
+ margin-left: 0;
47
99
  list-style: none;
48
100
  margin-bottom: 8px;
49
101
  margin-top: 8px;
@@ -55,24 +107,56 @@
55
107
  display: flex;
56
108
  font-weight: 400;
57
109
  letter-spacing: 3px;
58
-
110
+ font-size: 1em;
59
111
  &:hover {
60
- color: $black;
61
-
112
+ transition: all 0.3s ease-in-out 0s;
113
+ color: $p_light;
114
+ text-decoration: none;
62
115
  }
63
116
  &.selected {
64
117
  font-weight: 600;
65
118
  }
66
- @include mobile {
67
- height: calc(#{$menu-size} - 10px);
68
- width: $menu-size;
69
- font-size: 30px;
70
- }
71
119
 
72
120
  i {
73
121
  margin-right: 5px;
74
122
  }
123
+
124
+ span {
125
+ max-width: 100%;
126
+ hyphens: auto;
127
+ }
75
128
  }
76
129
  }
77
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
+
78
162
  }
@@ -0,0 +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
+ }
92
+
@@ -36,12 +36,12 @@
36
36
  display: list-item;
37
37
  }
38
38
 
39
- &-content {
39
+ & &-content, & &-metadata {
40
40
  background: $white;
41
- padding: 0.2em 2rem 2rem 2rem;
41
+ padding: 0.2em 2rem 1rem 2rem;
42
42
  border-radius: 10px;
43
43
  @include mobile {
44
- padding: 0.2em 1.2rem 1.2rem 1.2rem;
44
+ padding: 0.2em 1.2rem 0.6rem 1.2rem;
45
45
  }
46
46
  }
47
47
 
@@ -50,19 +50,28 @@
50
50
  h1 {
51
51
  padding: 0;
52
52
  line-height: 1em;
53
+ margin-bottom: 0.5em;
53
54
  }
54
55
  p {
55
56
  margin: 0;
56
57
  color: $p_text;
58
+ }
59
+ }
57
60
 
58
- &#{$root}-metadata {
59
- font-size: 0.7em;
60
- text-align: center;
61
- }
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
+ @include underline-on-hover($p_text);
62
71
  }
63
72
  }
64
73
 
65
- &-cover {
74
+ & &-cover {
66
75
  &_image {
67
76
  display: block;
68
77
  max-width: 100%;
@@ -70,8 +79,12 @@
70
79
  background-repeat: no-repeat;
71
80
  background-size: cover;
72
81
  height: auto;
73
- max-height: 84vh;
82
+ max-height: 65vh;
74
83
  margin: auto;
75
84
  }
76
85
  }
86
+
87
+ a {
88
+ font-size: 1em;
89
+ }
77
90
  }
@@ -1,24 +1,22 @@
1
1
  $image-dim: 192px;
2
2
 
3
3
  .post-feed {
4
- margin-top: 4em;
5
4
  display: flex;
6
5
  flex-direction: column;
7
6
  flex-wrap: wrap;
8
7
  justify-content: flex-start;
9
8
  align-items: flex-start;
10
9
  color: $p_text;
11
- article {
12
- width: 100%;
13
- }
14
10
  hr {
15
- margin-top: 2em;
16
- margin-bottom: 0.5em;
11
+ @include mobile {
12
+ &:first-of-type {
13
+ margin-top: 0;
14
+ }
15
+ }
17
16
  }
18
- .page-summary {
19
- flex: 0;
17
+ article {
20
18
  width: 100%;
21
- text-align: center;
19
+ position: relative;
22
20
  }
23
21
  h1 {
24
22
  flex: 0;
@@ -31,8 +29,15 @@ $image-dim: 192px;
31
29
  }
32
30
  a {
33
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;
34
37
  &:hover {
35
- text-decoration: underline $black;
38
+ text-decoration-color: $black;
39
+ -webkit-text-decoration-color: $black;
40
+ -moz-text-decoration-color: $black;
36
41
  }
37
42
  }
38
43
  .article-date {
@@ -46,6 +51,7 @@ $image-dim: 192px;
46
51
  width: max-content;
47
52
  margin: auto;
48
53
  margin-bottom: 0.5em;
54
+ max-width: 100%;
49
55
  }
50
56
 
51
57
  &_image {
@@ -54,4 +60,14 @@ $image-dim: 192px;
54
60
  border: 0;
55
61
  margin: auto;
56
62
  }
63
+
64
+
65
+ .discography-album {
66
+ &_title {
67
+ display: none;
68
+ }
69
+ &_summary {
70
+ margin-top: 3vw;;
71
+ }
72
+ }
57
73
  }