minimal-music-project 0.0.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 (47) hide show
  1. checksums.yaml +7 -0
  2. data/404.html +11 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +66 -0
  5. data/_config.yml +45 -0
  6. data/_data/customs.yml +3 -0
  7. data/_data/menu.yml +19 -0
  8. data/_data/metaData.yml +6 -0
  9. data/_includes/avatar.html +5 -0
  10. data/_includes/common-head.html +16 -0
  11. data/_includes/cookies.js +29 -0
  12. data/_includes/customizations.html +15 -0
  13. data/_includes/footer.html +10 -0
  14. data/_includes/menu.html +35 -0
  15. data/_layouts/default.html +18 -0
  16. data/_layouts/discography.html +6 -0
  17. data/_layouts/post.html +25 -0
  18. data/_layouts/posts_feed.html +43 -0
  19. data/_sass/minimal-music-project.scss +2 -0
  20. data/_sass/styles/_cookies.scss +53 -0
  21. data/_sass/styles/_defaults.scss +82 -0
  22. data/_sass/styles/_index.scss +6 -0
  23. data/_sass/styles/_layout.scss +50 -0
  24. data/_sass/styles/_menu.scss +78 -0
  25. data/_sass/styles/_post.scss +77 -0
  26. data/_sass/styles/_posts_feed.scss +57 -0
  27. data/_sass/variables/_colors.scss +4 -0
  28. data/_sass/variables/_index.scss +3 -0
  29. data/_sass/variables/_layout.scss +27 -0
  30. data/_sass/variables/_mixins.scss +47 -0
  31. data/assets/img/android-chrome-192x192.png +0 -0
  32. data/assets/img/android-chrome-256x256.png +0 -0
  33. data/assets/img/apple-touch-icon.png +0 -0
  34. data/assets/img/band_logo.png +0 -0
  35. data/assets/img/browserconfig.xml +9 -0
  36. data/assets/img/favicon-16x16.png +0 -0
  37. data/assets/img/favicon-32x32.png +0 -0
  38. data/assets/img/favicon.ico +0 -0
  39. data/assets/img/mstile-150x150.png +0 -0
  40. data/assets/img/post-2.jpg +0 -0
  41. data/assets/img/safari-pinned-tab.svg +38 -0
  42. data/assets/img/site.webmanifest +19 -0
  43. data/assets/styles/styles.scss +8 -0
  44. data/pages/about.html +12 -0
  45. data/pages/collaborations.html +7 -0
  46. data/pages/discography.html +7 -0
  47. metadata +102 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 94130b90c49b3c5423eeb20740ef30d0ef726224d45ca6eda8c0d1bd29746e1b
