minimal-music-project 0.1.3 → 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.
- checksums.yaml +4 -4
- data/404.html +11 -11
- data/LICENSE.txt +21 -21
- data/README.md +142 -142
- data/_config.yml +38 -38
- data/_data/customs.yml +2 -2
- data/_data/menu.yml +32 -32
- data/_data/metaData.yml +20 -20
- data/_includes/common-head.html +22 -22
- data/_includes/common.js +95 -95
- data/_includes/cookies.js +63 -63
- data/_includes/customizationsScripts.html +6 -6
- data/_includes/customizationsStyles.html +6 -6
- data/_includes/discography-entry-metadata.html +77 -77
- data/_includes/discography-entry.html +42 -42
- data/_includes/footer.html +9 -9
- data/_includes/menu.html +35 -35
- data/_includes/music-player.html +123 -123
- data/_includes/pagination-buttons.html +13 -13
- data/_includes/read-more.html +12 -12
- data/_layouts/cookies.html +29 -29
- data/_layouts/default.html +21 -21
- data/_layouts/discography.html +15 -15
- data/_layouts/post.html +34 -34
- data/_layouts/posts_feed.html +72 -72
- data/_sass/minimal-music-project.scss +1 -1
- data/_sass/styles/_cookies.scss +60 -60
- data/_sass/styles/_defaults.scss +164 -164
- data/_sass/styles/_discography.scss +74 -54
- data/_sass/styles/_embedded-player.scss +8 -8
- data/_sass/styles/_index.scss +9 -9
- data/_sass/styles/_layout.scss +49 -49
- data/_sass/styles/_menu.scss +177 -177
- data/_sass/styles/_modal.scss +29 -29
- data/_sass/styles/_music-player.scss +91 -91
- data/_sass/styles/_post.scss +94 -94
- data/_sass/styles/_posts_feed.scss +73 -73
- data/_sass/variables/_colors.scss +4 -4
- data/_sass/variables/_index.scss +2 -2
- data/_sass/variables/_layout.scss +27 -27
- data/_sass/variables/_mixins.scss +54 -54
- data/assets/img/browserconfig.xml +9 -9
- data/assets/img/safari-pinned-tab.svg +38 -38
- data/assets/img/site.webmanifest +19 -19
- data/assets/styles/styles.scss +7 -7
- data/pages/about.html +65 -65
- data/pages/cookies.html +9 -9
- data/pages/privacyPolicy.html +9 -9
- metadata +4 -4
@@ -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
|
|
data/_sass/styles/_post.scss
CHANGED
@@ -1,95 +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
|
-
.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
|
-
}
|
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
|
+
}
|
95
95
|
}
|
@@ -1,74 +1,74 @@
|
|
1
|
-
$image-dim: 192px;
|
2
|
-
|
3
|
-
.post-feed {
|
4
|
-
display: flex;
|
5
|
-
flex-direction: column;
|
6
|
-
flex-wrap: wrap;
|
7
|
-
justify-content: flex-start;
|
8
|
-
align-items: flex-start;
|
9
|
-
color: $p_text;
|
10
|
-
hr {
|
11
|
-
margin-bottom: 0.25em;
|
12
|
-
@include mobile {
|
13
|
-
&:first-of-type {
|
14
|
-
margin-top: 0;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
article {
|
19
|
-
width: 100%;
|
20
|
-
position: relative;
|
21
|
-
}
|
22
|
-
h1 {
|
23
|
-
flex: 0;
|
24
|
-
margin: auto;
|
25
|
-
display: flex;
|
26
|
-
align-items: center;
|
27
|
-
}
|
28
|
-
h2 {
|
29
|
-
margin-bottom: 0.5em;
|
30
|
-
}
|
31
|
-
a {
|
32
|
-
line-height: 1.1em;
|
33
|
-
text-decoration: underline;
|
34
|
-
text-decoration-color: transparent;
|
35
|
-
transition: 0.4s;
|
36
|
-
-webkit-text-decoration-color: transparent;
|
37
|
-
-moz-text-decoration-color: transparent;
|
38
|
-
&:hover {
|
39
|
-
text-decoration-color: $black;
|
40
|
-
-webkit-text-decoration-color: $black;
|
41
|
-
-moz-text-decoration-color: $black;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
.article-date {
|
45
|
-
font-size: 0.8em;
|
46
|
-
margin-top: -0.5em;
|
47
|
-
opacity: 0.5;
|
48
|
-
text-align: right;
|
49
|
-
}
|
50
|
-
|
51
|
-
figure {
|
52
|
-
width: max-content;
|
53
|
-
margin: auto;
|
54
|
-
margin-bottom: 0.5em;
|
55
|
-
max-width: 100%;
|
56
|
-
}
|
57
|
-
|
58
|
-
&_image {
|
59
|
-
max-width: 100%;
|
60
|
-
max-height: 80vh;
|
61
|
-
border: 0;
|
62
|
-
margin: auto;
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
.discography-album {
|
67
|
-
&_title {
|
68
|
-
display: none;
|
69
|
-
}
|
70
|
-
&_summary {
|
71
|
-
margin-top: 3vw;;
|
72
|
-
}
|
73
|
-
}
|
1
|
+
$image-dim: 192px;
|
2
|
+
|
3
|
+
.post-feed {
|
4
|
+
display: flex;
|
5
|
+
flex-direction: column;
|
6
|
+
flex-wrap: wrap;
|
7
|
+
justify-content: flex-start;
|
8
|
+
align-items: flex-start;
|
9
|
+
color: $p_text;
|
10
|
+
hr {
|
11
|
+
margin-bottom: 0.25em;
|
12
|
+
@include mobile {
|
13
|
+
&:first-of-type {
|
14
|
+
margin-top: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
article {
|
19
|
+
width: 100%;
|
20
|
+
position: relative;
|
21
|
+
}
|
22
|
+
h1 {
|
23
|
+
flex: 0;
|
24
|
+
margin: auto;
|
25
|
+
display: flex;
|
26
|
+
align-items: center;
|
27
|
+
}
|
28
|
+
h2 {
|
29
|
+
margin-bottom: 0.5em;
|
30
|
+
}
|
31
|
+
a {
|
32
|
+
line-height: 1.1em;
|
33
|
+
text-decoration: underline;
|
34
|
+
text-decoration-color: transparent;
|
35
|
+
transition: 0.4s;
|
36
|
+
-webkit-text-decoration-color: transparent;
|
37
|
+
-moz-text-decoration-color: transparent;
|
38
|
+
&:hover {
|
39
|
+
text-decoration-color: $black;
|
40
|
+
-webkit-text-decoration-color: $black;
|
41
|
+
-moz-text-decoration-color: $black;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
.article-date {
|
45
|
+
font-size: 0.8em;
|
46
|
+
margin-top: -0.5em;
|
47
|
+
opacity: 0.5;
|
48
|
+
text-align: right;
|
49
|
+
}
|
50
|
+
|
51
|
+
figure {
|
52
|
+
width: max-content;
|
53
|
+
margin: auto;
|
54
|
+
margin-bottom: 0.5em;
|
55
|
+
max-width: 100%;
|
56
|
+
}
|
57
|
+
|
58
|
+
&_image {
|
59
|
+
max-width: 100%;
|
60
|
+
max-height: 80vh;
|
61
|
+
border: 0;
|
62
|
+
margin: auto;
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
.discography-album {
|
67
|
+
&_title {
|
68
|
+
display: none;
|
69
|
+
}
|
70
|
+
&_summary {
|
71
|
+
margin-top: 3vw;;
|
72
|
+
}
|
73
|
+
}
|
74
74
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
$black: #000000;
|
2
|
-
$white: #FFF;
|
3
|
-
$hyperlink: #290099;
|
4
|
-
$p_text: #000000;
|
1
|
+
$black: #000000;
|
2
|
+
$white: #FFF;
|
3
|
+
$hyperlink: #290099;
|
4
|
+
$p_text: #000000;
|
5
5
|
$p_light: #888888;
|
data/_sass/variables/_index.scss
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
@import './colors';
|
2
|
-
@import './layout';
|
1
|
+
@import './colors';
|
2
|
+
@import './layout';
|
3
3
|
@import './mixins';
|
@@ -1,28 +1,28 @@
|
|
1
|
-
$tablet-width: 768px;
|
2
|
-
$desktop-width: 1024px;
|
3
|
-
$menu-size: 240px;
|
4
|
-
$mobile-menu-height: 75px;
|
5
|
-
$minimal-menu-size: 50px;
|
6
|
-
$gap: 30px;
|
7
|
-
$pop-ups-z-1: 100;
|
8
|
-
|
9
|
-
$content-width-desktop: calc(100% - #{$menu-size});
|
10
|
-
$content-width-desktop-minimal-menu: calc(100% - #{$minimal-menu-size});
|
11
|
-
|
12
|
-
@mixin tablet {
|
13
|
-
@media only screen and (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {
|
14
|
-
@content;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
@mixin desktop {
|
19
|
-
@media only screen and (min-width: #{$desktop-width}) {
|
20
|
-
@content;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
@mixin mobile {
|
25
|
-
@media only screen and (max-device-width: #{$tablet-width - 1px}) {
|
26
|
-
@content;
|
27
|
-
}
|
1
|
+
$tablet-width: 768px;
|
2
|
+
$desktop-width: 1024px;
|
3
|
+
$menu-size: 240px;
|
4
|
+
$mobile-menu-height: 75px;
|
5
|
+
$minimal-menu-size: 50px;
|
6
|
+
$gap: 30px;
|
7
|
+
$pop-ups-z-1: 100;
|
8
|
+
|
9
|
+
$content-width-desktop: calc(100% - #{$menu-size});
|
10
|
+
$content-width-desktop-minimal-menu: calc(100% - #{$minimal-menu-size});
|
11
|
+
|
12
|
+
@mixin tablet {
|
13
|
+
@media only screen and (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {
|
14
|
+
@content;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin desktop {
|
19
|
+
@media only screen and (min-width: #{$desktop-width}) {
|
20
|
+
@content;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin mobile {
|
25
|
+
@media only screen and (max-device-width: #{$tablet-width - 1px}) {
|
26
|
+
@content;
|
27
|
+
}
|
28
28
|
}
|