krad 3.4.9 → 3.5.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: 3c8129d3df18cd9278367d1d5daf5f1c1e3a1082
4
- data.tar.gz: 5fc46282f028ea8bba967ec9ceb37ae59587dc7f
3
+ metadata.gz: 0db42bd77968b79da02c8bc0a0de02bc9fc7fb1b
4
+ data.tar.gz: 33a15547d09f782a098bcc81e3cb1e9367123669
5
5
  SHA512:
6
- metadata.gz: 09b75ffcf16a47059691688583bd0d8658a1728af9d3a91e56328a073084d450d10ca5c542ec87852c4520b4bc54b8248084b999fb04b133a9182c0960c0f9b1
7
- data.tar.gz: 6edded954b2d60eeace9956c431b252980176deed945b2664020baea9d8b0107eb7084ba43302f1252cabc88932913ea14dbb83d1a37c371f2fe3c4496102d27
6
+ metadata.gz: bb52092ebbb34e178fd98c6d9f5580031dc8610ee1d21c3e118dd929ac4c6f532cb1f71c68b2e07dfc616a223a616a88f6b0e8cf6f0a5a40a61a121fb49dea92
7
+ data.tar.gz: 3a1799eabd9f4df1cfba0223c3abcf898663afb81464ebd1fef53d1bebe77dc77f1aa1279b32b5e38af6e1e904eb7cd26c4f63a229920b64e256bbb63da854bb
@@ -3,6 +3,6 @@ layout: default
3
3
  ---
4
4
 
5
5
  <article class="page wrapper">
6
- <h1 class="page-title">{{ page.title }}</h1>
6
+ {% if page.hide_title != true %}<h1 class="page-title">{{ page.title }}</h1>{% endif %}
7
7
  {{ content }}
8
8
  </article>
@@ -39,9 +39,31 @@ p { margin: 0 0 1.6rem; }
39
39
  a {
40
40
  color: $color-link;
41
41
  text-decoration: none;
42
+ position: relative;
42
43
  @include transition(all, .2s, ease-in-out);
44
+
45
+ &:before {
46
+ content: "";
47
+ position: absolute;
48
+ width: 100%;
49
+ height: 1px;
50
+ bottom: 0;
51
+ left: 0;
52
+ background-color: $color-link-hover;
53
+ visibility: hidden;
54
+ -webkit-transform: scaleX(0);
55
+ transform: scaleX(0);
56
+ @include transition(all, .2s, ease-in-out);
57
+ }
58
+
43
59
  &:hover {
44
60
  color: $color-link-hover;
61
+
62
+ &:before {
63
+ visibility: visible;
64
+ -webkit-transform: scaleX(1);
65
+ transform: scaleX(1);
66
+ }
45
67
  }
46
68
  }
47
69
 
@@ -76,8 +76,24 @@ dl {
76
76
  }
77
77
  }
78
78
 
79
+ hr {
80
+ display: block;
81
+ height: 1px;
82
+ border: 0;
83
+ border-top: 1px solid $color-gray-smoke;
84
+ margin: 1em 0;
85
+ padding: 0;
86
+ }
87
+
79
88
  table {
80
89
  margin-bottom: 1.6rem;
90
+ border: 1px solid $color-gray-smoke;
91
+
92
+ td, th {
93
+ border-left: 1px solid $color-gray-smoke;
94
+ border-top: 1px solid $color-gray-smoke;
95
+ padding: .25em .75em;
96
+ }
81
97
  }
82
98
  /* Codes */
83
99
  code, pre {
@@ -13,6 +13,10 @@
13
13
  display: block;
14
14
  text-align: center;
15
15
  @include transition(all, 1s);
16
+ &:before {
17
+ height: 0;
18
+ background-color: transparent;
19
+ }
16
20
  &:hover {
17
21
  span {
18
22
  background-color: $color-gray-light;
@@ -28,7 +28,7 @@
28
28
  margin-right: 0.5em;
29
29
  }
30
30
  &:hover {
31
- text-decoration: underline;
31
+ text-decoration: none;
32
32
  }
33
33
  a {
34
34
  @include set-font($font-family-serif, 1rem, $color-gray-darker);
@@ -1,14 +1,19 @@
1
+ .navbar {
2
+ margin: .25em 0;
3
+ }
1
4
  .navigation {
2
5
  list-style: none;
3
6
  padding: 0;
4
7
  margin-bottom: 0.5em;
5
8
  li {
6
- margin-right: .5rem;
9
+ margin-right: .75rem;
7
10
  a {
8
11
  color: $color-gray-smoke;
9
12
  font-weight: $font-semi-bold;
13
+ &:before {
14
+ height: 2px;
15
+ }
10
16
  &:hover {
11
- text-decoration: underline;
12
17
  color: $color-gray;
13
18
  }
14
19
  }
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.9
4
+ version: 3.5.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: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2018-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll