naive 0.2.1 → 0.3.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: 8c7c442b68816cc8d3a42eba9683899c648022cb
4
- data.tar.gz: f3af36ae158d8d02e99ff0b2cda5d9c298b1bc04
3
+ metadata.gz: a9f07711231d23b258475bfaef0a3768aee0fb8f
4
+ data.tar.gz: 77608230a799dc6fc607679f0b90b970f148e295
5
5
  SHA512:
6
- metadata.gz: e72cd98cac10794cd832f03841546789dd14cebce7da560665a7346d43fa5e7c3a8f79ce0c627a3267aa3b73662aca556555b71a831ea04ac33d134e74ae1403
7
- data.tar.gz: 832c5002a03811e71ff75b6330eefbc498fd8b23a12ce7cb112496341df8e8e3dd2f2318646a3498ccae61fcb70702f586793ce690fc60f26f654ee3e0280f4e
6
+ metadata.gz: 1221dc71b48a430bef29bb01b54730cba800bc3e22558b1ea5de8be2bfa72b7e12e7b5f0ece624a594ce729b7d94ac62db7ed7c0f6baab5f951d2c8fff37369b
7
+ data.tar.gz: c649b8fc131d17abdc259c575a5258ef5514bece1fd8e323a49ea62e4522817b49010b826e33230e81f7fdd2218ed8de06cb02d3664a603730e6e0046111d536
@@ -10,7 +10,7 @@
10
10
  <hr>
11
11
 
12
12
  <main>
13
- <div>
13
+ <div class="content">
14
14
  {{ content }}
15
15
  </div>
16
16
  </main>
data/_layouts/home.html CHANGED
@@ -2,23 +2,20 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div>
6
- {%- if site.posts.size > 0 -%}
7
- <ul>
8
- {%- for post in site.posts -%}
9
- <li>
10
- <h2>
11
- <a href="{{ post.url | relative_url }}">
12
- {{ post.title }}
13
- </a>
14
- </h2>
15
- {%- if site.show_excerpts -%}
16
- {{ post.excerpt }}
17
- {%- endif -%}
18
- </li>
19
- {%- endfor -%}
20
- </ul>
21
- {%- endif -%}
22
-
23
- </div>
5
+ {%- if site.posts.size > 0 -%}
6
+ <ul>
7
+ {%- for post in site.posts -%}
8
+ <li>
9
+ <h2>
10
+ <a href="{{ post.url | relative_url }}">
11
+ {{ post.title }}
12
+ </a>
13
+ </h2>
14
+ {%- if site.show_excerpts -%}
15
+ {{ post.excerpt }}
16
+ {%- endif -%}
17
+ </li>
18
+ {%- endfor -%}
19
+ </ul>
20
+ {%- endif -%}
24
21
 
data/_layouts/page.html CHANGED
@@ -2,7 +2,5 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div>
6
- {{ content }}
7
- </div>
5
+ {{ content }}
8
6
 
data/_sass/_layout.scss CHANGED
@@ -1,17 +1,34 @@
1
1
  hr {
2
- margin: 10px;
2
+ margin: 10px;
3
3
  }
4
4
 
5
5
  h1 {
6
- text-align: center;
6
+ text-align: center;
7
7
  }
8
8
 
9
9
  .nav-ul {
10
- list-style-type: none;
10
+ list-style-type: none;
11
11
  }
12
12
 
13
13
  .nav-li {
14
- padding: 10px;
14
+ padding: 20px;
15
+ display: inline;
16
+ }
17
+
18
+ .content {
19
+ margin: 30px;
20
+ }
21
+
22
+ @media only screen and (max-width: 800px) {
23
+ /* For tablets: */
24
+ .content {
25
+ margin: 20px;
26
+ }
27
+ }
28
+
29
+ @media only screen and (max-width: 500px) {
30
+ /* For mobile phones: */
31
+ .content {
15
32
  margin: 10px;
16
- display: inline;
17
- }
33
+ }
34
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - luohy15