grey-energy-theme 0.0.0

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/LICENSE.txt +21 -0
  3. data/_includes/footer.html +106 -0
  4. data/_includes/head.html +37 -0
  5. data/_includes/header.html +10 -0
  6. data/_layouts/default.html +26 -0
  7. data/_layouts/home.html +30 -0
  8. data/_layouts/page.html +15 -0
  9. data/_layouts/post.html +23 -0
  10. data/_sass/_reset.scss +40 -0
  11. data/_sass/archive.scss +14 -0
  12. data/_sass/colors.scss +5 -0
  13. data/_sass/footer.scss +28 -0
  14. data/_sass/global.scss +47 -0
  15. data/_sass/home.scss +170 -0
  16. data/_sass/mixins.scss +16 -0
  17. data/_sass/post.scss +28 -0
  18. data/_sass/syntax-highlight.scss +172 -0
  19. data/_sass/typography.scss +98 -0
  20. data/assets/favicon.ico/android-icon-144x144.png +0 -0
  21. data/assets/favicon.ico/android-icon-192x192.png +0 -0
  22. data/assets/favicon.ico/android-icon-36x36.png +0 -0
  23. data/assets/favicon.ico/android-icon-48x48.png +0 -0
  24. data/assets/favicon.ico/android-icon-72x72.png +0 -0
  25. data/assets/favicon.ico/android-icon-96x96.png +0 -0
  26. data/assets/favicon.ico/apple-icon-114x114.png +0 -0
  27. data/assets/favicon.ico/apple-icon-120x120.png +0 -0
  28. data/assets/favicon.ico/apple-icon-144x144.png +0 -0
  29. data/assets/favicon.ico/apple-icon-152x152.png +0 -0
  30. data/assets/favicon.ico/apple-icon-180x180.png +0 -0
  31. data/assets/favicon.ico/apple-icon-57x57.png +0 -0
  32. data/assets/favicon.ico/apple-icon-60x60.png +0 -0
  33. data/assets/favicon.ico/apple-icon-72x72.png +0 -0
  34. data/assets/favicon.ico/apple-icon-76x76.png +0 -0
  35. data/assets/favicon.ico/apple-icon-precomposed.png +0 -0
  36. data/assets/favicon.ico/apple-icon.png +0 -0
  37. data/assets/favicon.ico/browserconfig.xml +2 -0
  38. data/assets/favicon.ico/favicon-16x16.png +0 -0
  39. data/assets/favicon.ico/favicon-32x32.png +0 -0
  40. data/assets/favicon.ico/favicon-96x96.png +0 -0
  41. data/assets/favicon.ico/favicon.ico +0 -0
  42. data/assets/favicon.ico/ms-icon-144x144.png +0 -0
  43. data/assets/favicon.ico/ms-icon-150x150.png +0 -0
  44. data/assets/favicon.ico/ms-icon-310x310.png +0 -0
  45. data/assets/favicon.ico/ms-icon-70x70.png +0 -0
  46. data/assets/main.scss +14 -0
  47. metadata +118 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 99a7f0e52a8dc94629fdbccd19edfa9e414cd759
