shine-on-you-crazy-diamond-theme 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 87455a6109a4c6574864ab571c5a4727508e36fa724f86632f763c704648027f
4
+ data.tar.gz: 79bee09b5de40127f8d57779387ccd024b830f10828f03f8e68a6015c567fb10
5
+ SHA512:
6
+ metadata.gz: 3ef2e1fe4f729993e230bd4a783739d1e4fb3571ac815b4deba07860d8aef43deaab9a89450afb4fe6531273237a861444e86bea1e61adf6e368f360dfd8c4b3
7
+ data.tar.gz: 70fd241e942629c82cb2b315788afc8f0c2ffe3ff392b50081a4465722025ae7db48dcc6b9d50171da2ce649eeeab43148bdafc80c4a79a6362225a5202fa042
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Ramon Santos
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # shine-on-you-crazy-diamond-theme
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "shine-on-you-crazy-diamond-theme"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: shine-on-you-crazy-diamond-theme
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install shine-on-you-crazy-diamond-theme
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ 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.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `shine-on-you-crazy-diamond-theme.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,42 @@
1
+ <article>
2
+ <header class="header-post">
3
+ <h1>
4
+ <a href="{{ page.link | escape }}">{{ page.title | escape }}</a>
5
+ </h1>
6
+
7
+ <ul>
8
+ <li>
9
+ <i></i>
10
+ <i class="fa fa-calendar"></i>
11
+ <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%d/%m/%Y" }}</time>
12
+ </li>
13
+
14
+ {% if page.tags.size > 0 %}
15
+ <li>
16
+ <i></i>
17
+ <i class="fa fa-tags"></i>
18
+
19
+ {% assign tag_names = page.tags %}
20
+ {% assign tag_array = "" | split: "/" %}
21
+
22
+ {% for tag_name in tag_names %}
23
+ {% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
24
+ {% assign tag_array = tag_array | push: link %}
25
+ {% endfor %}
26
+
27
+ {{ tag_array | join: ', ' }}
28
+ </li>
29
+ {% endif %}
30
+ </ul>
31
+ </header>
32
+
33
+ <div class="content-post">
34
+ {{ content }}
35
+ </div>
36
+
37
+ {%- if site.disqus.shortname -%}
38
+ <footer id="comments">
39
+ {%- include disqus_comments.html -%}
40
+ </footer>
41
+ {%- endif -%}
42
+ </article>
@@ -0,0 +1,20 @@
1
+ {%- if page.comments != false and page.layout == 'post' -%}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}';
6
+ this.page.identifier = '{{ page.url | absolute_url }}';
7
+ };
8
+
9
+ (function() {
10
+ var d = document, s = d.createElement('script');
11
+
12
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
13
+
14
+ s.setAttribute('data-timestamp', +new Date());
15
+ (d.head || d.body).appendChild(s);
16
+ })();
17
+ </script>
18
+
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -0,0 +1,7 @@
1
+ <footer class="footer">
2
+ <div>
3
+ &copy; {{ 'now' | date: "%Y" }} Ramon Santos.
4
+ <br>
5
+ Desenvolvido com <i class="fa fa-heart"></i> + <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> + <i class="fa fa-coffee"></i>.
6
+ </div>
7
+ </footer>
@@ -0,0 +1,11 @@
1
+ <script>
2
+ if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
7
+
8
+ ga('create', '{{ site.google_analytics }}', 'auto');
9
+ ga('send', 'pageview');
10
+ }
11
+ </script>
@@ -0,0 +1,19 @@
1
+ <title>
2
+ {% if page.layout == 'post' %}
3
+ {{ page.title }} | {{ site.title }}
4
+ {% else %}
5
+ {{ site.title }}
6
+ {% endif %}
7
+ </title>
8
+
9
+ <meta charset="utf-8">
10
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
11
+ <meta name="viewport" content="width=device-width, initial-scale=1">
12
+
13
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
14
+ <link rel="icon" href="/favicon.ico">
15
+
16
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
17
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
18
+
19
+ {% seo title=false %}
@@ -0,0 +1,28 @@
1
+ <header class="header">
2
+ <div class="header-content content-width">
3
+ <h1>
4
+ <a class="site-title" href="{{ "/" | relative_url }}" title="{{ site.description }}">
5
+ {{ site.title | escape }}
6
+ </a>
7
+ </h1>
8
+
9
+ <a id="menuBar" class="mobile-menu-bar" href="javascript:void(0);">
10
+ <i class="fa fa-bars" aria-hidden="true"></i>
11
+ </a>
12
+
13
+ <nav class="header-menu">
14
+ <ul>
15
+ {% for menu in site.menu %}
16
+ {% if menu.path == page.url %}
17
+ <li class="active-menu">
18
+ {% else %}
19
+ <li>
20
+ {% endif %}
21
+
22
+ <a href="{{ menu.path }}">{{ menu.label }}</a>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+ </nav>
27
+ </div>
28
+ </header>
@@ -0,0 +1,15 @@
1
+ <aside id="mobileMenu" class="mobile-menu mobile-menu-hidden">
2
+ <a id="menuClose" class="menu-close-btn" href="javascript:void(0);">
3
+ <i class="fa fa-close" aria-hidden="true"></i>
4
+ </a>
5
+
6
+ <nav class="page-links">
7
+ <ul>
8
+ {% for menu in site.menu %}
9
+ <li>
10
+ <a href="{{ menu.path }}">{{ menu.label }}</a>
11
+ </li>
12
+ {% endfor %}
13
+ </ul>
14
+ </nav>
15
+ </aside>
@@ -0,0 +1,5 @@
1
+ <script src="/assets/scripts.js"></script>
2
+
3
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
4
+ {%- include google_analytics.html -%}
5
+ {%- endif -%}
@@ -0,0 +1,42 @@
1
+ <aside class="sidebar-section">
2
+ {% if site.categories %}
3
+ <div class="category-subsection">
4
+ <h2>Categorias</h2>
5
+
6
+ <ul>
7
+ {% assign categories = site.categories | sort %}
8
+
9
+ {% for cat in categories %}
10
+ <li>
11
+ <i class="fa fa-angle-right" aria-hidden="true"></i>
12
+
13
+ <a href="/categories/{{ cat[0] | slugify }}">
14
+ {{ cat[0] }}
15
+ <i class="fa fa-circle" aria-hidden="true"></i>
16
+ {{ cat[1].size }}
17
+ </a>
18
+ </li>
19
+ {% endfor %}
20
+ </ul>
21
+ </div>
22
+ {% endif %}
23
+
24
+ {% if site.tags %}
25
+ <div class="tags-subsection">
26
+ <h2>Tags</h2>
27
+
28
+ <ul>
29
+ {% assign tags = site.tags | sort %}
30
+
31
+ {% for tag in tags %}
32
+ <li>
33
+ <a href="/tags/{{ tag[0] | slugify }}">
34
+ <i class="fa fa-tag" aria-hidden="true"></i>
35
+ {{ tag[0] }}
36
+ </a>
37
+ </li>
38
+ {% endfor %}
39
+ </ul>
40
+ </div>
41
+ {% endif %}
42
+ </aside>
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="main-section">
6
+ {%- if page.posts.size > 0 -%}
7
+ {%- for post in page.posts -%}
8
+ <article>
9
+ <header class="header-post">
10
+ <h1>
11
+ <a href="{{ post.url | escape }}">{{ post.title | escape }}</a>
12
+ </h1>
13
+
14
+ <ul>
15
+ <li>
16
+ <i></i>
17
+ <i class="fa fa-calendar"></i>
18
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
19
+ </li>
20
+
21
+ {% if post.tags.size > 0 %}
22
+ <li>
23
+ <i></i>
24
+ <i class="fa fa-tags"></i>
25
+
26
+ {% assign tag_names = post.tags %}
27
+ {% assign tag_array = "" | split: "/" %}
28
+
29
+ {% for tag_name in tag_names %}
30
+ {% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
31
+ {% assign tag_array = tag_array | push: link %}
32
+ {% endfor %}
33
+
34
+ {{ tag_array | join: ', ' }}
35
+ </li>
36
+ {% endif %}
37
+ </ul>
38
+ </header>
39
+ </article>
40
+
41
+ <hr class="post-separator">
42
+ {%- endfor -%}
43
+ {%- endif -%}
44
+ </main>
45
+
46
+ {%- include sidebar.html -%}
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="main-section">
6
+ {%- if site.posts.size > 0 -%}
7
+ {%- for post in site.posts -%}
8
+ <article>
9
+ <header class="header-post">
10
+ <h1>
11
+ <a href="{{ post.url | escape }}">{{ post.title | escape }}</a>
12
+ </h1>
13
+
14
+ <ul>
15
+ <li>
16
+ <i></i>
17
+ <i class="fa fa-calendar"></i>
18
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
19
+ </li>
20
+
21
+ {% if post.tags.size > 0 %}
22
+ <li>
23
+ <i></i>
24
+ <i class="fa fa-tags"></i>
25
+
26
+ {% assign tag_names = post.tags %}
27
+ {% assign tag_array = "" | split: "/" %}
28
+
29
+ {% for tag_name in tag_names %}
30
+ {% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
31
+ {% assign tag_array = tag_array | push: link %}
32
+ {% endfor %}
33
+
34
+ {{ tag_array | join: ', ' }}
35
+ </li>
36
+ {% endif %}
37
+ </ul>
38
+ </header>
39
+ </article>
40
+
41
+ <hr class="post-separator">
42
+ {%- endfor -%}
43
+ {%- endif -%}
44
+ </main>
45
+
46
+ {%- include sidebar.html -%}
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="pt-br">
3
+ <head>
4
+ {%- include head.html -%}
5
+ </head>
6
+
7
+ <body>
8
+ {%- include header.html -%}
9
+
10
+ <section class="content-section content-width">
11
+ {{ content }}
12
+ </section>
13
+
14
+ {%- include mobile_menu.html -%}
15
+
16
+ {%- include footer.html -%}
17
+
18
+ {%- include scripts.html -%}
19
+ </body>
20
+ </html>
@@ -0,0 +1,72 @@
1
+ ---
2
+ layout: default
3
+ pagination:
4
+ enabled: true
5
+ ---
6
+
7
+ <main class="main-section">
8
+ {% for post in paginator.posts %}
9
+ <article>
10
+ <header class="header-post">
11
+ <h1>
12
+ <a href="{{ post.url | escape }}">{{ post.title | escape }}</a>
13
+ </h1>
14
+
15
+ <ul>
16
+ <li>
17
+ <i></i>
18
+ <i class="fa fa-calendar"></i>
19
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time>
20
+ </li>
21
+
22
+ {% if post.tags.size > 0 %}
23
+ <li>
24
+ <i></i>
25
+ <i class="fa fa-tags"></i>
26
+
27
+ {% assign tag_names = post.tags %}
28
+ {% assign tag_array = "" | split: "/" %}
29
+
30
+ {% for tag_name in tag_names %}
31
+ {% capture link %}<a href="/tags/{{ tag_name | slugify }}/" title="{{ tag_name }}">{{ tag_name }}</a>{% endcapture %}
32
+ {% assign tag_array = tag_array | push: link %}
33
+ {% endfor %}
34
+
35
+ {{ tag_array | join: ', ' }}
36
+ </li>
37
+ {% endif %}
38
+ </ul>
39
+ </header>
40
+
41
+ <div class="content-post">
42
+ {{ post.content }}
43
+ </div>
44
+ </article>
45
+
46
+ <hr class="post-separator">
47
+ {% endfor %}
48
+
49
+ {% if paginator.page_trail %}
50
+ <footer>
51
+ <div class="pagination">
52
+ {% if paginator.previous_page %}
53
+ <a class="extend prev" rel="prev" href="{{ paginator.previous_page_path }}">Anterior</a>
54
+ {% endif %}
55
+
56
+ {% for trail in paginator.page_trail %}
57
+ {% if page.url == trail.path %}
58
+ <span class="page-number current">{{ paginator.page }}</span>
59
+ {% else %}
60
+ <a class="page-number" href="{{ trail.path }}">{{ trail.num }}</a>
61
+ {% endif %}
62
+ {% endfor %}
63
+
64
+ {% if paginator.next_page %}
65
+ <a class="extend next" rel="next" href="{{ paginator.next_page_path }}">Próximo</a>
66
+ {% endif %}
67
+ </div>
68
+ </footer>
69
+ {% endif %}
70
+ </main>
71
+
72
+ {%- include sidebar.html -%}
@@ -0,0 +1,4 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {{ content }}
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="main-section">
6
+ {%- include article.html -%}
7
+ </main>
8
+
9
+ {%- include sidebar.html -%}
10
+
@@ -0,0 +1,95 @@
1
+ // About Page
2
+ .main-about-page {
3
+ width: 100%;
4
+
5
+ h2 {
6
+ font-size: 26px;
7
+ margin-bottom: .5rem;
8
+ padding-top: 10px;
9
+ }
10
+
11
+ p {
12
+ margin-bottom: .5rem;
13
+ }
14
+ }
15
+
16
+ @media (min-width: 430px) {
17
+ .main-about-page {
18
+ padding: 0 15px;
19
+ }
20
+ }
21
+
22
+ @media (min-width: 520px) {
23
+ .main-about-page {
24
+ padding: 0 20px;
25
+ }
26
+ }
27
+
28
+ @media (min-width: 820px) {
29
+ .main-about-page {
30
+ margin: 0 auto 10px;
31
+ max-width: 780px;
32
+ }
33
+ }
34
+
35
+ .profile-img {
36
+ border-radius: 110px;
37
+ display: block;
38
+ margin: 0 auto 20px;
39
+ max-width: 220px;
40
+ }
41
+
42
+ .header-about-page {
43
+ margin-bottom: 25px;
44
+ text-align: center;
45
+
46
+ h1 {
47
+ font-size: 2.2rem;
48
+ }
49
+
50
+ hr {
51
+ border: 0;
52
+ border-top: $border;
53
+ width: 340px;
54
+ }
55
+
56
+ ul {
57
+ display: inline-flex;
58
+
59
+ li {
60
+ margin: 3px;
61
+ }
62
+
63
+ a {
64
+ color: $text-color;
65
+ font-size: 1.6rem;
66
+ padding: .5rem .7rem;
67
+ }
68
+
69
+ a:hover {
70
+ color: $principal-color;
71
+ text-decoration: none;
72
+ }
73
+ }
74
+ }
75
+
76
+ .skill-list {
77
+ ul {
78
+ margin-left: 25px;
79
+ }
80
+
81
+ li {
82
+ display: flex;
83
+ padding: 0 0 .5rem 1.3px;
84
+
85
+ i {
86
+ padding-right: 10px;
87
+ }
88
+ }
89
+ }
90
+
91
+ .section-separator {
92
+ border: 0;
93
+ border-top: $border;
94
+ margin-top: 30px;
95
+ }
@@ -0,0 +1,70 @@
1
+ // Content
2
+ .content-section {
3
+ display: flex;
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ padding: 90px 15px 0;
7
+ }
8
+
9
+ .main-section {
10
+ width: 100%;
11
+ }
12
+
13
+ @media (min-width: $breakpoint-content-section) {
14
+ .main-section {
15
+ margin-right: 10px;
16
+ width: 75%;
17
+ }
18
+ }
19
+
20
+ .header-post {
21
+ font-size: 15px;
22
+ margin-bottom: 25px;
23
+
24
+ h1 {
25
+ font-size: 28px;
26
+ margin-bottom: 8px;
27
+ }
28
+
29
+ ul {
30
+ display: inline-flex;
31
+ }
32
+
33
+ li {
34
+ margin-right: 10px;
35
+ }
36
+
37
+ i {
38
+ color: $principal-color;
39
+ }
40
+ }
41
+
42
+ .pagination {
43
+ font-size: 1rem;
44
+ margin-bottom: 20px;
45
+
46
+ a, span {
47
+ border-radius: 21px;
48
+ color: $text-color;
49
+ margin-right: 6px;
50
+ padding: 6px 13px;
51
+ }
52
+
53
+ .current {
54
+ background: $principal-color;
55
+ color: #ffffff;
56
+ font-weight: bold;
57
+ }
58
+
59
+ a:hover {
60
+ background: $border-bottom-color;
61
+ color: $principal-color;
62
+ text-decoration: none;
63
+ }
64
+ }
65
+
66
+ .post-separator {
67
+ border: 0;
68
+ border-top: 1px solid $border-bottom-color;
69
+ margin: 50px 0 40px;
70
+ }
@@ -0,0 +1,14 @@
1
+ // Footer
2
+ .footer {
3
+ background: $principal-color;
4
+ color: #ffffff;
5
+ font-size: 15px;
6
+ margin-top: 20px;
7
+ padding: 15px;
8
+ text-align: center;
9
+
10
+ a, a:hover {
11
+ color: #ffffff;
12
+ text-decoration: none;
13
+ }
14
+ }
@@ -0,0 +1,24 @@
1
+ // Global
2
+ body {
3
+ color: $text-color;
4
+ font-family: 'Open Sans', sans-serif;
5
+ }
6
+
7
+ pre {
8
+ overflow: auto;
9
+ }
10
+
11
+ a {
12
+ color: $principal-color;
13
+ text-decoration: none;
14
+ }
15
+
16
+ a:hover {
17
+ text-decoration: underline;
18
+ }
19
+
20
+ @media (min-width: 1200px) {
21
+ .content-width {
22
+ max-width: 1170px;
23
+ }
24
+ }
@@ -0,0 +1,73 @@
1
+ // Header
2
+ .header {
3
+ background-color: #ffffff;
4
+ box-shadow: 0 1px 3px #dddddd;
5
+ display: block;
6
+ margin-bottom: 25px;
7
+ position: fixed;
8
+ width: 100%;
9
+ z-index: 1;
10
+ }
11
+
12
+ .header-content {
13
+ margin-left: auto;
14
+ margin-right: auto;
15
+ padding: 0 15px;
16
+ position: relative;
17
+
18
+ h1 {
19
+ display: inline;
20
+ font-size: 31px;
21
+ }
22
+
23
+ a {
24
+ padding: 10px 0;
25
+ }
26
+ }
27
+
28
+ .site-title {
29
+ float: left;
30
+ }
31
+
32
+ .mobile-menu-bar {
33
+ float: right;
34
+ font-size: 31px;
35
+ }
36
+
37
+ .header-menu {
38
+ display: none;
39
+ float: right;
40
+
41
+ li {
42
+ display: inline-flex;
43
+ font-size: 21px;
44
+ }
45
+
46
+ a {
47
+ color: #555555;
48
+ margin-left: 15px;
49
+ padding: 17px 0;
50
+ text-decoration: none;
51
+ }
52
+
53
+ a:hover {
54
+ color: $principal-color;
55
+ text-decoration: none;
56
+ }
57
+
58
+ .active-menu {
59
+ a {
60
+ color: $principal-color;
61
+ }
62
+ }
63
+ }
64
+
65
+ @media (min-width: $breakpoint-content-section){
66
+ .mobile-menu-bar {
67
+ display: none;
68
+ }
69
+
70
+ .header-menu {
71
+ display: block;
72
+ }
73
+ }
data/_sass/_mixin.scss ADDED
@@ -0,0 +1,7 @@
1
+ @mixin mobile-menu-transition($pos, $time) {
2
+ transform: translateX($pos);
3
+ -webkit-transition: all $time linear;
4
+ -moz-transition: all $time linear;
5
+ -ms-transition: all $time linear;
6
+ transition: all $time linear;
7
+ }
@@ -0,0 +1,54 @@
1
+ // Mobile Menu
2
+ .mobile-menu {
3
+ background: $principal-color;
4
+ height: 100%;
5
+ position: fixed;
6
+ right: -250px;
7
+ top: 0;
8
+ width: 250px;
9
+ z-index: 2;
10
+
11
+ a {
12
+ color: #ffffff;
13
+ }
14
+ }
15
+
16
+ .mobile-menu-show {
17
+ @include mobile-menu-transition(-250px, $transition-time);
18
+ }
19
+
20
+ .mobile-menu-hidden {
21
+ @include mobile-menu-transition(0, $transition-time);
22
+ }
23
+
24
+ .menu-close-btn {
25
+ display: block;
26
+ font-size: 31px;
27
+ padding: 10px 15px;
28
+ text-align: right;
29
+ }
30
+
31
+ .page-links {
32
+ display: block;
33
+ font-size: 20px;
34
+ padding: 10px 15px;
35
+
36
+ a {
37
+ border: 0;
38
+ border-top: $border;
39
+ display: block;
40
+ padding: 15px 0;
41
+ width: 220px;
42
+ }
43
+
44
+ a:active,
45
+ a:hover {
46
+ text-decoration: none;
47
+ }
48
+
49
+ li:last-child {
50
+ border: 0;
51
+ border-bottom: $border;
52
+ width: 220px;
53
+ }
54
+ }
data/_sass/_post.scss ADDED
@@ -0,0 +1,49 @@
1
+ // Content Post
2
+ .content-post {
3
+ p {
4
+ font-size: 1rem;
5
+ line-height: 1.5rem;
6
+ margin-bottom: .8rem;
7
+ }
8
+
9
+ h2 {
10
+ font-size: 26px;
11
+ margin-bottom: .5rem;
12
+ }
13
+
14
+ h3 {
15
+ font-size: 21px;
16
+ margin-bottom: .5rem;
17
+ }
18
+
19
+ h4 {
20
+ font-size: 19px;
21
+ margin-bottom: .5rem;
22
+ }
23
+
24
+ ul {
25
+ margin-left: 40px;
26
+
27
+ li {
28
+ list-style-type: initial;
29
+ }
30
+ }
31
+ }
32
+
33
+ .terminal {
34
+ background-color: #222222;
35
+ border-radius: 6px;
36
+ color: #00ff00;
37
+ font-size: 1em;
38
+ margin-bottom: .8rem;
39
+ padding: 16px;
40
+ }
41
+
42
+ .img {
43
+ margin-bottom: 20px;
44
+ text-align: center;
45
+
46
+ img {
47
+ max-width: 100%;
48
+ }
49
+ }
data/_sass/_reset.scss ADDED
@@ -0,0 +1,65 @@
1
+ // Reset
2
+ html {
3
+ background: #ffffff;
4
+ color: #000000;
5
+ }
6
+
7
+ body,
8
+ div,
9
+ dl, dt, dd,
10
+ ul, ol, li,
11
+ h1, h2, h3, h4, h5, h6,
12
+ pre,
13
+ code,
14
+ legend,
15
+ p,
16
+ blockquote,
17
+ th, td {
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ table {
23
+ border-collapse: collapse;
24
+ border-spacing: 0;
25
+ }
26
+
27
+ img {
28
+ border: 0;
29
+ }
30
+
31
+ address,
32
+ caption,
33
+ cite,
34
+ code,
35
+ th,
36
+ var {
37
+ font-style: normal;
38
+ font-weight: normal;
39
+ }
40
+
41
+ ol,
42
+ ul {
43
+ list-style: none;
44
+ }
45
+
46
+ caption,
47
+ th {
48
+ text-align: left;
49
+ }
50
+
51
+ h1, h2, h3, h4, h5, h6 {
52
+ font-size: 100%;
53
+ font-weight: normal;
54
+ }
55
+
56
+ q {
57
+ ::before, ::after {
58
+ content: '';
59
+ }
60
+ }
61
+
62
+ abbr {
63
+ border: 0;
64
+ font-variant: normal;
65
+ }
@@ -0,0 +1,76 @@
1
+ // Sidebar
2
+ .sidebar-section {
3
+ display: none;
4
+
5
+ h2 {
6
+ font-size: 24px;
7
+ margin-bottom: 10px;
8
+ }
9
+
10
+ ul {
11
+ margin-left: 10px;
12
+ }
13
+
14
+ a {
15
+ color: $text-color;
16
+ display: inline-flex;
17
+ }
18
+
19
+ a:hover {
20
+ color: $principal-color;
21
+ }
22
+ }
23
+
24
+ @media (min-width: $breakpoint-content-section) {
25
+ .sidebar-section {
26
+ display: block;
27
+ margin-left: 10px;
28
+ width: 25%;
29
+ }
30
+ }
31
+
32
+ .category-subsection {
33
+ margin-bottom: 20px;
34
+
35
+ li {
36
+ border-bottom: 1px solid $border-bottom-color;
37
+ padding: 7px px;
38
+ }
39
+
40
+ a {
41
+ padding: 5px;
42
+ text-decoration: none;
43
+
44
+ i {
45
+ font-size: 6px;
46
+ padding-left: 6px;
47
+ padding-right: 6px;
48
+ padding-top: 10px;
49
+ }
50
+ }
51
+ }
52
+
53
+ .tags-subsection {
54
+ margin-bottom: 20px;
55
+
56
+ li {
57
+ display: inline-flex;
58
+ padding: 5px;
59
+ }
60
+
61
+ i {
62
+ color: $principal-color;
63
+ padding-right: 5px;
64
+ padding-top: 4px;
65
+ }
66
+
67
+ a {
68
+ padding: 5px 9px;
69
+ }
70
+
71
+ a:hover {
72
+ background: #eeeeee;
73
+ border-radius: 16px;
74
+ text-decoration: none;
75
+ }
76
+ }
@@ -0,0 +1,9 @@
1
+ $principal-color: #dc143c;
2
+ $text-color: #3e4d5c;
3
+ $border-bottom-color: #eeeeee;
4
+
5
+ $breakpoint-content-section: 885px;
6
+
7
+ $transition-time: .25s;
8
+
9
+ $border: 1px solid $border-bottom-color;
data/assets/main.scss ADDED
@@ -0,0 +1,14 @@
1
+ ---
2
+ ---
3
+
4
+ @import 'variables';
5
+ @import 'mixin';
6
+ @import 'reset';
7
+ @import 'global';
8
+ @import 'header';
9
+ @import 'content';
10
+ @import 'about_page';
11
+ @import 'sidebar';
12
+ @import 'post';
13
+ @import 'mobile_menu';
14
+ @import 'footer';
data/assets/scripts.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var toggleMobileMenu=function(e){var t=document.getElementById("mobileMenu");t.classList.toggle("mobile-menu-show"),t.classList.toggle("mobile-menu-hidden"),e.preventDefault()};document.getElementById("menuBar").addEventListener("click",toggleMobileMenu),document.getElementById("menuClose").addEventListener("click",toggleMobileMenu);
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shine-on-you-crazy-diamond-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ platform: ruby
6
+ authors:
7
+ - ramonsantos
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-11 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: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-archives
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.2'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.2.1
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.2'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.2.1
47
+ - !ruby/object:Gem::Dependency
48
+ name: jekyll-feed
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.15'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.15'
61
+ - !ruby/object:Gem::Dependency
62
+ name: jekyll-paginate-v2
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: jekyll-seo-tag
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.6'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.6.1
85
+ type: :runtime
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '2.6'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 2.6.1
95
+ - !ruby/object:Gem::Dependency
96
+ name: jekyll-target-blank
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '2.0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '2.0'
109
+ - !ruby/object:Gem::Dependency
110
+ name: bundler
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ description:
124
+ email:
125
+ - ramonsantos.pe@gmail.com
126
+ executables: []
127
+ extensions: []
128
+ extra_rdoc_files: []
129
+ files:
130
+ - LICENSE.md
131
+ - README.md
132
+ - _includes/article.html
133
+ - _includes/disqus_comments.html
134
+ - _includes/footer.html
135
+ - _includes/google_analytics.html
136
+ - _includes/head.html
137
+ - _includes/header.html
138
+ - _includes/mobile_menu.html
139
+ - _includes/scripts.html
140
+ - _includes/sidebar.html
141
+ - _layouts/archive.html
142
+ - _layouts/blog.html
143
+ - _layouts/default.html
144
+ - _layouts/home.html
145
+ - _layouts/page.html
146
+ - _layouts/post.html
147
+ - _sass/_about_page.scss
148
+ - _sass/_content.scss
149
+ - _sass/_footer.scss
150
+ - _sass/_global.scss
151
+ - _sass/_header.scss
152
+ - _sass/_mixin.scss
153
+ - _sass/_mobile_menu.scss
154
+ - _sass/_post.scss
155
+ - _sass/_reset.scss
156
+ - _sass/_sidebar.scss
157
+ - _sass/_variables.scss
158
+ - assets/main.scss
159
+ - assets/scripts.js
160
+ homepage: https://ramonsantos.github.io/
161
+ licenses:
162
+ - MIT
163
+ metadata:
164
+ plugin_type: theme
165
+ post_install_message:
166
+ rdoc_options: []
167
+ require_paths:
168
+ - lib
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ requirements: []
180
+ rubygems_version: 3.1.2
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: Theme from website https://ramonsantos.github.io/
184
+ test_files: []