dev-blog-theme 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/comments.html +1 -1
- data/_includes/footer.html +2 -2
- data/_includes/head.html +1 -2
- data/_includes/new-comment.html +8 -6
- data/_sass/body.scss +6 -1
- data/_sass/comments.scss +11 -2
- data/_sass/footer.scss +0 -1
- data/_sass/header.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14a7bab8b4333310050441e3f7a24a8920700f01c2bc4c5a10b8017ae01ffacc
|
4
|
+
data.tar.gz: 9aaa3c204f9939f5c7401dd7053c5e01babe9ba9a96dd62b908309ff937560a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcc3129cc862e56a0fce863eda332c929a66acdbaef195f35725bf5f2ef55e2d74b1a2ce96fbcde581a6d08a8c2d2ad0bd3d09860d30888f87966ddd94288bd9
|
7
|
+
data.tar.gz: 02cb02f52f96260b64b0b55b6ead77279642dea4406e184c801faabe42c860907f27f84202d96555b978cd707819e0c97f6b10074603a4927253307d185847e2
|
data/_includes/comments.html
CHANGED
@@ -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>
|
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">
|
data/_includes/footer.html
CHANGED
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=
|
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 -%}
|
data/_includes/new-comment.html
CHANGED
@@ -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
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
|
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:
|
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
|
-
|
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
data/_sass/header.scss
CHANGED
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.
|
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-
|
11
|
+
date: 2019-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|