imfiny-times 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bc13fcc65b6b6260478cd9796019b99144070babb2f6190644a52b754235c489
4
+ data.tar.gz: 5b34f2e525dc5b343c979df67e95d555cb98bf912b1b2c076194296023945ec1
5
+ SHA512:
6
+ metadata.gz: 91086280842cadf40e3a8822fe46b002defc517301ff790eb45f29b7695ca6b58aa505f3284ec63863b3cb577fe5f641416531bae4da2e61588b282149983075
7
+ data.tar.gz: 592b8c0e35a5e0b05556193583d7087d7b57c4dcdab5fceee06fdd3230c4c33efcc2e25cb84172dbc79b8e401658f9a6ed372894c445d66bd1a227d372065f5d
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Thomas Riboulet
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,61 @@
1
+ # imfiny-times
2
+
3
+ This is a simplistic, news paper inspired theme for jekyll.
4
+
5
+ Base CSS (grid system and so on) is provided with Skeleton : http://getskeleton.com/.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "imfiny-times"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: imfiny-times
19
+ top_name: <the main banner content>
20
+ top_title: <the main title content>
21
+ top_description: <a short line about the content>
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install imfiny-times
31
+
32
+ ## Usage
33
+
34
+ The content is handled in a very simple way : the home page can display two sections of posts. You need to define one section as custom in the config.yml file.
35
+ ```
36
+ custom_category_name: opinion
37
+ custom_category_title: Opinions
38
+ custom_category_subtitle: '"A view or judgement [formed] about something"'
39
+ ```
40
+
41
+ Those are the default value set if nothing is included in your config.yml file.
42
+
43
+ A footer.html file should be present in your includes directory with some content to display as footer or conclusion.
44
+
45
+ ## Contributing
46
+
47
+ 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.
48
+
49
+ ## Development
50
+
51
+ To set up your environment to develop this theme, run `bundle install`.
52
+
53
+ 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.
54
+
55
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
56
+ To add a custom directory to your theme-gem, please edit the regexp in `imfiny-times.gemspec` accordingly.
57
+
58
+ ## License
59
+
60
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
61
+
@@ -0,0 +1,47 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_ua_id }}"></script>
6
+ <script>
7
+ window.dataLayer = window.dataLayer || [];
8
+ function gtag(){dataLayer.push(arguments);}
9
+ gtag('js', new Date());
10
+
11
+ gtag('config', '{{ site.google_ua_id }}');
12
+ </script>
13
+ <!-- Basic Page Needs
14
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
15
+ <meta charset="utf-8">
16
+ <title>{{ include.title }}</title>
17
+ <meta name="description" content="">
18
+ <meta name="author" content="">
19
+
20
+ <!-- Mobile Specific Metas
21
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
22
+ <meta name="viewport" content="width=device-width, initial-scale=1">
23
+
24
+ <!-- FONT
25
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
26
+ <link href='//fonts.googleapis.com/css?family=Raleway:400,300,600' rel='stylesheet' type='text/css'>
27
+ <style>
28
+ @import url('https://fonts.googleapis.com/css?family=Playfair+Display|Raleway');
29
+ </style>
30
+
31
+ <!-- CSS
32
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
33
+ <link rel="stylesheet" href="/assets/css/normalize.css">
34
+ <link rel="stylesheet" href="/assets/css/skeleton.css">
35
+ <link rel="stylesheet" href="/assets/css/imfiny.css">
36
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="{{ site.fontawesome_integrity }}" crossorigin="anonymous">
37
+
38
+ <!-- Scripts
39
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
40
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
41
+
42
+ <!-- RSS
43
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
44
+ <link rel="alternate" type="application/atom+xml"
45
+ title="Atom Feed for imfiny.com" href="/feed.xml" />
46
+ </head>
47
+ <body>
@@ -0,0 +1,81 @@
1
+ {% include header.html title=site.top_title %}
2
+ {% assign custom_category = site.custom_category_name | default: 'opinion' %}
3
+ {% assign custom_category_title = site.custom_category_title | default: 'Opinions' %}
4
+ {% assign custom_category_subtitle = site.custom_category_subtitle | default: '"A view or judgement [formed] about something"' %}
5
+
6
+ {{ content }}
7
+
8
+ <!-- Primary Page Layout
9
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
10
+
11
+ <div class="section hero">
12
+ <div class="container">
13
+ <div class="row imf">
14
+ <div class="one-half-column">
15
+ <h1><span class="blog">blog.</span>{{ site.top_name }}</h1>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <div class="section banner imf">
21
+ <div class="container">
22
+ <div class="row">
23
+ <div class="five columns">
24
+ {{ site.top_description }}
25
+ </div>
26
+ <div class="four columns u-pull-right" id="social">
27
+ <a href="https://{{ site.corporate_url }}"><i class="fas fa-chess-rook"></i></a>
28
+ <i class="fas fa-circle separator"></i>
29
+ <a href="https://github.com/{{ site.github_username }}"><i class="fab fa-github"></i></a>
30
+ <i class="fas fa-circle separator"></i>
31
+ <a href="https://www.linkedin.com/in/{{ site.linkedin_path }}"><i class="fab fa-linkedin-in"></i></a>
32
+ <i class="fas fa-circle separator"></i>
33
+ <a href="https://twitter.com/{{ site.twitter_username }}"><i class="fab fa-twitter"></i></a>
34
+ <i class="fas fa-circle separator"></i>
35
+ <a href="/feed.xml"><i class="fas fa-rss"></i></a>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+
41
+ <div class="color-overlay">
42
+ <div class="section posts imf">
43
+ <div class="container">
44
+ <div class="row">
45
+ <div class="two-thirds column value">
46
+ {% for post in site.posts %}
47
+ {% unless post.categories contains custom_category %}
48
+ <h4 class="post-title"><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h4>
49
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
50
+ <h5 class="post-date">{{ post.date | date: date_format }}</h5>
51
+ <p class="post-intro">{{ post.excerpt | strip_html | normalize_whitespace | truncate: 300 | escape }}</p>
52
+ <p class="post-link"><a href="{{ post.url | relative_url }}">Read more ...</a></p>
53
+ {% endunless %}
54
+ {% endfor %}
55
+ </div>
56
+ <div class="one-third column value">
57
+ <h3 class="opinion-section-title">{{ custom_category_title }}</h3>
58
+ <p class="opinions-intro">
59
+ {{ custom_category_subtitle }}
60
+ </p>
61
+ {% for post in site.posts %}
62
+ {% if post.categories contains custom_category %}
63
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
64
+ <h4 class="opinion-title"><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h4>
65
+ <h5 class="opinion-date">{{ post.date | date: date_format }}</h5>
66
+ <p class="opinion-intro">{{ post.excerpt | strip_html | normalize_whitespace | truncate: 200 | escape }}</p>
67
+ <p class="post-link"><a href="{{ post.url | relative_url }}">Read more ...</a></p>
68
+ {% endif %}
69
+ {% endfor %}
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
+
76
+ {% include footer.html %}
77
+
78
+ <!-- End Document
79
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
80
+ </body>
81
+ </html>
@@ -0,0 +1,44 @@
1
+ {% include header.html title=post.title %}
2
+
3
+ <!-- Primary Page Layout
4
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
5
+
6
+ <div class="section small-hero">
7
+ <div class="container">
8
+ <div class="row imf">
9
+ <div class="one-half-column">
10
+ <h1><a href="/"><span class="blog">blog.</span>{{ site.top_name }}</a></h1>
11
+ </div>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ <div class="section small-banner imf">
16
+ <div class="container">
17
+ <div class="row">
18
+ <div class="one-half column">
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+
24
+ <div class="color-overlay">
25
+ <div class="section post imf">
26
+ <div class="container">
27
+ <div class="row">
28
+ <div class="ten columns value">
29
+ <h2 class="post-title"><a href="{{ page.url | relative_url }}">{{ page.title }}</a></h4>
30
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
31
+ <h5 class="post-date">{{ page.date | date: date_format }}</h5>
32
+ {{ content }}
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+
39
+ {% include footer.html %}
40
+
41
+ <!-- End Document
42
+ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
43
+ </body>
44
+ </html>
@@ -0,0 +1,153 @@
1
+ /* Shared
2
+ –––––––––––––––––––––––––––––––––––––––––––––––––– */
3
+ .button {
4
+ border-radius: 100px;
5
+ }
6
+
7
+ /* Sections
8
+ –––––––––––––––––––––––––––––––––––––––––––––––––– */
9
+ .section {
10
+ padding: 8rem 0 7rem;
11
+ text-align: center;
12
+ }
13
+ .section-heading,
14
+ .section-description {
15
+ margin-bottom: 1.2rem;
16
+ }
17
+
18
+ /* Hero
19
+ –––––––––––––––––––––––––––––––––––––––––––––––––– */
20
+ .phones {
21
+ position: relative;
22
+ }
23
+ .phone {
24
+ position: relative;
25
+ max-width: 80%;
26
+ margin: 3rem auto -12rem;
27
+ }
28
+ .phone + .phone {
29
+ display: none;
30
+ }
31
+
32
+ .values {
33
+ background-image: url('../images/connectwork.png');
34
+ height: 18rem;
35
+ color: #fff;
36
+ padding-bottom: 2rem;
37
+ }
38
+ .values h3 {
39
+ z-index: 2;
40
+ //filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(100deg);
41
+ filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(100deg);
42
+ }
43
+ .values p {
44
+ z-index: 2;
45
+ filter: sepia(0%) saturate(-200%) brightness(100%) hue-rotate(260deg);
46
+ }
47
+
48
+ .color-overlay {
49
+ z-index: 1;
50
+ height: 100%;
51
+ width: 100%;
52
+ background: rgba(0, 0, 0, 0.7);
53
+ filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(100deg);
54
+ }
55
+
56
+ .pitch p {
57
+ text-align: left;
58
+ font-size: 2rem;
59
+ }
60
+
61
+ .bacon {
62
+ opacity: 0.1;
63
+ }
64
+
65
+ .get-help {
66
+ border-bottom: 1px solid #ddd;
67
+ }
68
+
69
+ .contact p {
70
+ text-align: center;
71
+ margin-top: 5rem;
72
+ }
73
+
74
+ .color-overlay p {
75
+ margin-top: 3rem;
76
+ font-size: 2rem;
77
+ font-weight: none;
78
+ }
79
+
80
+ /* Bigger than 550 */
81
+ @media (min-width: 550px) {
82
+ .section {
83
+ padding: 12rem 0 11rem;
84
+ }
85
+ .hero {
86
+ padding-bottom: 12rem;
87
+ text-align: left;
88
+ height: 165px;
89
+ }
90
+ }
91
+
92
+ @media (max-width: 750px) {
93
+ .value-heading {
94
+ display: block;
95
+ }
96
+ .value-description {
97
+ display: none;
98
+ }
99
+ }
100
+
101
+ /* Bigger than 750 */
102
+ @media (min-width: 750px) {
103
+ .hero {
104
+ height: 190px;
105
+ }
106
+ .hero-heading {
107
+ font-size: 2.6rem;
108
+ }
109
+ .section {
110
+ padding: 14rem 0 15rem;
111
+ }
112
+ .hero {
113
+ padding: 16rem 0 14rem;
114
+ }
115
+ .section-description {
116
+ max-width: 60%;
117
+ margin-left: auto;
118
+ margin-right: auto;
119
+ }
120
+ .phone {
121
+ top: -14rem;
122
+ right: 5rem;
123
+ max-height: 510px;
124
+ }
125
+ .phone + .phone {
126
+ top: -12rem;
127
+ max-height: 472px;
128
+ }
129
+ .categories {
130
+ padding: 15rem 0 8rem;
131
+ }
132
+ }
133
+
134
+ /* Bigger than 1000 */
135
+ @media (min-width: 1000px) {
136
+ .section {
137
+ padding: 20rem 0 19rem;
138
+ }
139
+ .hero {
140
+ padding: 22rem 0;
141
+ }
142
+ .hero-heading {
143
+ font-size: 3.0rem;
144
+ }
145
+ .phone {
146
+ top: -16rem;
147
+ max-height: 615px;
148
+ }
149
+ .phone + .phone {
150
+ top: -14rem;
151
+ max-height: 570px;
152
+ }
153
+ }
@@ -0,0 +1,177 @@
1
+ .imf {
2
+ font-family: 'Playfair Display';
3
+ }
4
+
5
+ .imf li {
6
+ font-size: 1.8rem;
7
+ margin-left: 1rem;
8
+ }
9
+
10
+ .hero {
11
+ margin-top: 1rem;
12
+ }
13
+
14
+ .small-hero h1 a {
15
+ font-size: 18pt;
16
+ text-decoration: none;
17
+ color: #000;
18
+ }
19
+
20
+ .blog {
21
+ font-style: italic;
22
+ font-size: 18pt;
23
+ margin-right: 2rem;
24
+ color: #BBB;
25
+ }
26
+
27
+ .banner {
28
+ margin-top: 15rem;
29
+ padding-top: 1rem;
30
+ padding-bottom: 1rem;
31
+ border-top: 1px solid #333;
32
+ background: #333;
33
+ color: #EEE;
34
+ padding-left: 2rem;
35
+ }
36
+
37
+ .small-banner {
38
+ margin-top: 2rem;
39
+ padding-top: 1rem;
40
+ padding-bottom: 1rem;
41
+ border-top: 1px solid #333;
42
+ background: #333;
43
+ color: #EEE;
44
+ padding-left: 2rem;
45
+ }
46
+
47
+ .posts {
48
+ padding-top: 3rem;
49
+ border-top: 1px solid #333;
50
+ }
51
+
52
+ .posts h4.post-title, .posts h4.opinion-title {
53
+ font-size: 18pt;
54
+ }
55
+
56
+ .posts h5.post-date, .posts h5.opinion-date, .post h5.post-date {
57
+ font-style: italic;
58
+ font-weight: none;
59
+ font-size: 12pt;
60
+ margin-top: -2.5rem;
61
+ text-align: left;
62
+ width: 100%;
63
+ color: #555;
64
+ }
65
+
66
+ .posts a, .post h3 a, .post h2 a {
67
+ color: #000;
68
+ text-decoration: none;
69
+ }
70
+
71
+ .posts a:hover {
72
+ color: #999;
73
+ }
74
+
75
+ .posts p.post-link {
76
+ text-align: right;
77
+ margin-top: -2rem;
78
+ }
79
+ .posts p.post-link a {
80
+ font-style: italic;
81
+ font-size: 10pt;
82
+ color: #000;
83
+ }
84
+ .posts p.post-link a:hover {
85
+ color: #999;
86
+ }
87
+
88
+ .post p {
89
+ font-size: 1.8rem;
90
+ }
91
+
92
+ .post h2 a {
93
+ font-size: 3.5rem;
94
+ }
95
+
96
+ .post h3 {
97
+ font-size: 3rem;
98
+ margin-top: 3rem;
99
+ }
100
+
101
+ .post h4 {
102
+ font-size: 2.5rem;
103
+ }
104
+
105
+ .post h5 {
106
+ font-size: 2.1rem;
107
+ text-decoration: underline;
108
+ }
109
+
110
+ .post blockquote {
111
+ border-left: 5px solid #00B288;
112
+ padding-left: 2rem;
113
+ padding-top: 1rem;
114
+ padding-bottom: 0.2rem;
115
+ color: #AAA;
116
+ }
117
+
118
+ .post ul a {
119
+ font-size: 18px;
120
+ }
121
+
122
+ .opinions-intro {
123
+ font-style: italic;
124
+ }
125
+
126
+ .pitch {
127
+ margin-top: 15rem;
128
+ font-size: 8pt;
129
+ }
130
+
131
+ .pitch h3 {
132
+ font-size: 14pt;
133
+ }
134
+
135
+ .help {
136
+ border-top: 1px solid #333;
137
+ padding-top: 1rem;
138
+ }
139
+
140
+ @media (max-width: 500px) {
141
+ .posts .post-intro, .posts .opinion-intro {
142
+ display: none;
143
+ }
144
+ }
145
+
146
+ .banner .fa-rss {
147
+ box-shadow: -5px 5px 0 0 rgba(30, 174, 219, 1);
148
+ transform: scale(1);
149
+ animation: pulse 2s infinite;
150
+ border-radius: 10px;
151
+ }
152
+
153
+ @keyframes pulse {
154
+ 0% {
155
+ transform: scale(0.95);
156
+ box-shadow: -5px 5px 0 0 rgba(30, 174, 219.7);
157
+ }
158
+ 70% {
159
+ transform: scale(1);
160
+ box-shadow: -5px 5px 0 10px rgba(30, 174, 219, 0);
161
+ }
162
+
163
+ 100% {
164
+ transform: scale(0.95);
165
+ box-shadow: -5px 5px 0 0 rgba(30, 174, 219, 0);
166
+ }
167
+ }
168
+
169
+ #social i {
170
+ font-size: 17px;
171
+ }
172
+ #social i.separator {
173
+ vertical-align: middle;
174
+ font-size: 10px;
175
+ margin-right: 10px;
176
+ margin-left: 10px;
177
+ }