jekyll-theme-minima 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/_includes/header.html +31 -0
- data/_layouts/home.html +39 -0
- data/_layouts/page.html +29 -0
- data/_layouts/post.html +40 -0
- data/_sass/minima.scss +9 -0
- data/_sass/minima/_colors.scss +8 -0
- data/_sass/minima/_layout.scss +299 -0
- data/_sass/minima/_mixins.scss +21 -0
- data/_sass/minima/_typography.scss +8 -0
- data/_sass/minima/_variables.scss +6 -0
- metadata +126 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a1afe8bf00a69b93e72ae0955cbac836659cb03a07310d3afb909543c4b59338
|
4
|
+
data.tar.gz: 1d2d4265e004de7a875a28f6efee9ab7b068f099257cfc5f799f09b1ea2cb568
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 65575a81e74d79408034a6d65abefef9b0ed55cea7caa096a469927590fd2e68143f998495f6bb655d0f341b8c1b782486eb1ff0f4fd4068df08601d0c59e336
|
7
|
+
data.tar.gz: 6b0979253e3b24b14324f2ac6491ba9aba03ffd076a2ed570444a7815f54658fcb860aa73bc92036dcaac30b9499e63b4563ecf372312857d61d779d3506e069
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Frank Taillandier
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# jekyll-theme-minima
|
2
|
+
|
3
|
+
This is a child theme of minima, Jekyll's default theme.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "jekyll-theme-minima"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: jekyll-theme-minima
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
gem install jekyll-theme-minima
|
26
|
+
|
27
|
+
|
28
|
+
## Contributing
|
29
|
+
|
30
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dirtyf/jekyll-theme-minima. 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.
|
31
|
+
|
32
|
+
## Development
|
33
|
+
|
34
|
+
To set up your environment to develop this theme, run `bundle install`.
|
35
|
+
|
36
|
+
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.
|
37
|
+
|
38
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
39
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-childish.gemspec` accordingly.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
7
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
8
|
+
|
9
|
+
{%- if titles_size > 0 -%}
|
10
|
+
<nav class="site-nav">
|
11
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
12
|
+
<label for="nav-trigger">
|
13
|
+
<span class="menu-icon">
|
14
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
15
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
16
|
+
</svg>
|
17
|
+
</span>
|
18
|
+
</label>
|
19
|
+
|
20
|
+
<div class="trigger">
|
21
|
+
{%- for path in page_paths -%}
|
22
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
23
|
+
{%- if my_page.title -%}
|
24
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
25
|
+
{%- endif -%}
|
26
|
+
{%- endfor -%}
|
27
|
+
</div>
|
28
|
+
</nav>
|
29
|
+
{%- endif -%}
|
30
|
+
</div>
|
31
|
+
</header>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="home">
|
6
|
+
{%- if page.title -%}
|
7
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
8
|
+
{%- endif -%}
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
{%- if site.posts.size > 0 -%}
|
13
|
+
{%- if page.list_title -%}
|
14
|
+
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
15
|
+
{%- endif-%}
|
16
|
+
|
17
|
+
<ul class="post-list">
|
18
|
+
{% for post in site.posts %}
|
19
|
+
<li class="post-item">
|
20
|
+
<h2 class="post-title">
|
21
|
+
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
22
|
+
</h2>
|
23
|
+
|
24
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
25
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
26
|
+
|
27
|
+
{%- if site.show_excerpts -%}
|
28
|
+
<div class="post-excerpt">
|
29
|
+
{{ post.excerpt }}
|
30
|
+
</div>
|
31
|
+
{%- endif-%}
|
32
|
+
</li>
|
33
|
+
{% endfor %}
|
34
|
+
</ul>
|
35
|
+
|
36
|
+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
|
37
|
+
{%- endif-%}
|
38
|
+
|
39
|
+
</div>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body class="page-post">
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<article>
|
12
|
+
<header class="post-header">
|
13
|
+
<div class="wrapper">
|
14
|
+
<h1 class="post-title">{{ page.title | escape }}</h1>
|
15
|
+
</div>
|
16
|
+
</header>
|
17
|
+
<div class="wrapper">
|
18
|
+
<div class="post-content">
|
19
|
+
{{ content }}
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</article>
|
23
|
+
</main>
|
24
|
+
|
25
|
+
{%- include footer.html -%}
|
26
|
+
|
27
|
+
</body>
|
28
|
+
|
29
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body class="page-post">
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<article class="post hentry" itemscope itemtype="http://schema.org/BlogPosting">
|
12
|
+
<header class="post-header">
|
13
|
+
<div class="wrapper">
|
14
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
15
|
+
<p class="post-meta">
|
16
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
17
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
18
|
+
{{ page.date | date: date_format }}
|
19
|
+
</time>
|
20
|
+
{% if page.author %}
|
21
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
22
|
+
{% endif %}</p>
|
23
|
+
</div>
|
24
|
+
</header>
|
25
|
+
<div class="wrapper">
|
26
|
+
<div class="post-content e-content" itemprop="articleBody">
|
27
|
+
{{ content }}
|
28
|
+
</div>
|
29
|
+
{% if site.disqus.shortname %}
|
30
|
+
{% include disqus_comments.html %}
|
31
|
+
{% endif %}
|
32
|
+
</div>
|
33
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
34
|
+
</article>
|
35
|
+
</main>
|
36
|
+
|
37
|
+
{%- include footer.html -%}
|
38
|
+
|
39
|
+
</body>
|
40
|
+
</html>
|
data/_sass/minima.scss
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
$text-color: #111 !default;
|
2
|
+
$background-color: #f7f7f7 !default;
|
3
|
+
$brand-color: #e22a72 !default;
|
4
|
+
$border-color: #e5e5e5 !default;
|
5
|
+
|
6
|
+
$grey-color: #8b9198 !default;
|
7
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
8
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
@@ -0,0 +1,299 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
background-color: $background-color;
|
6
|
+
border-bottom: 1px solid $border-color;
|
7
|
+
min-height: $base-line-height * $base-font-size * 3.166;
|
8
|
+
|
9
|
+
// Positioning context for the mobile navigation icon
|
10
|
+
position: relative;
|
11
|
+
}
|
12
|
+
|
13
|
+
.site-title {
|
14
|
+
@include relative-font-size(1.625);
|
15
|
+
font-weight: 700;
|
16
|
+
line-height: $base-line-height * $base-font-size * 3.166;
|
17
|
+
letter-spacing: -1px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
float: left;
|
20
|
+
|
21
|
+
&,
|
22
|
+
&:visited {
|
23
|
+
color: $text-color;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.site-nav {
|
28
|
+
float: right;
|
29
|
+
line-height: $base-line-height * $base-font-size * 3.166;
|
30
|
+
|
31
|
+
.nav-trigger {
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.menu-icon {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
.page-link {
|
40
|
+
color: $text-color;
|
41
|
+
line-height: $base-line-height;
|
42
|
+
|
43
|
+
// Gaps between nav items, but not on the last one
|
44
|
+
&:not(:last-child) {
|
45
|
+
margin-right: 20px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@include media-query($on-palm) {
|
50
|
+
position: absolute;
|
51
|
+
top: 9px;
|
52
|
+
right: $spacing-unit / 2;
|
53
|
+
background-color: $background-color;
|
54
|
+
border: 1px solid $grey-color-light;
|
55
|
+
border-radius: 5px;
|
56
|
+
text-align: right;
|
57
|
+
|
58
|
+
label[for="nav-trigger"] {
|
59
|
+
display: block;
|
60
|
+
float: right;
|
61
|
+
width: 36px;
|
62
|
+
height: 36px;
|
63
|
+
z-index: 2;
|
64
|
+
cursor: pointer;
|
65
|
+
}
|
66
|
+
|
67
|
+
.menu-icon {
|
68
|
+
display: block;
|
69
|
+
float: right;
|
70
|
+
width: 36px;
|
71
|
+
height: 26px;
|
72
|
+
line-height: 0;
|
73
|
+
padding-top: 10px;
|
74
|
+
text-align: center;
|
75
|
+
|
76
|
+
> svg {
|
77
|
+
fill: $grey-color-dark;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
input ~ .trigger {
|
82
|
+
clear: both;
|
83
|
+
display: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
input:checked ~ .trigger {
|
87
|
+
display: block;
|
88
|
+
padding-bottom: 5px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.page-link {
|
92
|
+
display: block;
|
93
|
+
padding: 5px 10px;
|
94
|
+
|
95
|
+
&:not(:last-child) {
|
96
|
+
margin-right: 0;
|
97
|
+
}
|
98
|
+
margin-left: 20px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Site footer
|
107
|
+
*/
|
108
|
+
.site-footer {
|
109
|
+
border-top: 1px solid $border-color;
|
110
|
+
padding: $spacing-unit 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.footer-heading {
|
114
|
+
@include relative-font-size(1.125);
|
115
|
+
margin-bottom: $spacing-unit / 2;
|
116
|
+
}
|
117
|
+
|
118
|
+
.contact-list,
|
119
|
+
.social-media-list {
|
120
|
+
list-style: none;
|
121
|
+
margin-left: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
.footer-col-wrapper {
|
125
|
+
@include relative-font-size(0.9375);
|
126
|
+
color: $grey-color;
|
127
|
+
margin-left: -$spacing-unit / 2;
|
128
|
+
@extend %clearfix;
|
129
|
+
}
|
130
|
+
|
131
|
+
.footer-col {
|
132
|
+
float: left;
|
133
|
+
margin-bottom: $spacing-unit / 2;
|
134
|
+
padding-left: $spacing-unit / 2;
|
135
|
+
}
|
136
|
+
|
137
|
+
.footer-col-1 {
|
138
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
139
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
140
|
+
}
|
141
|
+
|
142
|
+
.footer-col-2 {
|
143
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
144
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
145
|
+
}
|
146
|
+
|
147
|
+
.footer-col-3 {
|
148
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
149
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
150
|
+
}
|
151
|
+
|
152
|
+
@include media-query($on-laptop) {
|
153
|
+
.footer-col-1,
|
154
|
+
.footer-col-2 {
|
155
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
156
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
157
|
+
}
|
158
|
+
|
159
|
+
.footer-col-3 {
|
160
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
161
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
@include media-query($on-palm) {
|
166
|
+
.footer-col {
|
167
|
+
float: none;
|
168
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
169
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Page content
|
177
|
+
*/
|
178
|
+
.page-content {
|
179
|
+
padding: $spacing-unit 0;
|
180
|
+
flex: 1 0 auto;
|
181
|
+
}
|
182
|
+
|
183
|
+
.page-heading {
|
184
|
+
@include relative-font-size(2);
|
185
|
+
}
|
186
|
+
|
187
|
+
.post-list-heading {
|
188
|
+
@include relative-font-size(1.75);
|
189
|
+
}
|
190
|
+
|
191
|
+
.post-list {
|
192
|
+
margin-left: 0;
|
193
|
+
list-style: none;
|
194
|
+
padding-top: $spacing-unit;
|
195
|
+
|
196
|
+
.post-item {
|
197
|
+
margin-bottom: $spacing-unit * 1.266;
|
198
|
+
padding-bottom: $spacing-unit * 1.266;
|
199
|
+
border-bottom: 1px solid $border-color;
|
200
|
+
}
|
201
|
+
|
202
|
+
.post-title {
|
203
|
+
font-size: $base-font-size * 1.875;
|
204
|
+
letter-spacing: -.5px;
|
205
|
+
line-height: 1.3;
|
206
|
+
margin-bottom: 0;
|
207
|
+
|
208
|
+
a {
|
209
|
+
color: $text-color;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
.post-excerpt {
|
214
|
+
font-family: $reading-font-family;
|
215
|
+
font-size: $base-font-size * 1.125;
|
216
|
+
margin-top: $spacing-unit * 0.5;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
.post-meta {
|
221
|
+
font-size: $small-font-size;
|
222
|
+
color: $grey-color;
|
223
|
+
}
|
224
|
+
|
225
|
+
.post-link {
|
226
|
+
display: block;
|
227
|
+
}
|
228
|
+
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Posts
|
232
|
+
*/
|
233
|
+
.page-post {
|
234
|
+
.site-header {
|
235
|
+
background-color: transparent;
|
236
|
+
}
|
237
|
+
|
238
|
+
.page-content {
|
239
|
+
padding-top: 0;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
.post-header {
|
243
|
+
padding-top: $spacing-unit * 2;
|
244
|
+
padding-bottom: $spacing-unit * 2;
|
245
|
+
margin-bottom: $spacing-unit;
|
246
|
+
background-color: $background-color;
|
247
|
+
border-bottom: 1px solid $border-color;
|
248
|
+
}
|
249
|
+
|
250
|
+
.post-title,
|
251
|
+
.post-content h1 {
|
252
|
+
@include relative-font-size(2.625);
|
253
|
+
letter-spacing: -1px;
|
254
|
+
line-height: 1;
|
255
|
+
font-weight: 900;
|
256
|
+
|
257
|
+
@include media-query($on-laptop) {
|
258
|
+
@include relative-font-size(2.25);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
.post-content {
|
263
|
+
margin-bottom: $spacing-unit;
|
264
|
+
font-family: $reading-font-family;
|
265
|
+
font-size: $base-font-size * 1.25;
|
266
|
+
|
267
|
+
h1, h2, h3, h4, h5, h6 {
|
268
|
+
font-family: $base-font-family;
|
269
|
+
font-weight: 900;
|
270
|
+
}
|
271
|
+
|
272
|
+
h1, h2, h3 { margin-top: $spacing-unit * 2; }
|
273
|
+
|
274
|
+
h4, h5, h6 { margin-top: $spacing-unit; }
|
275
|
+
|
276
|
+
h2 {
|
277
|
+
@include relative-font-size(2);
|
278
|
+
|
279
|
+
@include media-query($on-laptop) {
|
280
|
+
@include relative-font-size(1.75);
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
h3 {
|
285
|
+
@include relative-font-size(1.625);
|
286
|
+
|
287
|
+
@include media-query($on-laptop) {
|
288
|
+
@include relative-font-size(1.375);
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
h4 {
|
293
|
+
@include relative-font-size(1.25);
|
294
|
+
|
295
|
+
@include media-query($on-laptop) {
|
296
|
+
@include relative-font-size(1.125);
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// Mixins
|
2
|
+
|
3
|
+
// Use media queries like this:
|
4
|
+
// @include media-query($on-palm) {
|
5
|
+
// .wrapper {
|
6
|
+
// padding-right: $spacing-unit / 2;
|
7
|
+
// padding-left: $spacing-unit / 2;
|
8
|
+
// }
|
9
|
+
// }
|
10
|
+
@mixin media-query($device) {
|
11
|
+
@media screen and (max-width: $device) {
|
12
|
+
@content;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// Declare font-size relatively to base font size:
|
17
|
+
// @include relative-font-size(1.125);
|
18
|
+
|
19
|
+
@mixin relative-font-size($ratio) {
|
20
|
+
font-size: $base-font-size * $ratio;
|
21
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
$base-font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !default;
|
2
|
+
$base-font-size: 18px !default;
|
3
|
+
$base-font-weight: 400 !default;
|
4
|
+
$reading-font-family: "Georgia", serif !default;
|
5
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
6
|
+
$base-line-height: 1.5 !default;
|
7
|
+
|
8
|
+
$spacing-unit: 30px !default;
|
metadata
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-minima
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Frank Taillandier
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-10-28 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.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minima
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-mentions
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.16'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.16'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '12.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '12.0'
|
83
|
+
description:
|
84
|
+
email:
|
85
|
+
- frank.taillandier@gmail.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- LICENSE.txt
|
91
|
+
- README.md
|
92
|
+
- _includes/header.html
|
93
|
+
- _layouts/home.html
|
94
|
+
- _layouts/page.html
|
95
|
+
- _layouts/post.html
|
96
|
+
- _sass/minima.scss
|
97
|
+
- _sass/minima/_colors.scss
|
98
|
+
- _sass/minima/_layout.scss
|
99
|
+
- _sass/minima/_mixins.scss
|
100
|
+
- _sass/minima/_typography.scss
|
101
|
+
- _sass/minima/_variables.scss
|
102
|
+
homepage: https://github.comdirtyf/jekyll-theme-childish
|
103
|
+
licenses:
|
104
|
+
- MIT
|
105
|
+
metadata: {}
|
106
|
+
post_install_message:
|
107
|
+
rdoc_options: []
|
108
|
+
require_paths:
|
109
|
+
- lib
|
110
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
requirements: []
|
121
|
+
rubyforge_project:
|
122
|
+
rubygems_version: 2.7.7
|
123
|
+
signing_key:
|
124
|
+
specification_version: 4
|
125
|
+
summary: This is a child theme of minima, Jekyll's default theme
|
126
|
+
test_files: []
|