krad 3.3.3 → 3.4.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.
- checksums.yaml +4 -4
- data/_includes/header.html +1 -1
- data/_includes/stylesheets.html +2 -2
- data/_layouts/post.html +5 -3
- data/_sass/base/_typography.scss +25 -6
- data/_sass/layouts/_post.scss +2 -2
- data/_sass/variables/_fonts.scss +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bbfc4d4959fd678f5db5f5545e09e88662f4bf5
|
|
4
|
+
data.tar.gz: 6e12fcaa272973790fd73c8e4b097633098ff650
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 833d4c4072a1b6955451f978f6988fd61fc0c6fe3b077b76cc3cf59c6ab8de39790e1b6dd5e355ea95b52cbc3cd0345f6b3c34922a182d59960b4ed43778fe7a
|
|
7
|
+
data.tar.gz: fedaeb24fab3d2d8ed1af7b21b81d94d7686ddc7ff43de83252233bb1514ff7fede119bca20e38dc6e3f831dab6996d62f505dd0a802d51641c8819f74d07f5e
|
data/_includes/header.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<li class="pure-menu-item"><a href="{{ "/about" | relative_url }}">About</a></li>
|
|
7
7
|
<!--<li class="pure-menu-item"><a href="{{ "/archive" | relative_url }}">Archive</a></li>-->
|
|
8
8
|
<li class="pure-menu-item"><a href="http://photo.tunglt.com">Photo</a></li>
|
|
9
|
-
|
|
9
|
+
<!--<li class="pure-menu-item"><a href="{{ "/portfolio" | relative_url }}">Portfolio</a></li>-->
|
|
10
10
|
<li class="pure-menu-item"><a href="{{ "/contact" | relative_url }}">Contact</a></li>
|
|
11
11
|
<!--<li class="pure-menu-item"><a href="{{ "/copypasta" | relative_url }}">Copypasta</a></li>-->
|
|
12
12
|
</ul>
|
data/_includes/stylesheets.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% if include.async=="true" %}
|
|
2
2
|
<link rel="stylesheet" type="text/css" href="{{ "/assets/styles/components.css" | relative_url }}" media="none" onload="if(media!='all')media='all'">
|
|
3
|
-
<link href='https://fonts.googleapis.com/css?family=
|
|
3
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,900,700,700italic|Lora:400,400i,700,700i&subset=vietnamese' rel='stylesheet' type='text/css' media="none" onload="if(media!='all')media='all'">
|
|
4
4
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" media="none" onload="if(media!='all')media='all'">
|
|
5
5
|
<!--[if lte IE 8]>
|
|
6
6
|
<link rel="stylesheet" href="{{ "/assets/lib/pure/grids-responsive-old-ie-min.css" | relative_url }}">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<!--<![endif]-->
|
|
11
11
|
{% else %}
|
|
12
12
|
<link rel="stylesheet" type="text/css" href="{{ "/assets/styles/components.css" | relative_url }}">
|
|
13
|
-
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900,700,700italic|
|
|
13
|
+
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900,700,700italic|Lora:400,400i,700,700i&subset=vietnamese' rel='stylesheet' type='text/css'>
|
|
14
14
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
|
15
15
|
<!--[if lte IE 8]>
|
|
16
16
|
<link rel="stylesheet" href="{{ "/assets/lib/pure/grids-responsive-old-ie-min.css" | relative_url }}">
|
data/_layouts/post.html
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
<div class="wrapper">
|
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
7
|
+
<p><time datetime="{{ page.date | date_to_xmlschema }}" class="page-date">{{ page.date | date_to_string }}</time></p>
|
|
8
|
+
</div>
|
|
5
9
|
{% if page.featured_image %}
|
|
6
10
|
<div class="post-header featured_image" style="background-image:url({{ page.featured_image }});"></div>
|
|
7
11
|
{% endif %}
|
|
8
12
|
<article class="post wrapper">
|
|
9
|
-
|
|
10
|
-
<p><time datetime="{{ page.date | date_to_xmlschema }}" class="page-date">{{ page.date | date_to_string }}</time></p>
|
|
11
|
-
{% include recommend.html %}
|
|
13
|
+
{% include recommend.html %}
|
|
12
14
|
{{ content }}
|
|
13
15
|
</article>
|
|
14
16
|
<div class="post-footer wrapper">
|
data/_sass/base/_typography.scss
CHANGED
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
h1 {
|
|
16
16
|
@extend %headings;
|
|
17
17
|
@extend %headings-big;
|
|
18
|
-
font-size:
|
|
18
|
+
font-size: 1.8rem;
|
|
19
19
|
}
|
|
20
20
|
h2 {
|
|
21
21
|
@extend %headings;
|
|
22
22
|
@extend %headings-big;
|
|
23
|
-
font-size: 1.
|
|
23
|
+
font-size: 1.4rem;
|
|
24
24
|
}
|
|
25
25
|
h3 {
|
|
26
26
|
@extend %headings;
|
|
27
27
|
@extend %headings-big;
|
|
28
|
-
font-size: 1.
|
|
28
|
+
font-size: 1.1rem;
|
|
29
29
|
}
|
|
30
30
|
p + {
|
|
31
31
|
h1, h2, h3 {
|
|
@@ -42,8 +42,14 @@ ol + {
|
|
|
42
42
|
margin-top: 1.5rem;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
+
article.post h2 {
|
|
46
|
+
margin-top: 2.2rem;
|
|
47
|
+
}
|
|
48
|
+
article.post h3 {
|
|
49
|
+
margin-top: 1.5rem;
|
|
50
|
+
}
|
|
45
51
|
|
|
46
|
-
/* Lists */
|
|
52
|
+
/* Lists and Table*/
|
|
47
53
|
ul, ol {
|
|
48
54
|
margin-top: 0;
|
|
49
55
|
margin-bottom: 1rem;
|
|
@@ -70,6 +76,9 @@ dl {
|
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
78
|
|
|
79
|
+
table {
|
|
80
|
+
margin-bottom: 1.6rem;
|
|
81
|
+
}
|
|
73
82
|
/* Codes */
|
|
74
83
|
code, pre {
|
|
75
84
|
font-family: $font-family-monospace;
|
|
@@ -99,7 +108,7 @@ pre {
|
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
.highlight {
|
|
102
|
-
margin-bottom:
|
|
111
|
+
margin-bottom: 1.6rem;
|
|
103
112
|
padding: 1rem 1.25rem;
|
|
104
113
|
@include border-radius(.15em);
|
|
105
114
|
pre {
|
|
@@ -131,7 +140,17 @@ kbd {
|
|
|
131
140
|
blockquote {
|
|
132
141
|
padding: 1rem 1.5rem;
|
|
133
142
|
margin: 0px 0px 1rem;
|
|
134
|
-
border-left: .6rem solid
|
|
143
|
+
border-left: .6rem solid $color-gray-milk;
|
|
144
|
+
|
|
145
|
+
footer {
|
|
146
|
+
color: $color-gray-light;
|
|
147
|
+
font-size: 85%;
|
|
148
|
+
|
|
149
|
+
&:before {
|
|
150
|
+
content: "\2014 \00A0";
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
135
154
|
p:last-child, ul:last-child, ol:last-child {
|
|
136
155
|
margin-bottom: 0;
|
|
137
156
|
}
|
data/_sass/layouts/_post.scss
CHANGED
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
background-size: cover;
|
|
28
28
|
background-position: center center;
|
|
29
29
|
margin: 0 0 3.2em;
|
|
30
|
-
padding-bottom:
|
|
30
|
+
padding-bottom: 50%;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@media (max-width: 48em) {
|
|
34
34
|
.post-header.featured_image {
|
|
35
|
-
padding-bottom:
|
|
35
|
+
padding-bottom: 60%;
|
|
36
36
|
}
|
|
37
37
|
}
|
data/_sass/variables/_fonts.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
$font-family-serif: '
|
|
2
|
-
$font-family-monospace: Monaco,
|
|
3
|
-
$font-family-georgia:
|
|
4
|
-
$font-family-sans-serif:
|
|
1
|
+
$font-family-serif: 'Lora', serif;
|
|
2
|
+
$font-family-monospace: Monaco, 'Courier New', monospace;
|
|
3
|
+
$font-family-georgia: 'georgia', serif;
|
|
4
|
+
$font-family-sans-serif: 'Open Sans', sans-serif;
|
|
5
5
|
|
|
6
6
|
$font-size-main: 1rem;
|
|
7
7
|
$font-size-big: 1.125rem;
|
|
8
|
-
$font-size-bigger: 1.
|
|
8
|
+
$font-size-bigger: 1.3rem;
|
|
9
9
|
$font-size-small: 0.875rem;
|
|
10
10
|
$font-size-smaller: 0.7rem;
|
|
11
11
|
$font-size-blockquote-mark: 4rem;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: krad
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lê Thanh Tùng
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|