krad 3.3.3 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53ef20dc6c76e90cdbf05ae8a601dc077fdd8b4c
4
- data.tar.gz: 73d89296a9ba555961e3837e836ae119139990ec
3
+ metadata.gz: 3bbfc4d4959fd678f5db5f5545e09e88662f4bf5
4
+ data.tar.gz: 6e12fcaa272973790fd73c8e4b097633098ff650
5
5
  SHA512:
6
- metadata.gz: a576894835ed2a683c5c7d52a3f95353b6e032f25199ee93dea695a4c49b4b036a706660fe99757fb217ff5ea14269fe81d05547d85984d7260b86024f436057
7
- data.tar.gz: aadc063f561267164bdd79a6b870af4663dd2ff27c69892847f1edd5025faa4704e1b55ab45b4e01ba94d5777b013d1087ce0e170b7d3177c102b2bdf44fb311
6
+ metadata.gz: 833d4c4072a1b6955451f978f6988fd61fc0c6fe3b077b76cc3cf59c6ab8de39790e1b6dd5e355ea95b52cbc3cd0345f6b3c34922a182d59960b4ed43778fe7a
7
+ data.tar.gz: fedaeb24fab3d2d8ed1af7b21b81d94d7686ddc7ff43de83252233bb1514ff7fede119bca20e38dc6e3f831dab6996d62f505dd0a802d51641c8819f74d07f5e
@@ -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
- <li class="pure-menu-item"><a href="{{ "/portfolio" | relative_url }}">Portfolio</a></li>
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>
@@ -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=Source+Sans+Pro:400,900,700,700italic|Noto+Serif:400,400italic,700,700italic&subset=latin,vietnamese' rel='stylesheet' type='text/css' media="none" onload="if(media!='all')media='all'">
3
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,900,700,700italic|Lora:400,400i,700,700i&amp;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|Noto+Serif:400,400italic,700,700italic&subset=latin,vietnamese' rel='stylesheet' type='text/css'>
13
+ <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,900,700,700italic|Lora:400,400i,700,700i&amp;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
- <h1 class="post-title">{{ page.title }}</h1>
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">
@@ -15,17 +15,17 @@
15
15
  h1 {
16
16
  @extend %headings;
17
17
  @extend %headings-big;
18
- font-size: 2rem;
18
+ font-size: 1.8rem;
19
19
  }
20
20
  h2 {
21
21
  @extend %headings;
22
22
  @extend %headings-big;
23
- font-size: 1.6rem;
23
+ font-size: 1.4rem;
24
24
  }
25
25
  h3 {
26
26
  @extend %headings;
27
27
  @extend %headings-big;
28
- font-size: 1.2rem;
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: 1rem;
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 #eee;
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
  }
@@ -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: 40%;
30
+ padding-bottom: 50%;
31
31
  }
32
32
 
33
33
  @media (max-width: 48em) {
34
34
  .post-header.featured_image {
35
- padding-bottom: 56%;
35
+ padding-bottom: 60%;
36
36
  }
37
37
  }
@@ -1,11 +1,11 @@
1
- $font-family-serif: 'Noto Serif', serif;
2
- $font-family-monospace: Monaco, "Courier New", monospace;
3
- $font-family-georgia: "georgia", serif;
4
- $font-family-sans-serif: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", 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.25rem;
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.3.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: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2017-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll