dev-blog-theme 1.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7564e396236654e19c8d340cff1c4fcccf22a3b72047ea97a94aca8059c7d928
4
- data.tar.gz: c11715ab586d10bc69be3ec1a0dce6a39a5a77bb9a2c24b91c01a98f0934e6f5
3
+ metadata.gz: 14a7bab8b4333310050441e3f7a24a8920700f01c2bc4c5a10b8017ae01ffacc
4
+ data.tar.gz: 9aaa3c204f9939f5c7401dd7053c5e01babe9ba9a96dd62b908309ff937560a9
5
5
  SHA512:
6
- metadata.gz: d17d5cd0157275678ddddc0bea2e9301eafa10da6ed57a45f6299728775fb201fcf5b45a41aea93818988620267089ac92689aa4a829218e94580ec01c61b373
7
- data.tar.gz: e13ed898af188153d2da9a734427bca80ddf40fa5ee7b35965dc8649e2222cded9d47f53b870831b950dfdee1d322a77eaf0a4c38f99ec0b09dbb80642b33ddd
6
+ metadata.gz: dcc3129cc862e56a0fce863eda332c929a66acdbaef195f35725bf5f2ef55e2d74b1a2ce96fbcde581a6d08a8c2d2ad0bd3d09860d30888f87966ddd94288bd9
7
+ data.tar.gz: 02cb02f52f96260b64b0b55b6ead77279642dea4406e184c801faabe42c860907f27f84202d96555b978cd707819e0c97f6b10074603a4927253307d185847e2
@@ -8,7 +8,7 @@
8
8
  {% assign comment_count = comments | size %}
9
9
  {% assign author = site.authors[page.author] %}
10
10
  <div id="comments">
11
- <h2>Comentários</h2>
11
+ <h2>Deixe seu comentário</h2>
12
12
  {% include new-comment.html %}
13
13
  <h3 id="comment-count">{% if comment_count == 1 %}Um comentário{% else %}{{ comment_count }} comentários{% endif %}</h3>
14
14
  <ol id="comments-list">
@@ -1,5 +1,5 @@
1
1
  <footer>
2
- Made with <span>&#9829;</span> by Me in Brasil
2
+ Made by me
3
3
  </footer>
4
4
  <script>
5
5
  function setupForm() {
@@ -27,4 +27,4 @@
27
27
  var fields = document.getElementById('commentfields')
28
28
  fields.disabled = true
29
29
  }
30
- </script>
30
+ </script>
data/_includes/head.html CHANGED
@@ -1,8 +1,7 @@
1
1
  <meta charset="UTF-8">
2
2
  <meta name="viewport" content="width=device-width, initial-scale=1">
3
3
  {%- seo -%}
4
- <link href="https://fonts.googleapis.com/css?family=Pacifico|Roboto"
5
- rel="stylesheet">
4
+ <link href="https://fonts.googleapis.com/css?family=Mate|Open+Sans+Condensed" rel="stylesheet">
6
5
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
7
6
  {%- feed_meta -%}
8
7
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
@@ -2,18 +2,20 @@
2
2
  <input name="redirect" type="hidden" value="{{site.url}}/thanks">
3
3
  <input name="post_id" type="hidden" value="{{ slug }}">
4
4
  <input name="comment-site" type="hidden" value="{{ site.url }}">
5
+ <div id="commentstatus" class="status"></div>
5
6
  <div id="comment-box">
6
7
  <img src="https://avatars.io/twitter//medium" data-fallbacksrc="/images/comments/unknown-avatar.png" data-role="user-avatar" alt="avatar" class="avatar" id="avatarPreview" />
7
- <div id="commenttext">
8
- <div id="commentstatus" class="status"></div>
8
+ <div id="commenttext">
9
9
  <textarea name="message" id="message" class="textarea" placeholder="Escreva algum comentario."></textarea>
10
10
  </div>
11
11
  </div>
