tema_revista 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +6 -0
- data/_includes/header.html +14 -0
- data/_layouts/default.html +21 -1
- data/_layouts/home.html +33 -0
- data/_layouts/post.html +19 -1
- data/_sass/tema_revista/_base.scss +305 -0
- data/_sass/tema_revista/_layout.scss +255 -0
- data/_sass/tema_revista/_syntax-highlighting.scss +71 -0
- data/_sass/tema_revista.scss +58 -0
- data/assets/img/racquetball.jpg +0 -0
- data/assets/main.scss +5 -0
- metadata +10 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f4c6fac54c925cf7f9be0370c79b6640b0b3168c2982954e617cda0852b0a9
|
4
|
+
data.tar.gz: acd0498e4ee3ce0acd3dd4fa6f7757e00bd411ac2046f1bf0761ac546a70806f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5ae07b7ec4bfb2bbbf6042d1c45d1f3cc7359b443ae461ce99f89944fdd37b29f2756b6f2cf867c2c286fc877cb9d6d0c7e06021092ed6db4b8a616df3af81
|
7
|
+
data.tar.gz: f737ef374da82419901d457884b1da9fe0b858d53a3a9516928f48b305370f4281556377ef1c4f158711b8443a0106bcaf46e229038775b33e0a76dc06e9caad
|
data/_includes/head.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
|
5
|
+
<div class="etiqueta vertical">
|
6
|
+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">
|
7
|
+
<svg viewBox="0 0 100 80">
|
8
|
+
<path d="M0,0L0,80L50,60L100,80L100,0"/>
|
9
|
+
</svg>
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
</div>
|
14
|
+
</header>
|
data/_layouts/default.html
CHANGED
@@ -1 +1,21 @@
|
|
1
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "es" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{% comment %}
|
17
|
+
{%- include footer.html -%}
|
18
|
+
{% endcomment %}
|
19
|
+
</body>
|
20
|
+
|
21
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,33 @@
|
|
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
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
14
|
+
<ul class="post-list">
|
15
|
+
{%- for post in site.posts -%}
|
16
|
+
<li>
|
17
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
18
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
19
|
+
<h3>
|
20
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
21
|
+
{{ post.title | escape }}
|
22
|
+
</a>
|
23
|
+
</h3>
|
24
|
+
{%- if site.show_excerpts -%}
|
25
|
+
{{ post.excerpt }}
|
26
|
+
{%- endif -%}
|
27
|
+
</li>
|
28
|
+
{%- endfor -%}
|
29
|
+
</ul>
|
30
|
+
|
31
|
+
{%- endif -%}
|
32
|
+
|
33
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
4
5
|
|
5
|
-
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
10
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
11
|
+
{{ page.date | date: date_format }}
|
12
|
+
</time>
|
13
|
+
{%- if page.author -%}
|
14
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
15
|
+
{%- endif -%}</p>
|
16
|
+
</header>
|
17
|
+
|
18
|
+
<div class="post-content e-content" itemprop="articleBody">
|
19
|
+
{{ content }}
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
23
|
+
</article>
|
@@ -0,0 +1,305 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Basic styling
|
15
|
+
*/
|
16
|
+
body {
|
17
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
+
color: $text-color;
|
19
|
+
background-color: $background-color;
|
20
|
+
-webkit-text-size-adjust: 100%;
|
21
|
+
-webkit-font-feature-settings: "kern" 1;
|
22
|
+
-moz-font-feature-settings: "kern" 1;
|
23
|
+
-o-font-feature-settings: "kern" 1;
|
24
|
+
font-feature-settings: "kern" 1;
|
25
|
+
font-kerning: normal;
|
26
|
+
display: flex;
|
27
|
+
min-height: 100vh;
|
28
|
+
flex-direction: column;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Tipografía
|
34
|
+
*/
|
35
|
+
|
36
|
+
h1 {
|
37
|
+
font-family: $base-font-family-serif;
|
38
|
+
text-align: center;
|
39
|
+
font-weight: 700;
|
40
|
+
color: $color-titulo;
|
41
|
+
margin-top: 4rem;
|
42
|
+
margin-bottom: 2.5rem;
|
43
|
+
}
|
44
|
+
|
45
|
+
h2, strong {
|
46
|
+
color: $color1;
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* etiquetas
|
51
|
+
*/
|
52
|
+
|
53
|
+
.etiqueta.vertical {
|
54
|
+
margin: 0 auto;
|
55
|
+
width: 150px;
|
56
|
+
}
|
57
|
+
.etiqueta.vertical svg {
|
58
|
+
width: 150px;
|
59
|
+
height: 120px;
|
60
|
+
}
|
61
|
+
|
62
|
+
.etiqueta path {
|
63
|
+
stroke: $color1;
|
64
|
+
fill: $color1;
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
70
|
+
*/
|
71
|
+
h2, h3, h4, h5, h6,
|
72
|
+
p, blockquote, pre,
|
73
|
+
ul, ol, dl, figure,
|
74
|
+
%vertical-rhythm {
|
75
|
+
margin-bottom: $spacing-unit / 2;
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
/**
|
81
|
+
* `main` element
|
82
|
+
*/
|
83
|
+
main {
|
84
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Images
|
91
|
+
*/
|
92
|
+
img {
|
93
|
+
max-width: 100%;
|
94
|
+
vertical-align: middle;
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Figures
|
101
|
+
*/
|
102
|
+
figure > img {
|
103
|
+
display: block;
|
104
|
+
}
|
105
|
+
|
106
|
+
figcaption {
|
107
|
+
font-size: $small-font-size;
|
108
|
+
}
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Lists
|
114
|
+
*/
|
115
|
+
ul, ol {
|
116
|
+
margin-left: $spacing-unit;
|
117
|
+
}
|
118
|
+
|
119
|
+
li {
|
120
|
+
> ul,
|
121
|
+
> ol {
|
122
|
+
margin-bottom: 0;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Headings
|
130
|
+
*/
|
131
|
+
h1, h2, h3, h4, h5, h6 {
|
132
|
+
font-weight: $base-font-weight;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Links
|
139
|
+
*/
|
140
|
+
a {
|
141
|
+
color: $brand-color;
|
142
|
+
text-decoration: none;
|
143
|
+
|
144
|
+
&:visited {
|
145
|
+
color: darken($brand-color, 15%);
|
146
|
+
}
|
147
|
+
|
148
|
+
&:hover {
|
149
|
+
color: $text-color;
|
150
|
+
text-decoration: underline;
|
151
|
+
}
|
152
|
+
|
153
|
+
.social-media-list &:hover {
|
154
|
+
text-decoration: none;
|
155
|
+
|
156
|
+
.username {
|
157
|
+
text-decoration: underline;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
/**
|
164
|
+
* Blockquotes
|
165
|
+
*/
|
166
|
+
blockquote {
|
167
|
+
color: $grey-color;
|
168
|
+
//border-left: 4px solid $grey-color-light;
|
169
|
+
//padding-left: $spacing-unit / 2;
|
170
|
+
@include relative-font-size(1.125);
|
171
|
+
letter-spacing: -1px;
|
172
|
+
font-weight:200;
|
173
|
+
color: $color-blockquote;
|
174
|
+
padding: 3rem 6em;
|
175
|
+
padding-left: 1rem;
|
176
|
+
margin-left: 5rem;
|
177
|
+
//font-style: italic;
|
178
|
+
|
179
|
+
> :last-child {
|
180
|
+
margin-bottom: 0;
|
181
|
+
}
|
182
|
+
display: block;
|
183
|
+
position: relative
|
184
|
+
}
|
185
|
+
|
186
|
+
blockquote:before {
|
187
|
+
content: "\201C";
|
188
|
+
left: -2rem;
|
189
|
+
top: -2rem;
|
190
|
+
font-size: 10rem;
|
191
|
+
color: $color1;
|
192
|
+
position: absolute;
|
193
|
+
box-sizing: border-box;
|
194
|
+
}
|
195
|
+
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Code formatting
|
199
|
+
*/
|
200
|
+
pre,
|
201
|
+
code {
|
202
|
+
@include relative-font-size(0.9375);
|
203
|
+
border: 1px solid $grey-color-light;
|
204
|
+
border-radius: 3px;
|
205
|
+
background-color: #eef;
|
206
|
+
}
|
207
|
+
|
208
|
+
code {
|
209
|
+
padding: 1px 5px;
|
210
|
+
}
|
211
|
+
|
212
|
+
pre {
|
213
|
+
padding: 8px 12px;
|
214
|
+
overflow-x: auto;
|
215
|
+
|
216
|
+
> code {
|
217
|
+
border: 0;
|
218
|
+
padding-right: 0;
|
219
|
+
padding-left: 0;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Wrapper
|
227
|
+
*/
|
228
|
+
.wrapper {
|
229
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
230
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
231
|
+
margin-right: auto;
|
232
|
+
margin-left: auto;
|
233
|
+
padding-right: $spacing-unit;
|
234
|
+
padding-left: $spacing-unit;
|
235
|
+
@extend %clearfix;
|
236
|
+
|
237
|
+
@include media-query($on-laptop) {
|
238
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
239
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
240
|
+
padding-right: $spacing-unit / 2;
|
241
|
+
padding-left: $spacing-unit / 2;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
/**
|
248
|
+
* Clearfix
|
249
|
+
*/
|
250
|
+
%clearfix:after {
|
251
|
+
content: "";
|
252
|
+
display: table;
|
253
|
+
clear: both;
|
254
|
+
}
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Icons
|
260
|
+
*/
|
261
|
+
|
262
|
+
.svg-icon {
|
263
|
+
width: 16px;
|
264
|
+
height: 16px;
|
265
|
+
display: inline-block;
|
266
|
+
fill: #{$grey-color};
|
267
|
+
padding-right: 5px;
|
268
|
+
vertical-align: text-top;
|
269
|
+
}
|
270
|
+
|
271
|
+
.social-media-list {
|
272
|
+
li + li {
|
273
|
+
padding-top: 5px;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
/**
|
280
|
+
* Tables
|
281
|
+
*/
|
282
|
+
table {
|
283
|
+
margin-bottom: $spacing-unit;
|
284
|
+
width: 100%;
|
285
|
+
text-align: $table-text-align;
|
286
|
+
color: lighten($text-color, 18%);
|
287
|
+
border-collapse: collapse;
|
288
|
+
border: 1px solid $grey-color-light;
|
289
|
+
tr {
|
290
|
+
&:nth-child(even) {
|
291
|
+
background-color: lighten($grey-color-light, 6%);
|
292
|
+
}
|
293
|
+
}
|
294
|
+
th, td {
|
295
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
296
|
+
}
|
297
|
+
th {
|
298
|
+
background-color: lighten($grey-color-light, 3%);
|
299
|
+
border: 1px solid darken($grey-color-light, 4%);
|
300
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
301
|
+
}
|
302
|
+
td {
|
303
|
+
border: 1px solid $grey-color-light;
|
304
|
+
}
|
305
|
+
}
|
@@ -0,0 +1,255 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
//border-top: 5px solid $grey-color-dark;
|
6
|
+
//border-bottom: 1px solid $grey-color-light;
|
7
|
+
min-height: $spacing-unit * 1.865;
|
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: 300;
|
16
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
17
|
+
letter-spacing: -1px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
float: left;
|
20
|
+
|
21
|
+
&,
|
22
|
+
&:visited {
|
23
|
+
color: $grey-color-dark;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.site-nav {
|
28
|
+
float: right;
|
29
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
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 $grey-color-light;
|
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;
|
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
|
+
|
195
|
+
> li {
|
196
|
+
margin-bottom: $spacing-unit;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
.post-meta {
|
201
|
+
font-size: $small-font-size;
|
202
|
+
color: $grey-color;
|
203
|
+
}
|
204
|
+
|
205
|
+
.post-link {
|
206
|
+
display: block;
|
207
|
+
@include relative-font-size(1.5);
|
208
|
+
}
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
/**
|
213
|
+
* Posts
|
214
|
+
*/
|
215
|
+
.post-header {
|
216
|
+
margin-bottom: $spacing-unit;
|
217
|
+
}
|
218
|
+
|
219
|
+
.post-title {
|
220
|
+
@include relative-font-size(2.625);
|
221
|
+
letter-spacing: -1px;
|
222
|
+
line-height: 1;
|
223
|
+
|
224
|
+
@include media-query($on-laptop) {
|
225
|
+
@include relative-font-size(2.25);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.post-content {
|
230
|
+
margin-bottom: $spacing-unit;
|
231
|
+
|
232
|
+
h2 {
|
233
|
+
@include relative-font-size(2);
|
234
|
+
|
235
|
+
@include media-query($on-laptop) {
|
236
|
+
@include relative-font-size(1.75);
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
h3 {
|
241
|
+
@include relative-font-size(1.625);
|
242
|
+
|
243
|
+
@include media-query($on-laptop) {
|
244
|
+
@include relative-font-size(1.375);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
h4 {
|
249
|
+
@include relative-font-size(1.25);
|
250
|
+
|
251
|
+
@include media-query($on-laptop) {
|
252
|
+
@include relative-font-size(1.125);
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
.highlight {
|
5
|
+
background: #fff;
|
6
|
+
@extend %vertical-rhythm;
|
7
|
+
|
8
|
+
.highlighter-rouge & {
|
9
|
+
background: #eef;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c { color: #998; font-style: italic } // Comment
|
13
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
+
.k { font-weight: bold } // Keyword
|
15
|
+
.o { font-weight: bold } // Operator
|
16
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
+
.ge { font-style: italic } // Generic.Emph
|
23
|
+
.gr { color: #a00 } // Generic.Error
|
24
|
+
.gh { color: #999 } // Generic.Heading
|
25
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
+
.go { color: #888 } // Generic.Output
|
28
|
+
.gp { color: #555 } // Generic.Prompt
|
29
|
+
.gs { font-weight: bold } // Generic.Strong
|
30
|
+
.gu { color: #aaa } // Generic.Subheading
|
31
|
+
.gt { color: #a00 } // Generic.Traceback
|
32
|
+
.kc { font-weight: bold } // Keyword.Constant
|
33
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
+
.m { color: #099 } // Literal.Number
|
38
|
+
.s { color: #d14 } // Literal.String
|
39
|
+
.na { color: #008080 } // Name.Attribute
|
40
|
+
.nb { color: #0086B3 } // Name.Builtin
|
41
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
+
.no { color: #008080 } // Name.Constant
|
43
|
+
.ni { color: #800080 } // Name.Entity
|
44
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
+
.nn { color: #555 } // Name.Namespace
|
47
|
+
.nt { color: #000080 } // Name.Tag
|
48
|
+
.nv { color: #008080 } // Name.Variable
|
49
|
+
.ow { font-weight: bold } // Operator.Word
|
50
|
+
.w { color: #bbb } // Text.Whitespace
|
51
|
+
.mf { color: #099 } // Literal.Number.Float
|
52
|
+
.mh { color: #099 } // Literal.Number.Hex
|
53
|
+
.mi { color: #099 } // Literal.Number.Integer
|
54
|
+
.mo { color: #099 } // Literal.Number.Oct
|
55
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
+
.sc { color: #d14 } // Literal.String.Char
|
57
|
+
.sd { color: #d14 } // Literal.String.Doc
|
58
|
+
.s2 { color: #d14 } // Literal.String.Double
|
59
|
+
.se { color: #d14 } // Literal.String.Escape
|
60
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
+
.si { color: #d14 } // Literal.String.Interpol
|
62
|
+
.sx { color: #d14 } // Literal.String.Other
|
63
|
+
.sr { color: #009926 } // Literal.String.Regex
|
64
|
+
.s1 { color: #d14 } // Literal.String.Single
|
65
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
+
.vc { color: #008080 } // Name.Variable.Class
|
68
|
+
.vg { color: #008080 } // Name.Variable.Global
|
69
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700');
|
6
|
+
|
7
|
+
$base-font-family-serif: 'Roboto Slab', serif;
|
8
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
9
|
+
$base-font-size: 16px !default;
|
10
|
+
$base-font-weight: 400 !default;
|
11
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
12
|
+
$base-line-height: 1.5 !default;
|
13
|
+
|
14
|
+
$spacing-unit: 30px !default;
|
15
|
+
|
16
|
+
$text-color: #383838 !default;
|
17
|
+
$background-color: #fafafa !default;
|
18
|
+
$brand-color: #2a7ae2 !default;
|
19
|
+
|
20
|
+
$color1: #0071BC !default;
|
21
|
+
$color-titulo: #4D4D4D !default;
|
22
|
+
$color-blockquote: #525252 !default;
|
23
|
+
|
24
|
+
$grey-color: #828282 !default;
|
25
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
26
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
27
|
+
|
28
|
+
$table-text-align: left !default;
|
29
|
+
|
30
|
+
// Width of the content area
|
31
|
+
$content-width: 800px !default;
|
32
|
+
|
33
|
+
$on-palm: 600px !default;
|
34
|
+
$on-laptop: 800px !default;
|
35
|
+
|
36
|
+
// Use media queries like this:
|
37
|
+
// @include media-query($on-palm) {
|
38
|
+
// .wrapper {
|
39
|
+
// padding-right: $spacing-unit / 2;
|
40
|
+
// padding-left: $spacing-unit / 2;
|
41
|
+
// }
|
42
|
+
// }
|
43
|
+
@mixin media-query($device) {
|
44
|
+
@media screen and (max-width: $device) {
|
45
|
+
@content;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@mixin relative-font-size($ratio) {
|
50
|
+
font-size: $base-font-size * $ratio;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Import partials.
|
54
|
+
@import
|
55
|
+
"tema_revista/base",
|
56
|
+
"tema_revista/layout",
|
57
|
+
"tema_revista/syntax-highlighting"
|
58
|
+
;
|
Binary file
|
data/assets/main.scss
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tema_revista
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Lesage
|
@@ -61,9 +61,18 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
+
- _includes/head.html
|
65
|
+
- _includes/header.html
|
64
66
|
- _layouts/default.html
|
67
|
+
- _layouts/home.html
|
65
68
|
- _layouts/page.html
|
66
69
|
- _layouts/post.html
|
70
|
+
- _sass/tema_revista.scss
|
71
|
+
- _sass/tema_revista/_base.scss
|
72
|
+
- _sass/tema_revista/_layout.scss
|
73
|
+
- _sass/tema_revista/_syntax-highlighting.scss
|
74
|
+
- assets/img/racquetball.jpg
|
75
|
+
- assets/main.scss
|
67
76
|
homepage: https://github.com/revista-bo/tema_revista
|
68
77
|
licenses:
|
69
78
|
- MIT
|