materialize-jekyll 0.3.0 → 0.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: c4d0eb44056f1b66b7932ff127f5bf0a6eb6364f
4
- data.tar.gz: 164e6ab5f4b5d8a27e5a21dc056509d6ebac5acb
3
+ metadata.gz: 8dd8cd692d4f270351038475ddda6de21fd7e63f
4
+ data.tar.gz: 0d9994c3a4ccce4ffd5f1ddf16d2f5581f5b171a
5
5
  SHA512:
6
- metadata.gz: 1f5f17855d5b79275e141826dd3e96b66f09eaa32a0c326229ed3f94b1c94cd2facae6a8ac803296375c46134c70a5a84d7587ba63590c1d37652b16eac44965
7
- data.tar.gz: 95eae0d8af2bd7bbb209a015034f86aaff2e25ba9cbc90b1f0845de2b7678f7527559ae68c9c3df448721c958d2b592e6a62b9aff97b097be001997e830f48be
6
+ metadata.gz: d3bbad3fbe0c5c641e570b7a5deae8e5c95ba6f5bcef7e7fa64a73ae5874f15ef1bdb531dc047ca797a3464c8ac146a21f49cc5e95fbe421f64c6c02c6601a1b
7
+ data.tar.gz: bd2e87c9b1b17fb11d93750b006009981e634f905ccaededed5ea1d9d73d430c664541005cf32f9b2b6b842bae0e8f5c65082daf763a3c60701a4f68647900b7
@@ -1,13 +1,6 @@
1
1
  {% include header.html %}
2
2
  {% include navbar.html %}
3
3
 
4
- <div class="section no-pad-bot">
5
- <div class="container blog-posts">
6
- <div id="masonry-grid" class="row">
7
- {{ content }}
8
- </div>
9
- </div>
10
- </div>
11
-
4
+ {{ content }}
12
5
 
13
6
  {% include footer.html %}
@@ -0,0 +1,62 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main>
6
+ <div class="section no-pad-bot">
7
+ <div class="container blog-posts">
8
+ <div id="masonry-grid" class="row">
9
+ {% for post in site.posts %}
10
+ <div class="col s12 m6 l4">
11
+ <div class="card hoverable">
12
+ {% if post.image %}
13
+ <div class="card-image">
14
+ <img src="{{ post.image }}">
15
+ </div>
16
+
17
+ <div class="btn-menu" style="padding:0px">
18
+ <div class="fixed-action-btn horizontal click-to-toggle" style="position:relative; float:right; bottom:30px; right:10px; z-index: 1">
19
+ <a class="btn-floating btn-large teal lighten-1 z-depth-4 waves-effect waves-light">
20
+ <i class="large material-icons btn-icon">share</i>
21
+ </a>
22
+ <ul>
23
+ <li><a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ site.baseurl }}{{ post.url }}" class="btn-floating fb-color" onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;" title="Compartilhar no Facebook">
24
+ <div class="fb-btn nested-btn valign-wrapper btn-white" >
25
+ </div>
26
+ </a></li>
27
+ <li><a href="https://twitter.com/intent/tweet?text=&quot;{{ post.twitter_text }}&quot;%20{{ site.url }}{{ post.url }}%20via%20&#64;{{ site.twitter_username }}&hashtags={% for tag in post.tags %}{{tag}},{% endfor %}" class="btn-floating twitter-color" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;" title="Compartilhar no Twitter">
28
+ <div class="twitter-btn nested-btn btn-white">
29
+ </div>
30
+ </a></li>
31
+ </ul>
32
+ </div>
33
+ </div>
34
+ {% else %}
35
+
36
+
37
+ {% endif %}
38
+ <div class="card-content">
39
+ <span class="grey-text text-lighten-1">{% include date.html date=post.date %}</span>
40
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><span class="flow-text card-title"><b>{{ post.title }}</b></span></a>
41
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
42
+ <p class="post-description">{{ post.introduction }}</p>
43
+ </a>
44
+ <br>
45
+ <div class="tags">
46
+ {% for tag in post.tags %}
47
+ <a href="{{site.baseurl}}/tags/#{{tag | slugify }}"><div class="chip"><b>{{ tag }}</b></div></a>
48
+ {% endfor %}
49
+ </div>
50
+ </div>
51
+ <div class="card-action">
52
+ <div class="center-align">
53
+ <a href="{{ post.url | prepend: site.baseurl }}" class="brown-text text-lighten-1">Read More</a>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ {% endfor %}
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </main>
@@ -1,5 +1,6 @@
1
- {% include header.html %}
2
- {% include navbar.html %}
1
+ ---
2
+ layout: default
3
+ ---
3
4
 
4
5
  <header id="top-bar" class="main-top"></header>
5
6
  <div class="container container-main">
@@ -19,5 +20,5 @@
19
20
  {% include author.html %}
20
21
  </div>
21
22
  </div>
23
+
22
24
  {% include comments.html %}
23
- {% include footer.html %}
@@ -1,4 +1,3 @@
1
- .card {
2
1
  .card-title {
3
2
  color: rgba(0, 0, 0, 0.87);
4
3
  }
@@ -7,6 +6,11 @@
7
6
  overflow: hidden;
8
7
  }
9
8
 
9
+ .hoverable:hover {
10
+ transition: box-shadow .25s;
11
+ box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 0 0 0 rgba(0, 0, 0, 0);
12
+ }
13
+
10
14
  .hoverable:hover .card-image img {
11
15
  -webkit-transform: scale(1.08);
12
16
  transform: scale(1.08);
@@ -30,4 +34,3 @@
30
34
  a.post-link {
31
35
  text-decoration: none;
32
36
  }
33
- }
@@ -8,13 +8,25 @@
8
8
  @import "author";
9
9
  @import "post";
10
10
 
11
+ body {
12
+ display: flex;
13
+ min-height: 100vh;
14
+ flex-direction: column;
15
+ }
16
+
17
+ main {
18
+ flex: 1 0 auto;
19
+ }
11
20
 
12
21
  .adjust-index{
13
22
  z-index:0 !important;
14
23
  }
15
24
 
16
25
  p {
17
- line-height: 2rem;
26
+ line-height: 2.0rem;
27
+ font-size: 1.25rem;
28
+ letter-spacing: 0.1rem;
29
+ font-weight: 300;
18
30
  }
19
31
 
20
32
  .button-collapse {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialize-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Presumido
@@ -84,6 +84,7 @@ files:
84
84
  - _includes/share.html
85
85
  - _layouts/compress.html
86
86
  - _layouts/default.html
87
+ - _layouts/home.html
87
88
  - _layouts/page.html
88
89
  - _layouts/post.html
89
90
  - _sass/.DS_Store