4
+ data.tar.gz: a36a461288e223bf6a3ba337ee3977e2e6fed3a8
5
+ SHA512:
6
+ metadata.gz: 494c791804accc46fbdfdbab5e3e5d1dee964da595b426068f6db283322edcc06190acbe41ae0605fcd3accdd55c86cfa52ba3b8fe883c75b3ad48f1dcb41156
7
+ data.tar.gz: 5b80e0cc22f848104646193c6bd8f47a7b864ba8e1179fd4bf5c7c9358af36fbb84beadf130395427e861eb8da0701bc0ff597de3338153b1c352014f49951cc
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017-2018 Natalie Marleny
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,106 @@
1
+ <footer class="site-footer">
2
+ <div class="wrapper">
3
+ <ul class="footer-contact-list">
4
+ {% if site.github_username %}
5
+ <li>
6
+ <a href="https://github.com/{{ site.github_username }}" target="_blank" rel="noopener">
7
+ <i class="fa fa-github-alt"></i><span>Github</span>
8
+ </a>
9
+ </li>
10
+ {% endif %}
11
+ {% if site.stackoverflow_username %}
12
+ <li>
13
+ <a href="https://stackoverflow.com/users/{{ site.stackoverflow_username }}" target="_blank" rel="noopener">
14
+ <i class="fa fa-stack-overflow"></i><span>Stack Overflow</span>
15
+ </a>
16
+ </li>
17
+ {% endif %}
18
+ {% if site.stackexchange_username %}
19
+ <li>
20
+ <a href="https://stackexchange.com/users/{{ site.stackexchange_username }}?tab=accounts" target="_blank" rel="noopener">
21
+ <i class="fa fa-stack-exchange"></i><span>Stack Exchange</span>
22
+ </a>
23
+ </li>
24
+ {% endif %}
25
+ {% if site.medium_username %}
26
+ <li>
27
+ <a href="https://medium.com/@{{ site.medium_username }}" target="_blank" rel="noopener">
28
+ <i class="fa fa-medium"></i><span>Medium</span>
29
+ </a>
30
+ </li>
31
+ {% endif %}
32
+ {% if site.linkedin_username %}
33
+ <li>
34
+ <a href="https://linkedin.com/in/{{ site.linkedin_username }}" target="_blank" rel="noopener">
35
+ <i class="fa fa-linkedin-square"></i><span>Linkedin</span>
36
+ </a>
37
+ </li>
38
+ {% endif %}
39
+ {% if site.twitter_username %}
40
+ <li>
41
+ <a href="https://twitter.com/{{ site.twitter_username }}" target="_blank" rel="noopener">
42
+ <i class="fa fa-twitter"></i><span>Twitter</span>
43
+ </a>
44
+ </li>
45
+ {% endif %}
46
+
47
+ {% if site.facebook_username %}
48
+ <li>
49
+ <a href="https://facebook.com/{{ site.facebook_username }}" target="_blank" rel="noopener">
50
+ <i class="fa fa-facebook"></i><span>Facebook</span>
51
+ </a>
52
+ </li>
53
+ {% endif %}
54
+ {% if site.googleplus_username %}
55
+ <li>
56
+ <a href="https://plus.google.com/{{ site.googleplus_username }}" target="_blank" rel="noopener">
57
+ <i class="fa fa-google-plus-square"></i><span>Google+</span>
58
+ </a>
59
+ </li>
60
+ {% endif %}
61
+ {% if site.codepen_username %}
62
+ <li>
63
+ <a href="https://codepen.io/{{ site.codepen_username }}/" target="_blank" rel="noopener">
64
+ <i class="fa fa-codepen"></i><span>Codepen</span>
65
+ </a>
66
+ </li>
67
+ {% endif %}
68
+ {% if site.angellist_username %}
69
+ <li>
70
+ <a href="https://angel.co/{{ site.angellist_username }}" target="_blank" rel="noopener">
71
+ <i class="fa fa-angellist"></i><span>AngelList</span>
72
+ </a>
73
+ </li>
74
+ {% endif %}
75
+ {% if site.youtube_username %}
76
+ <li>
77
+ <a href="https://youtube.com/user/{{ site.youtube_username }}" target="_blank" rel="noopener">
78
+ <i class="fa fa-youtube-play"></i><span>Youtube</span>
79
+ </a>
80
+ </li>
81
+ {% endif %}
82
+ {% if site.dribbble_username %}
83
+ <li>
84
+ <a href="https://dribbble.com/{{ site.dribbble_username }}" target="_blank" rel="noopener">
85
+ <i class="fa fa-dribbble"></i><span>Dribbble</span>
86
+ </a>
87
+ </li>
88
+ {% endif %}
89
+ {% if site.bitbucket_username %}
90
+ <li>
91
+ <a href="https://bitbucket.org/{{ site.bitbucket_username }}/" target="_blank" rel="noopener">
92
+ <i class="fa fa-bitbucket"></i><span>Bitbucket</span>
93
+ </a>
94
+ </li>
95
+ {% endif %}
96
+
97
+ {% if site.email %}
98
+ <li>
99
+ <a href="mailto:{{ site.email }}?subject={{ site.email-subject-line }}">
100
+ <i class="fa fa-envelope"></i><span>Email Me</span>
101
+ </a>
102
+ </li>
103
+ {% endif %}
104
+ </ul>
105
+ </div>
106
+ </footer>
@@ -0,0 +1,37 @@
1
+ <!--
2
+ The Grey Energy Theme is made with <3 by Natalie Marleny
3
+ https://github.com/nataliemarleny
4
+ -->
5
+
6
+ <head>
7
+ <meta charset="utf-8">
8
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1">
10
+
11
+ <!-- Metadata -->
12
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
13
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
14
+
15
+ <!-- Stylesheets -->
16
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
17
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
18
+
19
+ <!-- Favicon -->
20
+ <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicon.ico/apple-icon-57x57.png">
21
+ <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicon.ico/apple-icon-60x60.png">
22
+ <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicon.ico/apple-icon-72x72.png">
23
+ <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicon.ico/apple-icon-76x76.png">
24
+ <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicon.ico/apple-icon-114x114.png">
25
+ <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicon.ico/apple-icon-120x120.png">
26
+ <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicon.ico/apple-icon-144x144.png">
27
+ <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicon.ico/apple-icon-152x152.png">
28
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon.ico/apple-icon-180x180.png">
29
+ <link rel="icon" type="image/png" sizes="192x192" href="/assets/favicon.ico/android-icon-192x192.png">
30
+ <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon.ico/favicon-32x32.png">
31
+ <link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon.ico/favicon-96x96.png">
32
+ <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon.ico/favicon-16x16.png">
33
+ <link rel="manifest" href="/manifest.json">
34
+ <meta name="msapplication-TileColor" content="#666666">
35
+ <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
36
+ <meta name="theme-color" content="#666666">
37
+ </head>
@@ -0,0 +1,10 @@
1
+ <header class="site-header" role="banner">
2
+ <nav class="wrapper">
3
+ <a href="/index.html">
4
+ <span>Home</span>
5
+ </a>
6
+ <a href="/archive.html">
7
+ <span>Archive</span>
8
+ </a>
9
+ </nav>
10
+ </header>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ {% include header.html %}
8
+
9
+ <main class="page-content" aria-label="Content">
10
+ <div class="wrapper">
11
+ {{ content }}
12
+ </div>
13
+ </main>
14
+
15
+ {% include footer.html %}
16
+ <script>
17
+ document.body.className += "js-loading";
18
+
19
+ window.addEventListener("load", showPage, false);
20
+
21
+ function showPage(){
22
+ document.body.className = document.body.className.replace ("js-loading", "");
23
+ }
24
+ </script>
25
+ </body>
26
+ </html>
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+
7
+ <div class="home-main">
8
+ {{ content }}
9
+ </div>
10
+
11
+ <!-- Latest posts shown if posts exist... -->
12
+ {% if site.posts.size > 0 %}
13
+ <div class="home-latest-posts">
14
+ <h1 class="page-heading">Latest Posts</h1>
15
+ <ul class="post-list">
16
+ {% for post in site.posts limit:site.latest_post_count %}
17
+ <li>
18
+ {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
19
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
20
+
21
+ <h2>
22
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
23
+ </h2>
24
+ </li>
25
+ {% endfor %}
26
+ </ul>
27
+ </div>
28
+ {% endif %}
29
+
30
+ </div>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="page">
6
+
7
+ <header class="page-header">
8
+ <h1 class="page-title">{{ page.title | escape }}</h1>
9
+ </header>
10
+
11
+ <div class="page-content">
12
+ {{ content }}
13
+ </div>
14
+
15
+ </article>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
6
+
7
+ <header class="post-header">
8
+ <div class="posts-main">
9
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
10
+ </div>
11
+ </header>
12
+
13
+ <div class="post-content" itemprop="articleBody">
14
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
15
+ {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
16
+ {{ page.date | date: date_format }}
17
+ </time>
18
+ <div class="post-content-text">
19
+ {{ content }}
20
+ </div>
21
+ </div>
22
+
23
+ </article>
data/_sass/_reset.scss ADDED
@@ -0,0 +1,40 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ v2.0 | 20110126
3
+ License: none (public domain)
4
+ */
5
+
6
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
7
+ margin: 0;
8
+ padding: 0;
9
+ border: 0;
10
+ font-size: 100%;
11
+ font: inherit;
12
+ vertical-align: baseline; }
13
+
14
+ /* HTML5 display-role reset for older browsers */
15
+
16
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
17
+ display: block; }
18
+
19
+ body {
20
+ line-height: 1; }
21
+
22
+ ol, ul {
23
+ list-style: none; }
24
+
25
+ blockquote, q {
26
+ quotes: none; }
27
+
28
+ blockquote {
29
+ &:before, &:after {
30
+ content: '';
31
+ content: none; } }
32
+
33
+ q {
34
+ &:before, &:after {
35
+ content: '';
36
+ content: none; } }
37
+
38
+ table {
39
+ border-collapse: collapse;
40
+ border-spacing: 0; }
@@ -0,0 +1,14 @@
1
+ .archive-content {
2
+ margin: 0 3rem;
3
+
4
+ .page-heading {
5
+ margin: 3rem 0 5rem 0;
6
+ }
7
+
8
+ .post-list {
9
+
10
+ li {
11
+ margin-bottom: 2rem;
12
+ }
13
+ }
14
+ }
data/_sass/colors.scss ADDED
@@ -0,0 +1,5 @@
1
+ $bw-1: #111111;
2
+ $bw-2: #fefefe;
3
+ $bw-3: #777777;
4
+
5
+ $font-1: #111111;
data/_sass/footer.scss ADDED
@@ -0,0 +1,28 @@
1
+ footer {
2
+ .wrapper {
3
+ height: 10rem;
4
+ margin: 0 2rem 3rem 2rem;
5
+ @include flexbox_parent(row, flex-start, flex-end);
6
+
7
+ .footer-contact-list {
8
+ @include flexbox_parent(row, flex-start, flex-end);
9
+
10
+ > * {
11
+ margin-left: 2rem;
12
+ }
13
+
14
+ span {
15
+ margin-left: 0.5rem;
16
+ font-size: calc(10px + 0.75rem);
17
+ }
18
+
19
+ i {
20
+ font-size: calc(10px + 0.75rem);
21
+ }
22
+
23
+ span:hover, span:visited, span:focus {
24
+ color: #666666;
25
+ }
26
+ }
27
+ }
28
+ }
data/_sass/global.scss ADDED
@@ -0,0 +1,47 @@
1
+ // Global configs
2
+
3
+ html {
4
+ background: $bw-2;
5
+ font-size: calc(10px + (13 - 12.5) * (100vw - 400px) / (800 - 400));
6
+ }
7
+
8
+ body {
9
+ background-repeat: no-repeat;
10
+ text-rendering: optimizeLegibility;
11
+ -webkit-font-smoothing: antialiased;
12
+ background: $bw-2;
13
+ }
14
+
15
+ a, *:visited {
16
+ text-decoration: none;
17
+ outline: none;
18
+ color: inherit !important;
19
+ }
20
+
21
+ nav.wrapper {
22
+ height: 1rem;
23
+ min-height: 50px;
24
+ padding: 0.75rem 0.75rem 0.75rem 1.5rem;
25
+ @include flexbox_parent(row, flex-start, center);
26
+
27
+ span:hover, span:visited, span:focus {
28
+ color: #666666;
29
+ }
30
+
31
+ span {
32
+ margin-right: 2rem;
33
+ font-size: calc(8px + 0.75rem);
34
+ }
35
+ }
36
+
37
+ // Syntax for code
38
+ figure.highlight {
39
+ margin: 1rem;
40
+ padding: 0 0.5rem;
41
+
42
+ pre {
43
+ padding: 0.5rem;
44
+ border-radius: 5px;
45
+ overflow: scroll;
46
+ }
47
+ }
data/_sass/home.scss ADDED
@@ -0,0 +1,170 @@
1
+ .js-loading *, .js-loading *:before, .js-loading *:after {
2
+ -webkit-animation-play-state: paused !important;
3
+ animation-play-state: paused !important;
4
+ }
5
+
6
+ main.page-content {
7
+ min-height: 200px;
8
+ }
9
+
10
+ div.home-main {
11
+ height: 85vh;
12
+ padding: 0 3rem;
13
+ @include flexbox_parent(row, flex-start, center);
14
+
15
+ p:first-of-type {
16
+ margin-top: 1rem;
17
+ }
18
+ }
19
+
20
+ div.home-latest-posts {
21
+ padding: 0 3rem;
22
+ }
23
+
24
+ div.home-main {
25
+ background: #888888;
26
+ -webkit-box-align: center;
27
+ -ms-flex-align: center;
28
+ align-items: center;
29
+ display: -webkit-box;
30
+ display: -ms-flexbox;
31
+ display: flex;
32
+ height: 85vh;
33
+ -webkit-box-pack: flex-start;
34
+ -ms-flex-pack: flex-start;
35
+ justify-content: flex-start;
36
+ overflow: hidden;
37
+ position: relative;
38
+ text-align: flex-start;
39
+ -webkit-transform-style: preserve-3d;
40
+ transform-style: preserve-3d;
41
+
42
+ -webkit-perspective: 100px;
43
+
44
+ perspective: 100px;
45
+
46
+ h1 {
47
+ -webkit-animation: no-transform 1s ease-in forwards;
48
+ animation: no-transform 1s ease-in forwards;
49
+ opacity: 0;
50
+ }
51
+ p {
52
+ -webkit-animation: no-transform 1s 1.2s ease-in forwards;
53
+ animation: no-transform 1s 1.2s ease-in forwards;
54
+ opacity: 0;
55
+ }
56
+ }
57
+
58
+
59
+ .home-main:before {
60
+ -webkit-animation: spin 40s linear infinite;
61
+ animation: spin 40s linear infinite;
62
+ background-image: -webkit-linear-gradient(135deg, #858f96 4%, #596164 96%);
63
+ background-image: linear-gradient(135deg, #858f96 4%, #596164 96%);
64
+ background-size: cover;
65
+ bottom: 0;
66
+ content: "";
67
+ left: 0;
68
+ opacity: 0;
69
+ position: absolute;
70
+ right: 0;
71
+ top: 0;
72
+ z-index: -1;
73
+ }
74
+
75
+ .home-main:after {
76
+ -webkit-animation: spin 20s 10s linear infinite;
77
+ animation: spin 20s 10s linear infinite;
78
+ background-image: -webkit-linear-gradient(45deg, #dcdddf 0%, #ebebeb 100%);
79
+ background-image: linear-gradient(45deg, #dcdddf 0%, #ebebeb 100%);
80
+ background-size: cover;
81
+ bottom: 0;
82
+ content: "";
83
+ left: 0;
84
+ opacity: 0;
85
+ position: absolute;
86
+ right: 0;
87
+ top: 0;
88
+ z-index: -1;
89
+ }
90
+
91
+
92
+ .home-latest-posts {
93
+ -webkit-animation: no-transform 2s 1.5s ease-in forwards;
94
+ animation: no-transform 2s 1.5s ease-in forwards;
95
+ opacity: 0;
96
+ margin-top: 3rem;
97
+
98
+ *:hover, *:active, *:focus {
99
+ text-decoration: none;
100
+ outline: none;
101
+ color: inherit !important;
102
+ }
103
+
104
+ h1 {
105
+ margin-bottom: 2rem;
106
+ }
107
+ ul {
108
+ margin-right: 3rem;
109
+
110
+ li {
111
+ margin-bottom: 1.5rem;
112
+ border-bottom: solid #dcdddf;
113
+ padding: 0.5rem;
114
+ }
115
+ }
116
+ }
117
+
118
+ .wrapper {
119
+ -webkit-animation: no-transform 1.5s ease-in forwards;
120
+ animation: no-transform 1.5s ease-in forwards;
121
+ opacity: 0;
122
+ }
123
+
124
+ /* Animations */
125
+
126
+ @-webkit-keyframes spin {
127
+ 0% {
128
+ opacity: 0;
129
+ }
130
+ 50% {
131
+ opacity: 0.95;
132
+ }
133
+ 100% {
134
+ opacity: 0;
135
+ -webkit-transform: rotateZ(180deg);
136
+ transform: rotateZ(180deg);
137
+ }
138
+ }
139
+
140
+ @keyframes spin {
141
+ 0% {
142
+ opacity: 0;
143
+ }
144
+ 50% {
145
+ opacity: 0.95;
146
+ }
147
+ 100% {
148
+ opacity: 0;
149
+ -webkit-transform: rotateZ(180deg);
150
+ transform: rotateZ(180deg);
151
+ }
152
+ }
153
+
154
+
155
+ @-webkit-keyframes no-transform {
156
+ 100% {
157
+ opacity: 1;
158
+ -webkit-transform: none;
159
+ transform: none;
160
+ }
161
+ }
162
+
163
+
164
+ @keyframes no-transform {
165
+ 100% {
166
+ opacity: 1;
167
+ -webkit-transform: none;
168
+ transform: none;
169
+ }
170
+ }
data/_sass/mixins.scss ADDED
@@ -0,0 +1,16 @@
1
+ @mixin flexbox_parent($flow, $justifycont, $align) {
2
+ list-style: none;
3
+ display: -webkit-box;
4
+ display: -moz-box;
5
+ display: -ms-flexbox;
6
+ display: -webkit-flex;
7
+ display: flex;
8
+ flex-flow: ($flow);
9
+ -webkit-flex-flow: ($flow) wrap;
10
+ justify-content: ($justifycont);
11
+ align-items: ($align);
12
+ }
13
+
14
+ @mixin flexbox_child($flex-grow, $flex-shrink, $flex-basis) {
15
+ flex: $flex-grow $flex-shrink $flex-basis;
16
+ }
data/_sass/post.scss ADDED
@@ -0,0 +1,28 @@
1
+ .post {
2
+ margin: 0 3rem;
3
+
4
+ .post-header {
5
+ min-height: 10rem;
6
+ @include flexbox_parent(column, center, center);
7
+
8
+ .posts-main {
9
+ @include flexbox_parent(row, center, center);
10
+ }
11
+ }
12
+ .post-content {
13
+ margin-top: 1rem;
14
+ padding-top: 2rem;
15
+ border-top: solid #dcdddf;
16
+
17
+ .post-content-text {
18
+ margin-top: 1rem;
19
+
20
+ a {
21
+ text-decoration: underline;
22
+ }
23
+ a:hover, a:focus, a:visited {
24
+ color: #666666 !important;
25
+ }
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,172 @@
1
+ /*
2
+ * Syntax highlighting styles
3
+ * ZenBurn original theme, retrieved from here:
4
+ * http://jwarby.github.io/jekyll-pygments-themes/languages/javascript.html
5
+ */
6
+
7
+ .highlight code, .highlight pre {
8
+ color:#999988;
9
+ background-color:#000001;
10
+ font-family: courier;
11
+ font-size: calc(10px + 1rem);
12
+
13
+ > * {
14
+ font-family: courier;
15
+ }
16
+ }
17
+
18
+ .highlight .hll {
19
+ background-color:#000001;
20
+ }
21
+
22
+ .highlight .err {
23
+ color:#960050;
24
+ background-color:#e3d2d2;
25
+ }
26
+
27
+ .highlight .k {
28
+ color:#66d9ef;
29
+ }
30
+
31
+ .highlight .p {
32
+ color:#f8f8f2;
33
+ }
34
+
35
+ .highlight .cs {
36
+ color:#cd0000;
37
+ font-weight:700;
38
+ }
39
+
40
+ .highlight .gd {
41
+ color:#f92672;
42
+ }
43
+
44
+ .highlight .ge {
45
+ color:#ccc;
46
+ font-style:italic;
47
+ }
48
+
49
+ .highlight .gr {
50
+ color:red;
51
+ }
52
+
53
+ .highlight .go {
54
+ color:gray;
55
+ }
56
+
57
+ .highlight .gs {
58
+ color:#ccc;
59
+ font-weight:700;
60
+ }
61
+
62
+ .highlight .gu {
63
+ color:purple;
64
+ font-weight:700;
65
+ }
66
+
67
+ .highlight .gt {
68
+ color:#0040D0;
69
+ }
70
+
71
+ .highlight .kc {
72
+ color:#dca3a3;
73
+ }
74
+
75
+ .highlight .kd {
76
+ color:#ffff86;
77
+ }
78
+
79
+ .highlight .kn {
80
+ color:#dfaf8f;
81
+ font-weight:700;
82
+ }
83
+
84
+ .highlight .kp {
85
+ color:#cdcf99;
86
+ }
87
+
88
+ .highlight .kr {
89
+ color:#cdcd00;
90
+ }
91
+
92
+ .highlight .ni {
93
+ color:#c28182;
94
+ }
95
+
96
+ .highlight .ne {
97
+ color:#c3bf9f;
98
+ font-weight:700;
99
+ }
100
+
101
+ .highlight .nn {
102
+ color:#8fbede;
103
+ }
104
+
105
+ .highlight .nt {
106
+ color:#9ac39f;
107
+ }
108
+
109
+ .highlight .vi {
110
+ color:#ffffc7;
111
+ }
112
+
113
+ .highlight .s2 {
114
+ color:#f8f8f2;
115
+ }
116
+
117
+ .highlight .nv {
118
+ color:#f8f8f2;
119
+ }
120
+
121
+ .highlight .c,.preview-zenburn .highlight .g,.preview-zenburn .highlight .cm,.preview-zenburn .highlight .cp,.preview-zenburn .highlight .c1 {
122
+ color:#75715e;
123
+ }
124
+
125
+ .highlight .l,.preview-zenburn .highlight .x,.preview-zenburn .highlight .no,.preview-zenburn .highlight .nd,.preview-zenburn .highlight .nl,.preview-zenburn .highlight .nx,.preview-zenburn .highlight .py,.preview-zenburn .highlight .w {
126
+ color:#ae81ff;
127
+ }
128
+
129
+ .highlight .n {
130
+ color:#f8f8f2;
131
+ }
132
+
133
+ .highlight .vg {
134
+ color:#f8f8f2;
135
+ }
136
+
137
+ .highlight .o,.preview-zenburn .highlight .ow {
138
+ color:#39FF14;
139
+ }
140
+
141
+ .highlight .gh,.preview-zenburn .highlight .gp {
142
+ color:#dcdccc;
143
+ font-weight:700;
144
+ }
145
+
146
+ .highlight .gi,.preview-zenburn .highlight .kt {
147
+ color:#00cd00;
148
+ }
149
+
150
+ .highlight .ld,.preview-zenburn .highlight .s {
151
+ color: #f8f8f2;
152
+ }
153
+
154
+ .preview-zenburn .highlight .sb,.preview-zenburn .highlight .sc,.preview-zenburn .highlight .sd,.preview-zenburn .highlight .s2,.preview-zenburn .highlight .se,.preview-zenburn .highlight .sh,.preview-zenburn .highlight .si,.preview-zenburn .highlight .sx,.preview-zenburn .highlight .sr,.preview-zenburn {
155
+ color:#f8f8f2 !important;
156
+ }
157
+
158
+ .highlight .s1,.preview-zenburn .highlight .ss {
159
+ color:#f8f8f2;
160
+ }
161
+
162
+ .highlight .m,.preview-zenburn .highlight .mf,.preview-zenburn .highlight .mh,.preview-zenburn .highlight .mi,.preview-zenburn .highlight .mo,.preview-zenburn .highlight .il {
163
+ color:#ae81ff;
164
+ }
165
+
166
+ .highlight .na {
167
+ color:#9ac39f;
168
+ }
169
+
170
+ .highlight .nb,.preview-zenburn .highlight .nc,.preview-zenburn .highlight .nf,.preview-zenburn .highlight .bp,.preview-zenburn .highlight .vc {
171
+ color:#f8f8f2 !important;
172
+ }
@@ -0,0 +1,98 @@
1
+ /* Header Font */
2
+
3
+ $header-font: 'Poppins Black';
4
+ $header-font-weight: 700;
5
+ $header-font-local-name: 'Poppins Bold';
6
+ $header-font-url: 'https://fonts.gstatic.com/s/poppins/v5/57TQ-anwthzkETEIO4jESAzyDMXhdD8sAj6OAJTFsBI.woff2';
7
+
8
+ $header-backup: sans-serif;
9
+
10
+ /* Body Font */
11
+
12
+ $body-font: 'Lato';
13
+
14
+ /* Body Font normal weight */
15
+
16
+ $body-font-weight: 400;
17
+ $body-font-local-name: 'Lato-Regular';
18
+ $body-font-url: 'https://fonts.gstatic.com/s/lato/v14/MDadn8DQ_3oT6kvnUq_2r_esZW2xOQ-xsNqO47m55DA.woff2';
19
+
20
+ $body-backup: serif;
21
+
22
+ @font-face {
23
+ font-family: $header-font;
24
+ font-style: normal;
25
+ font-weight: $header-font-weight;
26
+ src: local($header-font), local($header-font), url($header-font-url) format('woff2');
27
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
28
+ }
29
+
30
+ @font-face {
31
+ font-family: $body-font;
32
+ font-style: normal;
33
+ font-weight: $body-font-weight;
34
+ src: local($body-font), local($body-font-local-name), url($body-font-url) format('woff2');
35
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
36
+ }
37
+
38
+
39
+ h1 {
40
+ display: block;
41
+ font-size: calc(20px + 3.204rem);
42
+ font-family: $header-font, $header-backup;
43
+ color: $bw-1;
44
+ padding: 0.801rem 0;
45
+ }
46
+
47
+ h2 {
48
+ font-size: calc(10px + 1.424rem);
49
+ font-family: $header-font;
50
+ color: $bw-3;
51
+ text-align: left;
52
+ line-height: 1.424;
53
+ }
54
+
55
+ h3 {
56
+ font-size: calc(10px + 1.266rem);
57
+ font-family: $header-font;
58
+ color: $font-1;
59
+ }
60
+
61
+ h4 {
62
+ font-size: calc(10px + 1.125rem);
63
+ font-family: $header-font;
64
+ color: $font-1;
65
+ }
66
+
67
+ h5 {
68
+ font-size: calc(10px + 1rem);
69
+ font-family: $header-font;
70
+ color: $font-1;
71
+ }
72
+
73
+ h6 {
74
+ font-size: calc(10px + 1rem);
75
+ font-family: $header-font;
76
+ color: $font-1;
77
+ }
78
+
79
+ p {
80
+ font-size: calc(10px + 1rem);
81
+ font-family: $body-font, $body-backup;
82
+ line-height: 1.6;
83
+ color: $font-1;
84
+ }
85
+
86
+ span, time {
87
+ font-size: calc(10px + 1rem);
88
+ font-family: $header-font, $header-backup;
89
+ line-height: 1.4;
90
+ color: $font-1;
91
+ }
92
+
93
+ ul, ol {
94
+ font-size: calc(10px + 1em);
95
+ font-family: $body-font, $body-backup;
96
+ line-height: 1.4;
97
+ color: $font-1;
98
+ }
Binary file
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
Binary file
data/assets/main.scss ADDED
@@ -0,0 +1,14 @@
1
+ ---
2
+ ---
3
+ @import "reset";
4
+
5
+ @import "colors";
6
+ @import "typography";
7
+ @import "mixins";
8
+
9
+ @import "global";
10
+ @import "home";
11
+ @import "footer";
12
+ @import "post";
13
+ @import "archive";
14
+ @import "syntax-highlight";
metadata ADDED
@@ -0,0 +1,118 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grey-energy-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Natalie Marleny
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-06 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.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ description:
42
+ email:
43
+ - nataliemarleny@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE.txt
49
+ - _includes/footer.html
50
+ - _includes/head.html
51
+ - _includes/header.html
52
+ - _layouts/default.html
53
+ - _layouts/home.html
54
+ - _layouts/page.html
55
+ - _layouts/post.html
56
+ - _sass/_reset.scss
57
+ - _sass/archive.scss
58
+ - _sass/colors.scss
59
+ - _sass/footer.scss
60
+ - _sass/global.scss
61
+ - _sass/home.scss
62
+ - _sass/mixins.scss
63
+ - _sass/post.scss
64
+ - _sass/syntax-highlight.scss
65
+ - _sass/typography.scss
66
+ - assets/favicon.ico/android-icon-144x144.png
67
+ - assets/favicon.ico/android-icon-192x192.png
68
+ - assets/favicon.ico/android-icon-36x36.png
69
+ - assets/favicon.ico/android-icon-48x48.png
70
+ - assets/favicon.ico/android-icon-72x72.png
71
+ - assets/favicon.ico/android-icon-96x96.png
72
+ - assets/favicon.ico/apple-icon-114x114.png
73
+ - assets/favicon.ico/apple-icon-120x120.png
74
+ - assets/favicon.ico/apple-icon-144x144.png
75
+ - assets/favicon.ico/apple-icon-152x152.png
76
+ - assets/favicon.ico/apple-icon-180x180.png
77
+ - assets/favicon.ico/apple-icon-57x57.png
78
+ - assets/favicon.ico/apple-icon-60x60.png
79
+ - assets/favicon.ico/apple-icon-72x72.png
80
+ - assets/favicon.ico/apple-icon-76x76.png
81
+ - assets/favicon.ico/apple-icon-precomposed.png
82
+ - assets/favicon.ico/apple-icon.png
83
+ - assets/favicon.ico/browserconfig.xml
84
+ - assets/favicon.ico/favicon-16x16.png
85
+ - assets/favicon.ico/favicon-32x32.png
86
+ - assets/favicon.ico/favicon-96x96.png
87
+ - assets/favicon.ico/favicon.ico
88
+ - assets/favicon.ico/ms-icon-144x144.png
89
+ - assets/favicon.ico/ms-icon-150x150.png
90
+ - assets/favicon.ico/ms-icon-310x310.png
91
+ - assets/favicon.ico/ms-icon-70x70.png
92
+ - assets/main.scss
93
+ homepage: https://github.com/nataliemarleny/grey-energy-theme
94
+ licenses:
95
+ - MIT
96
+ metadata:
97
+ plugin_type: theme
98
+ post_install_message:
99
+ rdoc_options: []
100
+ require_paths:
101
+ - lib
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubyforge_project:
114
+ rubygems_version: 2.6.11
115
+ signing_key:
116
+ specification_version: 4
117
+ summary: Animated grey-colored theme for Jekyll.
118
+ test_files: []