4
+ data.tar.gz: b142daa5b762e53446bc6b92a7a40c3801a30173c9e5f9c5d90f345cf1b1477c
5
+ SHA512:
6
+ metadata.gz: 123a67632b7566211e8a852afc54ceaf1bc235ae44af2f4838b5796f193e550a4992aac85b6b8ce6dae856d3b5289ee42edaec994d68cfb78d90c60326898abe
7
+ data.tar.gz: 16f67b30d7c9654e6c9d659ef41ce789b1cd30ca547efff8e1c82bbd4c9c62d2916bf0cf6200c30d0b2778a7ac3a6c010d46334c0100920c68aed4abecf545df
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ permalink: 404.html
4
+ ---
5
+
6
+ <div class="content-container">
7
+ <h1>404</h1>
8
+
9
+ <p><strong>Page not found :(</strong></p>
10
+ <p>The requested page could not be found.</p>
11
+ </div>
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Patryk Bieszke
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,66 @@
1
+ # [minimal-music-project Jekyll theme](https://github.com/ItsMeaga1n/minimal-music-project/)
2
+
3
+ [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
4
+ [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.9-blue.svg)](https://jekyllrb.com/)
5
+ [![Gem Version](https://badge.fury.io/rb/minimal-music-project.svg)](https://badge.fury.io/rb/minimal-music-project)
6
+
7
+ minimal-music-project is a flexible Jekyll theme, designed for sites with content easily aggregated into categories. Demo is available [here](https://itsmeaga1n.github.io/minimal-music-project/).
8
+
9
+ ![layout examples](screenshot.png)
10
+
11
+ ## Installation
12
+
13
+ Add this line to your Jekyll site's `Gemfile`:
14
+
15
+ ```ruby
16
+ gem "minimal-music-project"
17
+ ```
18
+
19
+ And add this line to your Jekyll site's `_config.yml`:
20
+
21
+ ```yaml
22
+ theme: minimal-music-project
23
+ ```
24
+
25
+ And then execute:
26
+
27
+ $ bundle
28
+
29
+ Or install it yourself as:
30
+
31
+ $ gem install minimal-music-project
32
+
33
+ ## Usage
34
+
35
+ This theme is based on separating content into categories, which is later shown on separated sites designated to the specific content type.
36
+
37
+ As for now, theme allows to use two main categories that will be displayed on home screen and more categories displayed only in menu to further separate content. Those are defined in `_data/menu.yml`.
38
+
39
+ Structure of `_data/menu.yml`:
40
+ * menu_pages: a list of items in menu. Each item contains information:
41
+ * title: Menu position title
42
+ * url: URL for href
43
+ * category: unique identifier of category. Used to determine which menu item is selected
44
+ * tooltip: Tooltip for menu item
45
+
46
+ Structure of `_data/metaData.yml`:
47
+ author: Site Author name
48
+ avatar_url: URL for avatar (for about page)
49
+
50
+ ## Contributing
51
+
52
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/ItsMeaga1n/minimal-music-project). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
53
+
54
+ ## Development
55
+
56
+ To set up your environment to develop this theme, run `bundle install`.
57
+
58
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
59
+
60
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
61
+ To add a custom directory to your theme-gem, please edit the regexp in `minimal-music-project.gemspec` accordingly.
62
+
63
+ ## License
64
+
65
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
66
+
@@ -0,0 +1,45 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+
11
+ # Site settings
12
+ # These are used to personalize your new site. If you look in the HTML files,
13
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14
+ # You can create any custom variable you would like, and they will be accessible
15
+ # in the templates via {{ site.myvariable }}.
16
+ title: minimal-music-project
17
+ tagline: A site showing the usage of Jekyll custom theme
18
+ email: email@example.com
19
+ description: >- # this means to ignore newlines until "baseurl:"
20
+ This website was created as a demonstration for Jekyll custom theme
21
+ named minimal-music-project. Its main feature is to make it easy to create
22
+ websites for music projects
23
+ baseurl: "/minimal-music-project" # the subpath of your site, e.g. /blog
24
+ url: "https://itsmeaga1n.github.io" # the base hostname & protocol for your site, e.g. http://example.com
25
+ author: itsmeaga1n
26
+ twitter:
27
+ username: itsmeaga1n
28
+ card: summary
29
+ plugins:
30
+ - jekyll-seo-tag
31
+
32
+ # Build settings
33
+ markdown: kramdown
34
+ remote_theme: ItsMeaga1n/minimal-music-project
35
+ # Exclude these files from production site
36
+ exclude:
37
+ - CHANGELOG.md
38
+ - CNAME
39
+ - Gemfile
40
+ - Gemfile.lock
41
+ - LICENSE
42
+ - README.md
43
+ - screenshot.png
44
+ - docs/
45
+ - node_modules
@@ -0,0 +1,3 @@
1
+ custom-css:
2
+
3
+ custom-js:
@@ -0,0 +1,19 @@
1
+ menu_pages:
2
+ - title: Home
3
+ url: /
4
+ category: home
5
+
6
+ - title: Discography
7
+ url: /discography.html
8
+ category: discography
9
+ tooltip: Discography tooltip
10
+
11
+ - title: Collaborations
12
+ url: /collaborations.html
13
+ category: collaborations
14
+ tooltip: Collaborations tooltip
15
+
16
+ - title: About
17
+ url: about.html
18
+ category: about
19
+ tooltip: This is about
@@ -0,0 +1,6 @@
1
+ author: Site Author
2
+ logo: assets/img/band_logo.png
3
+ cookies:
4
+ enabled: True
5
+ message: This site might be using cookies! Customize your message or disable cookies in metaData.yml!
6
+ agreeButtonText: Agree
@@ -0,0 +1,5 @@
1
+ <div class="avatar_container">
2
+ <div class="avatar" >
3
+ <img src="{{ site.data.metaData.avatar_url }}" alt="avatar" onerror="this.style.display='none'">
4
+ </div>
5
+ </div>
@@ -0,0 +1,16 @@
1
+ <meta charset="utf-8">
2
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
3
+ <link rel="stylesheet" href="{{ '/assets/styles/styles.css' | relative_url }}">
4
+ <link rel="stylesheet" href="https://indestructibletype.com/fonts/Jost.css" type="text/css" charset="utf-8" />
5
+ <script src="https://kit.fontawesome.com/79c31398dc.js" crossorigin="anonymous"></script>
6
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/img/apple-touch-icon.png' | relative_url }}">
7
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/img/favicon-32x32.png' | relative_url }}">
8
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/img/favicon-16x16.png' | relative_url }}">
9
+ <link rel="manifest" href="{{ '/assets/img/site.webmanifest' | relative_url }}">
10
+ <link rel="mask-icon" href="{{ '/assets/img/safari-pinned-tab.svg'| relative_url }}" color="#5bbad5">
11
+ <link rel="shortcut icon" href="{{' /assets/img/favicon.ico' | relative_url }}">
12
+ <meta name="msapplication-TileColor" content="#da532c">
13
+ <meta name="msapplication-config" content="{{ '/assets/img/browserconfig.xml' | relative_url }}">
14
+ <meta name="theme-color" content="#ffffff">
15
+ {% include customizations.html %}
16
+ {% seo %}
@@ -0,0 +1,29 @@
1
+ (function() {
2
+ const consentPropName = "cookies_consent";
3
+ const storageType = localStorage;
4
+
5
+ shouldShowCookieConsent = () => !storageType.getItem(consentPropName);
6
+ acceptCookieConsent = () => storageType.setItem(consentPropName, true);
7
+ window.addEventListener("load", () => {
8
+ if(!shouldShowCookieConsent()) {
9
+ return;
10
+ }
11
+ const cookieContainer = document.createElement("div");
12
+ cookieContainer.classList.add("hidden");
13
+ const cookieParagraph = document.createElement("p");
14
+ const cookieContent = document.createTextNode("{{ site.data.metaData.cookies.message }}");
15
+ const cookieAgreeButton = document.createElement("button");
16
+ const cookieButtonContent = document.createTextNode("{{ site.data.metaData.cookies.agreeButtonText }}");
17
+ cookieAgreeButton.appendChild(cookieButtonContent);
18
+ cookieAgreeButton.onclick = () => {
19
+ acceptCookieConsent();
20
+ cookieContainer.classList.add("hidden");
21
+ window.setTimeout(cookieContainer.remove.bind(cookieContainer), 1000);
22
+ }
23
+ cookieParagraph.append(cookieContent);
24
+ cookieContainer.append(cookieParagraph, cookieAgreeButton);
25
+ cookieContainer.classList.add("cookie-container")
26
+ document.body.appendChild(cookieContainer);
27
+ window.setTimeout(() => cookieContainer.classList.remove("hidden"));
28
+ });
29
+ })();
@@ -0,0 +1,15 @@
1
+ {% for javascript in page.custom-js %}
2
+ <script src="{{ javascript }}"></script>
3
+ {% endfor %}
4
+
5
+ {% for javascript in site.data.customs.custom-js %}
6
+ <script src="{{ javascript }}"></script>
7
+ {% endfor %}
8
+
9
+ {% for css in page.custom-css %}
10
+ <link href="{{ css }}" rel="stylesheet">
11
+ {% endfor %}
12
+
13
+ {% for css in site.data.customs.custom-css %}
14
+ <link href="{{ css }}" rel="stylesheet">
15
+ {% endfor %}
@@ -0,0 +1,10 @@
1
+ <script>
2
+ window.addEventListener("load", () => {
3
+ document.getElementsByClassName("copyrights")[0].innerHTML =
4
+ `Copyrights &copy; ${new Date().getFullYear()} {{ site.data.metaData.author }}`;
5
+ });
6
+ </script>
7
+ <footer>
8
+ <p class="copyrights">
9
+ </p>
10
+ </footer>
@@ -0,0 +1,35 @@
1
+ <aside class="menu">
2
+ <div class="menu-top">
3
+ <div class="menu-top_logo">
4
+ <a href="{{ '/' | relative_url }}" >
5
+ <img src="{{ site.data.metaData.logo | relative_url }}" alt="Logo" onerror="this.style.display='none'">
6
+ </a>
7
+ </div>
8
+ <ul class="navigation">
9
+ {% for menu_item in site.data.menu.menu_pages %}
10
+ <li>
11
+ <a href="{{ menu_item.url | relative_url }}" category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}">
12
+ <span>{{ menu_item.title }}</span>
13
+ </a>
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
17
+ </div>
18
+ </aside>
19
+
20
+ <script>
21
+ (function() {
22
+ window.addEventListener("load", () => {
23
+ const navigation = document.getElementsByClassName("navigation")[0];
24
+ const selectedCategory = navigation.getElementsByTagName("a");
25
+ const currCategory = "{{ page.category }}";
26
+
27
+ for(menuItem of selectedCategory) {
28
+ if(menuItem.getAttribute("category") === currCategory) {
29
+ menuItem.classList.add("selected");
30
+ return;
31
+ }
32
+ }
33
+ });
34
+ })();
35
+ </script>
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ {% if site.data.metaData.cookies.enabled %}
5
+ <script>
6
+ {% include cookies.js %}
7
+ </script>
8
+ {% endif %}
9
+ {% include common-head.html %}
10
+ </head>
11
+ <body>
12
+ {% include menu.html %}
13
+ <main class="content-layout">
14
+ {{ content }}
15
+ {% include footer.html %}
16
+ </main>
17
+ </body>
18
+ </html>
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="discography">
5
+ <h1>{{ page.title }}</h1>
6
+ </div>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <div class="content-container {{ page.category }}">
7
+
8
+ <header>
9
+ <h1>{{ page.title }}</h1>
10
+ {% if page.image %}
11
+ <figure class="post-cover">
12
+ <!-- TODO: Images for diffrent screen size -->
13
+ <img src="{{ page.image | relative_url }}" alt="{{ page.image_alt }}" class="post-cover_image" />
14
+ </figure>
15
+ {% endif %}
16
+ <p class="post-metadata">
17
+ {{ page.date | date_to_string }}
18
+ </p>
19
+
20
+ </header>
21
+ <div class="post-content">
22
+ {{ content }}
23
+ </div>
24
+ </div>
25
+ </div>
@@ -0,0 +1,43 @@
1
+ ---
2
+ layout: default
3
+ category: home
4
+ ---
5
+ <div class="content-container">
6
+ <div class="post-feed">
7
+ {% for post in site.posts %}
8
+ {% if post.category == page.category %}
9
+ <article>
10
+ <hr>
11
+ <header>
12
+ <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
13
+ <h2>
14
+ {% if post.external_url %}
15
+ <a href="{{ post.external_url | relative_url }}" target="_blank">
16
+ {% else %}
17
+ <a href="{{ post.url | relative_url }}">
18
+ {% endif %}
19
+ {{ post.title }}
20
+ </a>
21
+ </h2>
22
+ </header>
23
+ <section>
24
+ <figure>
25
+ <img src="{{ post.image | relative_url }}" alt="{{ page.image_alt }}" class="post-feed_image" />
26
+ </figure>
27
+ <p>
28
+ {{ post.summary }}
29
+ </p>
30
+ </section>
31
+ <span class="article-read">
32
+ {% if post.external_url %}
33
+ <a href="{{ post.external_url | relative_url }}" target="_blank">
34
+ {% else %}
35
+ <a href="{{ post.url | relative_url }}">
36
+ {% endif %}
37
+ </a>
38
+ </span>
39
+ </article>
40
+ {% endif %}
41
+ {% endfor %}
42
+ </div>
43
+ </div>
@@ -0,0 +1,2 @@
1
+ @import './variables/_index.scss';
2
+ @import './styles/_index.scss';
@@ -0,0 +1,53 @@
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, $black, $black);
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: 30px;
12
+ left: 40px;
13
+ max-width: 300px;
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
+ button {
27
+ line-height: 1.4;
28
+ font-weight: 700;
29
+ display: inline-block;
30
+ padding: 10px 20px;
31
+ background-color: $black;
32
+ color: $p_text;
33
+ border: none;
34
+ border-radius: 3px;
35
+ text-decoration: none;
36
+ cursor: pointer;
37
+ -webkit-transition: background-color 200ms;
38
+ transition: background-color 200ms;
39
+ &:hover {
40
+ background-color: $black;
41
+ }
42
+ }
43
+ @include mobile {
44
+ bottom: 0;
45
+ left: 0;
46
+ width: 100%;
47
+ max-width: 100%;
48
+ padding: 12px 10px;
49
+ border-left: 0;
50
+ border-right: 0;
51
+ border-bottom: 0;
52
+ }
53
+ }
@@ -0,0 +1,82 @@
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, h2, h3 a {
13
+ font-weight: 600;
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: 0px auto;
34
+ width: 90%;
35
+ padding: 0px 18px 24px;
36
+ flex-grow: 1;
37
+ position: relative;
38
+ p {
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
+ }
50
+ }
51
+ a {
52
+ text-decoration-line: none;
53
+ color: inherit;
54
+ transition: all 0.4s ease-in-out 0s;
55
+ }
56
+
57
+ a, p, li {
58
+ font-size: 1.1em;
59
+ }
60
+
61
+ img {
62
+ max-width: 100%;
63
+ height: auto;
64
+ display: inline-block;
65
+ margin: 0;
66
+ vertical-align: top;
67
+ }
68
+
69
+ @include mobile {
70
+ body {
71
+ font-size: 15px;
72
+ }
73
+ h1 {
74
+ font-size: 2em;
75
+ }
76
+ main {
77
+ .content-container {
78
+ width: 100%;
79
+ padding: 0px 9px 12px;
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,6 @@
1
+ @import './defaults';
2
+ @import './menu';
3
+ @import './layout';
4
+ @import './posts_feed';
5
+ @import './post';
6
+ @import './cookies';
@@ -0,0 +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: $menu-size;
17
+ left: 0;
18
+ width: 100%;
19
+ height: calc(100% - #{$menu-size});
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
+ }
@@ -0,0 +1,78 @@
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
+ @include mobile {
17
+ flex-direction: row;
18
+ width: 100%;
19
+ height: $menu-size;
20
+ }
21
+
22
+ &-top {
23
+ box-sizing: border-box;
24
+ height: 100%;
25
+ flex-grow: 1;
26
+ padding-left: 3px;
27
+ padding-right: 3px;
28
+ @include mobile {
29
+ padding: 3px 10px 3px 10px;
30
+ }
31
+
32
+ &_logo {
33
+ max-width: 100px;
34
+ a {
35
+ color: #000000;
36
+ img {
37
+ max-height: 100%;
38
+ width: auto;
39
+ max-width: 100%;
40
+ border: 0;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ ul {
46
+ li {
47
+ list-style: none;
48
+ margin-bottom: 8px;
49
+ margin-top: 8px;
50
+
51
+ a {
52
+ align-items: flex-start;
53
+ color: $p_text;
54
+ cursor: pointer;
55
+ display: flex;
56
+ font-weight: 400;
57
+ letter-spacing: 3px;
58
+
59
+ &:hover {
60
+ color: $black;
61
+
62
+ }
63
+ &.selected {
64
+ font-weight: 600;
65
+ }
66
+ @include mobile {
67
+ height: calc(#{$menu-size} - 10px);
68
+ width: $menu-size;
69
+ font-size: 30px;
70
+ }
71
+
72
+ i {
73
+ margin-right: 5px;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,77 @@
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 {
40
+ background: $white;
41
+ padding: 0.2em 2rem 2rem 2rem;
42
+ border-radius: 10px;
43
+ @include mobile {
44
+ padding: 0.2em 1.2rem 1.2rem 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
+ }
54
+ p {
55
+ margin: 0;
56
+ color: $p_text;
57
+
58
+ &#{$root}-metadata {
59
+ font-size: 0.7em;
60
+ text-align: center;
61
+ }
62
+ }
63
+ }
64
+
65
+ &-cover {
66
+ &_image {
67
+ display: block;
68
+ max-width: 100%;
69
+ width: auto;
70
+ background-repeat: no-repeat;
71
+ background-size: cover;
72
+ height: auto;
73
+ max-height: 84vh;
74
+ margin: auto;
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,57 @@
1
+ $image-dim: 192px;
2
+
3
+ .post-feed {
4
+ margin-top: 4em;
5
+ display: flex;
6
+ flex-direction: column;
7
+ flex-wrap: wrap;
8
+ justify-content: flex-start;
9
+ align-items: flex-start;
10
+ color: $p_text;
11
+ article {
12
+ width: 100%;
13
+ }
14
+ hr {
15
+ margin-top: 2em;
16
+ margin-bottom: 0.5em;
17
+ }
18
+ .page-summary {
19
+ flex: 0;
20
+ width: 100%;
21
+ text-align: center;
22
+ }
23
+ h1 {
24
+ flex: 0;
25
+ margin: auto;
26
+ display: flex;
27
+ align-items: center;
28
+ }
29
+ h2 {
30
+ margin-bottom: 0.5em;
31
+ }
32
+ a {
33
+ line-height: 1.1em;
34
+ &:hover {
35
+ text-decoration: underline $black;
36
+ }
37
+ }
38
+ .article-date {
39
+ font-size: 0.8em;
40
+ margin-top: -0.5em;
41
+ opacity: 0.5;
42
+ text-align: right;
43
+ }
44
+
45
+ figure {
46
+ width: max-content;
47
+ margin: auto;
48
+ margin-bottom: 0.5em;
49
+ }
50
+
51
+ &_image {
52
+ max-width: 100%;
53
+ max-height: 80vh;
54
+ border: 0;
55
+ margin: auto;
56
+ }
57
+ }
@@ -0,0 +1,4 @@
1
+ $black: #000000;
2
+ $white: #FFF;
3
+
4
+ $p_text: #000000;
@@ -0,0 +1,3 @@
1
+ @import './colors';
2
+ @import './layout';
3
+ @import './mixins';
@@ -0,0 +1,27 @@
1
+ $tablet-width: 768px;
2
+ $desktop-width: 1024px;
3
+ $menu-size: 200px;
4
+ $minimal-menu-size: 50px;
5
+ $gap: 30px;
6
+ $pop-ups-z-1: 100;
7
+
8
+ $content-width-desktop: calc(100% - #{$menu-size});
9
+ $content-width-desktop-minimal-menu: calc(100% - #{$minimal-menu-size});
10
+
11
+ @mixin tablet {
12
+ @media only screen and (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {
13
+ @content;
14
+ }
15
+ }
16
+
17
+ @mixin desktop {
18
+ @media only screen and (min-width: #{$desktop-width}) {
19
+ @content;
20
+ }
21
+ }
22
+
23
+ @mixin mobile {
24
+ @media only screen and (max-device-width: #{$tablet-width - 1px}) {
25
+ @content;
26
+ }
27
+ }
@@ -0,0 +1,47 @@
1
+ @mixin tooltip {
2
+ position: relative;
3
+ &:hover .tooltip {
4
+ visibility: visible;
5
+ opacity: 1;
6
+ }
7
+ & .tooltip {
8
+ visibility: hidden;
9
+ width: 120px;
10
+ background-color: #555;
11
+ color: #fff;
12
+ text-align: center;
13
+ border-radius: 6px;
14
+ padding: 5px 0;
15
+ position: absolute;
16
+ z-index: 1;
17
+ bottom: 100%;
18
+ left: 50%;
19
+ margin-left: -60px;
20
+ opacity: 0;
21
+ transition: opacity 0.3s;
22
+ font-size: 14px;
23
+ &::after {
24
+ content: "";
25
+ position: absolute;
26
+ top: 100%;
27
+ left: 50%;
28
+ margin-left: -5px;
29
+ border-width: 5px;
30
+ border-style: solid;
31
+ border-color: #555 transparent transparent transparent;
32
+ }
33
+ }
34
+ }
35
+
36
+ @mixin hyperlink-convention {
37
+ a {
38
+ transition: all 300ms ease 0s;
39
+ cursor: pointer;
40
+ text-decoration-line: none;
41
+ text-decoration: underline $black;
42
+ &:hover {
43
+ color: $black;
44
+ font-weight: 500;
45
+ }
46
+ }
47
+ }
Binary file
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/assets/img/mstile-150x150.png"/>
6
+ <TileColor>#da532c</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
Binary file
Binary file
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="260.000000pt" height="260.000000pt" viewBox="0 0 260.000000 260.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+ <metadata>
8
+ Created by potrace 1.11, written by Peter Selinger 2001-2013
9
+ </metadata>
10
+ <g transform="translate(0.000000,260.000000) scale(0.100000,-0.100000)"
11
+ fill="#000000" stroke="none">
12
+ <path d="M164 1906 c-72 -49 -107 -92 -94 -117 6 -10 15 -19 20 -19 5 0 56
13
+ -79 114 -176 l106 -176 -38 -65 c-20 -35 -41 -72 -47 -81 -5 -10 -38 -65 -72
14
+ -122 -34 -58 -78 -123 -97 -144 -20 -22 -37 -44 -37 -50 -5 -41 10 -55 98 -97
15
+ 82 -38 128 -39 146 -1 8 15 17 41 20 58 5 25 123 241 147 267 10 12 142 -216
16
+ 160 -277 22 -72 51 -81 127 -41 30 17 68 45 84 63 25 28 27 36 18 60 -6 15
17
+ -23 41 -38 57 -16 17 -72 107 -125 202 l-97 171 101 149 c57 81 120 163 142
18
+ 182 46 40 63 74 48 101 -6 11 -44 36 -84 56 -57 28 -81 35 -103 29 -35 -8 -53
19
+ -23 -53 -42 0 -13 -167 -263 -175 -263 -2 0 -105 182 -164 290 -15 27 -54 22
20
+ -107 -14z"/>
21
+ <path d="M1024 1906 c-72 -49 -107 -92 -94 -117 6 -10 15 -19 20 -19 11 0 222
22
+ -349 217 -358 -43 -80 -225 -377 -241 -394 -46 -47 -59 -74 -44 -98 17 -29
23
+ 146 -90 189 -90 38 0 61 27 72 86 5 25 123 241 147 267 10 12 148 -226 159
24
+ -275 18 -79 59 -87 148 -29 100 65 109 96 44 166 -16 17 -72 107 -126 202
25
+ l-97 172 65 93 c35 51 84 122 108 157 24 35 53 68 65 73 12 6 31 27 43 49 30
26
+ 52 19 69 -73 115 -57 28 -81 35 -103 29 -34 -8 -53 -23 -53 -42 0 -12 -103
27
+ -170 -159 -242 l-18 -23 -77 138 c-42 77 -80 146 -85 154 -15 27 -54 22 -107
28
+ -14z"/>
29
+ <path d="M1874 1906 c-72 -49 -107 -92 -94 -117 6 -10 15 -19 20 -19 5 0 46
30
+ -62 91 -137 44 -76 92 -155 106 -175 l25 -37 -108 -186 c-60 -103 -121 -199
31
+ -136 -215 -75 -80 -69 -104 35 -154 93 -45 141 -48 160 -8 8 15 17 41 20 58 5
32
+ 25 123 241 147 267 10 12 146 -221 162 -279 19 -70 50 -79 124 -39 113 61 131
33
+ 105 71 172 -19 21 -78 115 -131 210 l-98 172 108 156 c60 86 120 164 135 172
34
+ 30 18 61 75 53 97 -8 21 -73 61 -130 81 -60 21 -99 10 -115 -32 -9 -25 -111
35
+ -181 -158 -242 l-18 -23 -77 138 c-42 77 -80 146 -85 154 -15 27 -54 22 -107
36
+ -14z"/>
37
+ </g>
38
+ </svg>
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "",
3
+ "short_name": "",
4
+ "icons": [
5
+ {
6
+ "src": "/assets/img/android-chrome-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png"
9
+ },
10
+ {
11
+ "src": "/assets/img/android-chrome-256x256.png",
12
+ "sizes": "256x256",
13
+ "type": "image/png"
14
+ }
15
+ ],
16
+ "theme_color": "#ffffff",
17
+ "background_color": "#ffffff",
18
+ "display": "standalone"
19
+ }
@@ -0,0 +1,8 @@
1
+ ---
2
+ ---
3
+ // {% if site.data.metaData.lightTheme %}
4
+ // @import "./variables/light-theme";
5
+ // {% else %}
6
+ // @import "./variables/black-theme";
7
+ // {% endif %}
8
+ @import "minimal-music-project";
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: post
3
+ title: About
4
+ permalink: about.html
5
+ category: about
6
+
7
+ ---
8
+ <div class="profile">
9
+ {% include avatar.html %}
10
+ <h2>{{ site.data.menu.menu_headline }}</h2>
11
+ <p>{{ site.data.menu.menu_intro }}</p>
12
+ </div>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: discography
3
+ title: Collaborations
4
+ permalink: collaborations.html
5
+ category: collaborations
6
+
7
+ ---
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: discography
3
+ title: Discography
4
+ permalink: discography.html
5
+ category: discography
6
+
7
+ ---
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minimal-music-project
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Patryk Bieszke
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-01-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.9.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.9.0
27
+ description:
28
+ email:
29
+ - bieszke.patryk@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - 404.html
35
+ - LICENSE.txt
36
+ - README.md
37
+ - _config.yml
38
+ - _data/customs.yml
39
+ - _data/menu.yml
40
+ - _data/metaData.yml
41
+ - _includes/avatar.html
42
+ - _includes/common-head.html
43
+ - _includes/cookies.js
44
+ - _includes/customizations.html
45
+ - _includes/footer.html
46
+ - _includes/menu.html
47
+ - _layouts/default.html
48
+ - _layouts/discography.html
49
+ - _layouts/post.html
50
+ - _layouts/posts_feed.html
51
+ - _sass/minimal-music-project.scss
52
+ - _sass/styles/_cookies.scss
53
+ - _sass/styles/_defaults.scss
54
+ - _sass/styles/_index.scss
55
+ - _sass/styles/_layout.scss
56
+ - _sass/styles/_menu.scss
57
+ - _sass/styles/_post.scss
58
+ - _sass/styles/_posts_feed.scss
59
+ - _sass/variables/_colors.scss
60
+ - _sass/variables/_index.scss
61
+ - _sass/variables/_layout.scss
62
+ - _sass/variables/_mixins.scss
63
+ - assets/img/android-chrome-192x192.png
64
+ - assets/img/android-chrome-256x256.png
65
+ - assets/img/apple-touch-icon.png
66
+ - assets/img/band_logo.png
67
+ - assets/img/browserconfig.xml
68
+ - assets/img/favicon-16x16.png
69
+ - assets/img/favicon-32x32.png
70
+ - assets/img/favicon.ico
71
+ - assets/img/mstile-150x150.png
72
+ - assets/img/post-2.jpg
73
+ - assets/img/safari-pinned-tab.svg
74
+ - assets/img/site.webmanifest
75
+ - assets/styles/styles.scss
76
+ - pages/about.html
77
+ - pages/collaborations.html
78
+ - pages/discography.html
79
+ homepage: https://github.com/ItsMeaga1n/minimal-music-project
80
+ licenses:
81
+ - MIT
82
+ metadata: {}
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubygems_version: 3.1.2
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: minimal-music-project is a Jekyll theme for GitHub Pages
102
+ test_files: []