12
12
  <input type="hidden" name="avatar" id="avatarInput" />
13
- <input type="text" name="name" id="name" placeholder="Nome de exibição" title="Nome que ficará visivel nos comentarios" data-required="true" />
14
- <input type="email" name="email" id="email" placeholder="email" data-required="true" value="" />
15
- <input type="url" name="url" id="url" placeholder="https://teste.com" />
16
- <span class="info-circle" title="Identity is used to generate an avatar image only. It is not submitted with the form."></span>
13
+ <div form class="personalInfo">
14
+ <input type="text" name="name" id="name" placeholder="Nome de exibição" title="Nome que ficará visivel nos comentarios" data-required="true" />
15
+ <input type="email" name="email" id="email" placeholder="email" data-required="true" value="" />
16
+ <input type="url" name="url" id="url" placeholder="https://teste.com" />
17
+ <span class="info-circle" title="Identity is used to generate an avatar image only. It is not submitted with the form."></span>
18
+ </div>
17
19
  <button type="button" onclick="setupForm()" id="commentbutton">Comentar</button>
18
20
  </form>
19
21
  <div id="commentstatus" style="clear:both" class="status"></div>
data/_sass/body.scss CHANGED
@@ -1,7 +1,8 @@
1
1
  section{
2
- max-width: 700px;
2
+ max-width: 50rem;
3
3
  margin: 0 auto;
4
4
  padding:1rem;
5
+
5
6
 
6
7
  .post-item{
7
8
  margin-bottom: 20px;
@@ -20,11 +21,15 @@ section{
20
21
 
21
22
  .post-item-summary{
22
23
  line-height: 1.5rem;
24
+ font-family: "Mate",Georgia,Cambria,"Times New Roman",Times,serif;
23
25
  }
24
26
  article{
25
27
  h1{
26
28
  font-size: 2rem;
27
29
  }
30
+ h2, h3, h4{
31
+ font-family: "Open Sans Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
32
+ }
28
33
  }
29
34
  .pagination{
30
35
  display: flex;
data/_sass/comments.scss CHANGED
@@ -8,8 +8,8 @@ div#comments {
8
8
  img.avatar {
9
9
  border-radius: 4px;
10
10
  float: left;
11
- width: 48px;
12
11
  height: 48px;
12
+ padding-right: 10px;
13
13
  }
14
14
 
15
15
  #comments-list {
@@ -68,6 +68,14 @@ div#comments {
68
68
  flex-direction:column;
69
69
  flex-wrap: wrap;
70
70
 
71
+ .personalInfo{
72
+ display:flex;
73
+ justify-content: space-around;
74
+ padding:0px;
75
+ margin:0px;
76
+ flex-flow: row wrap;
77
+ }
78
+
71
79
  input, textarea {
72
80
  transition: all .2s linear;
73
81
  padding: 5px 9px;
@@ -75,7 +83,8 @@ div#comments {
75
83
  font-size: 13px;
76
84
  border-radius: 4px;
77
85
  height: 32px;
78
- font-family: Roboto;
86
+ width: 100%;
87
+ font-family: "Open Sans Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
79
88
  }
80
89
 
81
90
 
data/_sass/footer.scss CHANGED
@@ -3,7 +3,6 @@ footer{
3
3
  color: #B7D7D8;
4
4
  margin-top: auto;
5
5
  text-align: center;
6
-
7
6
  span{
8
7
  color: $primary-color;
9
8
  }
data/_sass/header.scss CHANGED
@@ -3,7 +3,7 @@ html, body{
3
3
  display:flex;
4
4
  flex-direction: column;
5
5
  min-height:100vh;
6
- font-family:Roboto, sans-serif;
6
+ font: 400 21px/1.5 "Open Sans Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
7
7
 
8
8
  & > header{
9
9
  display: flex;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Tarzia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-01 00:00:00.000000000 Z
11
+ date: 2019-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll