minimaterialize 1.0.0 → 1.0.1

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: 5608c97648dd215429187ba58c500a068913e289
4
- data.tar.gz: 221c2b9f007f7df80459338e467e62ba00719a86
3
+ metadata.gz: 5f18e80739167e732085a49836ab1895d1e841d2
4
+ data.tar.gz: 8c60d81b4154a7dbba46b9250b22309f94c4fbc1
5
5
  SHA512:
6
- metadata.gz: 9242385feac858fdbffa8c2f8782c860babe7d74850e07f70e68ca1b2776d32ef5ef56e38d2bd3c30c1eeecb52edba22832df2ae0e06a09d9a0582592cfd2793
7
- data.tar.gz: 1670fa866d86221934d215e8c40f1401f1a0e90cbae36e7e58686a51b10d6d42379082c381da2d7e7ee00db79cafde00cdb4dee6b2fcfe89ea7e95e1587156d3
6
+ metadata.gz: 198b04a2082c6cec730a6410d8ca1a51e23b8d255bd68e6cf89222eb462c9acff523c85d9dae22fa1958c3e54da37207aebecebcf4109ab4bbed790d89b237a1
7
+ data.tar.gz: d7f45280f69b08d413a6d6bb6e6eeb24213bdfe38d49818b8c2061893c082c3deaaceec366f72801596f9892fa9d8e5061bd4f397f5592aea2e1c43ea05b7b4d
data/README.md CHANGED
@@ -11,12 +11,9 @@ PR with a cool fix or feature!
11
11
 
12
12
  **TODO:**
13
13
 
14
- - Style views with default materialize components
15
14
  - Add extra demos of materialize functionality
16
15
  - exclude node_modules from build, replace with assets/vendor or something
17
- - set up main js and initialize materialize js
18
16
  - Update screenshot
19
- - Publish to Ruby Gems
20
17
 
21
18
  > ***Minima** is a one-size-fits-all Jekyll theme for writers*. It's Jekyll's default (and first) theme. It's what you get when you run `jekyll new`.
22
19
 
@@ -248,7 +245,7 @@ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
248
245
 
249
246
  --
250
247
 
251
- ### Enabling Excerpts on the Home Page
248
+ ### Home Page Options
252
249
 
253
250
  To display post-excerpts on the Home Page, simply add the following to your `_config.yml`:
254
251
 
@@ -256,6 +253,32 @@ To display post-excerpts on the Home Page, simply add the following to your `_co
256
253
  show_excerpts: true
257
254
  ```
258
255
 
256
+ The Materialize `truncate` class is used in `_layouts/home.html` to keep things
257
+ tidy. You can disable this by setting:
258
+
259
+ ```yaml
260
+ truncate_excerpts: false
261
+ ```
262
+
263
+ To use Materialize `.card`s for each listed post, set:
264
+
265
+ ```yaml
266
+ post_cards: true
267
+ ```
268
+
269
+ To use a fancy two-column layout on larger screens:
270
+
271
+ ```yaml
272
+ post_columns: true
273
+ ```
274
+
275
+ To use the Materialize card with image, set the following and make sure the post
276
+ has `image:` set to a relative image path in the front matter.
277
+
278
+ ```yaml
279
+ post_images: true
280
+ ```
281
+
259
282
  ## Contributing
260
283
 
261
284
  Bug reports and pull requests are welcome on GitHub at https://github.com/sh78/minimaterialize. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -1,35 +1,34 @@
1
- <footer class="site-footer h-card">
1
+ <footer class="page-footer">
2
2
  <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
3
 
4
- <div class="wrapper">
5
-
6
- <h2 class="footer-heading">{{ site.title | escape }}</h2>
7
-
8
- <div class="footer-col-wrapper">
9
- <div class="footer-col footer-col-1">
10
- <ul class="contact-list">
11
- <li class="p-name">
12
- {%- if site.author -%}
13
- {{ site.author | escape }}
14
- {%- else -%}
15
- {{ site.title | escape }}
16
- {%- endif -%}
17
- </li>
18
- {%- if site.email -%}
19
- <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
- {%- endif -%}
21
- </ul>
4
+ <div class="container">
5
+ <div class="row">
6
+ <div class="col l6 s12">
7
+ <h5 class="white-text">{{ site.title | escape }}</h5>
8
+ <p class="grey-text text-lighten-4">
9
+ {%- if site.author -%}
10
+ {{ site.author | escape }}
11
+ {%- else -%}
12
+ {{ site.title | escape }}
13
+ {%- endif -%}
14
+ {%- if site.email -%}
15
+ <br>
16
+ <a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a>
17
+ </p>
18
+ {%- endif -%}
19
+ <p class="grey-text text-lighten-4">{{- site.description | escape -}}</p>
22
20
  </div>
23
-
24
- <div class="footer-col footer-col-2">
21
+ <div class="col l4 offset-l2 s12">
22
+ <h5 class="white-text">Links</h5>
25
23
  {%- include social.html -%}
26
24
  </div>
27
-
28
- <div class="footer-col footer-col-3">
29
- <p>{{- site.description | escape -}}</p>
30
- </div>
31
25
  </div>
32
-
26
+ </div>
27
+ <div class="footer-copyright">
28
+ <div class="container">
29
+ &copy; 2018 Copyright Text
30
+ <a class="grey-text text-lighten-4 right" href="#!">More Links</a>
31
+ </div>
33
32
  </div>
34
33
 
35
34
  </footer>
@@ -6,6 +6,7 @@
6
6
  <!--Import Google Icon Font-->
7
7
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
8
8
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
9
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
9
10
  {%- feed_meta -%}
10
11
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
11
12
  {%- include google-analytics.html -%}
@@ -1,4 +1,4 @@
1
- <header class="site-header" role="banner">
1
+ <header class="page-header" role="banner">
2
2
  {%- assign default_paths = site.pages | map: "path" -%}
3
3
  {%- assign page_paths = site.header_pages | default: default_paths -%}
4
4
 
@@ -1,14 +1,98 @@
1
1
  <ul class="social-media-list">
2
- {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
- {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
- {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
- {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
- {%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
- {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
- {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
- {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
- {%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
- {%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
12
- {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
13
- {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
2
+ {%- if site.dribbble_username -%}
3
+ <li>
4
+ <a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}">
5
+ <i class="fab fa-dribbble fa-fw"></i>
6
+ <span class="username">{{ site.dribbble_username| escape }}</span>
7
+ </a>
8
+ </li>
9
+ {%- endif -%}
10
+ {%- if site.facebook_username -%}
11
+ <li>
12
+ <a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}">
13
+ <i class="fab fa-facebook fa-fw"></i>
14
+ <span class="username">{{ site.facebook_username| escape }}</span>
15
+ </a>
16
+ </li>
17
+ {%- endif -%}
18
+ {%- if site.flickr_username -%}
19
+ <li>
20
+ <i class="fab fa-flickr fa-fw"></i>
21
+ <a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><span class="username">{{ site.flickr_username| escape }}</span>
22
+ </a>
23
+ </li>
24
+ {%- endif -%}
25
+ {%- if site.github_username -%}
26
+ <li>
27
+ <a href="https://github.com/{{ site.github_username| cgi_escape | escape }}">
28
+ <i class="fab fa-github fa-fw"></i>
29
+ <span class="username">{{ site.github_username| escape }}</span>
30
+ </a>
31
+ </li>
32
+ {%- endif -%}
33
+ {%- if site.instagram_username -%}
34
+ <li>
35
+ <a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}">
36
+ <i class="fab fa-instagram fa-fw"></i>
37
+ <span class="username">{{ site.instagram_username| escape }}</span>
38
+ </a>
39
+ </li>
40
+ {%- endif -%}
41
+ {%- if site.linkedin_username -%}
42
+ <li>
43
+ <a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}">
44
+ <i class="fab fa-linkedin fa-fw"></i>
45
+ <span class="username">{{ site.linkedin_username| escape }}</span>
46
+ </a>
47
+ </li>
48
+ {%- endif -%}
49
+ {%- if site.pinterest_username -%}
50
+ <li>
51
+ <a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}">
52
+ <i class="fab fa-pinterest fa-fw"></i>
53
+ <span class="username">{{ site.pinterest_username| escape }}</span>
54
+ </a>
55
+ </li>
56
+ {%- endif -%}
57
+ {%- for mst in site.mastodon -%}
58
+ {%- if mst.username and mst.instance -%}
59
+ <li>
60
+ <a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}">
61
+ <span class="username">{{ mst.username|escape }}</span>
62
+ </a>
63
+ </li>
64
+ {%- endif -%}
65
+ {%- endfor -%}
66
+ {%- if site.twitter_username -%}
67
+ <li>
68
+ <a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}">
69
+ <i class="fab fa-twitter fa-fw"></i>
70
+ <span class="username">{{ site.twitter_username| escape }}</span>
71
+ </a>
72
+ </li>
73
+ {%- endif -%}
74
+ {%- if site.youtube_username -%}
75
+ <li>
76
+ <a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}">
77
+ <i class="fab fa-youtube fa-fw"></i>
78
+ <span class="username">{{ site.youtube_username| escape }}</span>
79
+ </a>
80
+ </li>
81
+ {%- endif -%}
82
+ {%- if site.googleplus_username -%}
83
+ <li>
84
+ <a href="https://plus.google.com/{{ site.googleplus_username| escape }}">
85
+ <i class="fab fa-google-plus fa-fw"></i>
86
+ <span class="username">{{ site.googleplus_username| escape }}</span>
87
+ </a>
88
+ </li>
89
+ {%- endif -%}
90
+ {%- if site.rss -%}
91
+ <li>
92
+ <a href="{{ 'feed.xml' | relative_url }}">
93
+ <i class="fas fa-rss fa-fw"></i>
94
+ <span>{{ site.rss | escape }}</span>
95
+ </a>
96
+ </li>
97
+ {%- endif -%}
14
98
  </ul>
@@ -14,7 +14,7 @@
14
14
  {%- include footer.html -%}
15
15
 
16
16
  <script src="{{'/node_modules/materialize-css/dist/js/materialize.min.js' | prepend: site.baseurl}}"></script>
17
- <script src="{{'assets/javascript/main.js' | prepend: site.baseurl}}"></script>
17
+ <script src="{{'/assets/javascript/main.js' | prepend: site.baseurl}}"></script>
18
18
 
19
19
  </body>
20
20
 
@@ -4,31 +4,57 @@ layout: default
4
4
 
5
5
  <div class="home">
6
6
  {%- if page.title -%}
7
- <h1 class="page-heading">{{ page.title }}</h1>
7
+ <h1 class="page-heading">{{ page.title }}</h1>
8
8
  {%- endif -%}
9
9
 
10
10
  {{ content }}
11
11
 
12
12
  {%- if site.posts.size > 0 -%}
13
- <h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
14
- <ul class="post-list">
13
+ <div class="post-listing">
14
+ <h2 class="post-list-heading">
15
+ {%- if site.home_posts_title -%}{{ page.list_title | default: "Posts" }}{%- endif -%}
16
+ </h2>
17
+ <div class="row{% if site.post_columns %} fill-height{% endif %}">
15
18
  {%- for post in site.posts -%}
16
- <li>
17
- {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
18
- <span class="post-meta">{{ post.date | date: date_format }}</span>
19
- <h3>
20
- <a class="post-link" href="{{ post.url | relative_url }}">
21
- {{ post.title | escape }}
22
- </a>
23
- </h3>
24
- {%- if site.show_excerpts -%}
25
- {{ post.excerpt }}
19
+ <div class="col s12{% if site.post_columns %} m6{% endif %}">
20
+ <div class="{%- if site.post_cards -%}card{%- endif -%}">
21
+ {%- if site.post_images -%}
22
+ <div class="card-image">
23
+ <img src="images/sample-1.jpg">
24
+ </div>
25
+ {%- endif -%}
26
+ <div class="{%- if site.post_cards -%}card-content{%- endif -%}">
27
+ {%- if site.post_cards -%}
28
+ <a class="btn-floating halfway-fab waves-effect waves-light hoverable" href="{{ post.url | relative_url }}"><i class="material-icons">subdirectory_arrow_right</i></a>
29
+ {%- endif -%}
30
+ <h3 class="card-title">
31
+ <a class="post-link" href="{{ post.url | relative_url }}">
32
+ {{ post.title | escape }}
33
+ </a>
34
+ </h3>
35
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
36
+ <span class="post-meta grey-text">
37
+ <time datetime="{{ post.date }}">{{ post.date | date: date_format }}</time>
38
+ </span>
39
+ {%- if site.show_excerpts -%}
40
+ <p class="{%- if site.truncate_excerpts -%}truncate{%- endif -%}">{{ post.excerpt | remove: '<p>' | remove: '</p>' }}</p>
41
+ {%- endif -%}
42
+ </div>
43
+ </div>
44
+ </div>
45
+ {%- if site.post_columns -%}
46
+ {%- assign the_index_even = forloop.index | modulo: 2 -%}
47
+ {%- if the_index_even == 0 -%}
48
+ </div>
49
+ <div class="row fill-height">
26
50
  {%- endif -%}
27
- </li>
51
+ {%- endif -%}
28
52
  {%- endfor -%}
29
- </ul>
53
+ </div>
30
54
 
31
- <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
55
+ </div>
56
+
57
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
32
58
  {%- endif -%}
33
59
 
34
60
  </div>
@@ -39,7 +39,7 @@ $primary-color: color("blue-grey", "darken-1");
39
39
  $primary-color-light: lighten($primary-color, 15%);
40
40
  $primary-color-dark: darken($primary-color, 15%);
41
41
 
42
- $secondary-color: color("teal", "lighten-1");
42
+ $secondary-color: color("light-blue", "lighten-1");
43
43
  $success-color: color("green", "base");
44
44
  $error-color: color("red", "base");
45
45
  $link-color: color("light-blue", "darken-1");
@@ -91,7 +91,7 @@ $button-flat-disabled-color: lighten(#999, 10%);
91
91
 
92
92
  // Floating buttons
93
93
  $button-floating-background: $secondary-color;
94
- $button-floating-background-hover: $button-floating-background;
94
+ $button-floating-background-hover: darken($button-floating-background, 10%);
95
95
  $button-floating-color: #fff;
96
96
  $button-floating-size: 40px;
97
97
  $button-floating-radius: 50%;
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background: #fff;
6
+ // @extend %vertical-rhythm;
7
+
8
+ .highlighter-rouge & {
9
+ background: #eef;
10
+ }
11
+
12
+ .c { color: #998; font-style: italic } // Comment
13
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
14
+ .k { font-weight: bold } // Keyword
15
+ .o { font-weight: bold } // Operator
16
+ .cm { color: #998; font-style: italic } // Comment.Multiline
17
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
18
+ .c1 { color: #998; font-style: italic } // Comment.Single
19
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
20
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
21
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
22
+ .ge { font-style: italic } // Generic.Emph
23
+ .gr { color: #a00 } // Generic.Error
24
+ .gh { color: #999 } // Generic.Heading
25
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
26
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
27
+ .go { color: #888 } // Generic.Output
28
+ .gp { color: #555 } // Generic.Prompt
29
+ .gs { font-weight: bold } // Generic.Strong
30
+ .gu { color: #aaa } // Generic.Subheading
31
+ .gt { color: #a00 } // Generic.Traceback
32
+ .kc { font-weight: bold } // Keyword.Constant
33
+ .kd { font-weight: bold } // Keyword.Declaration
34
+ .kp { font-weight: bold } // Keyword.Pseudo
35
+ .kr { font-weight: bold } // Keyword.Reserved
36
+ .kt { color: #458; font-weight: bold } // Keyword.Type
37
+ .m { color: #099 } // Literal.Number
38
+ .s { color: #d14 } // Literal.String
39
+ .na { color: #008080 } // Name.Attribute
40
+ .nb { color: #0086B3 } // Name.Builtin
41
+ .nc { color: #458; font-weight: bold } // Name.Class
42
+ .no { color: #008080 } // Name.Constant
43
+ .ni { color: #800080 } // Name.Entity
44
+ .ne { color: #900; font-weight: bold } // Name.Exception
45
+ .nf { color: #900; font-weight: bold } // Name.Function
46
+ .nn { color: #555 } // Name.Namespace
47
+ .nt { color: #000080 } // Name.Tag
48
+ .nv { color: #008080 } // Name.Variable
49
+ .ow { font-weight: bold } // Operator.Word
50
+ .w { color: #bbb } // Text.Whitespace
51
+ .mf { color: #099 } // Literal.Number.Float
52
+ .mh { color: #099 } // Literal.Number.Hex
53
+ .mi { color: #099 } // Literal.Number.Integer
54
+ .mo { color: #099 } // Literal.Number.Oct
55
+ .sb { color: #d14 } // Literal.String.Backtick
56
+ .sc { color: #d14 } // Literal.String.Char
57
+ .sd { color: #d14 } // Literal.String.Doc
58
+ .s2 { color: #d14 } // Literal.String.Double
59
+ .se { color: #d14 } // Literal.String.Escape
60
+ .sh { color: #d14 } // Literal.String.Heredoc
61
+ .si { color: #d14 } // Literal.String.Interpol
62
+ .sx { color: #d14 } // Literal.String.Other
63
+ .sr { color: #009926 } // Literal.String.Regex
64
+ .s1 { color: #d14 } // Literal.String.Single
65
+ .ss { color: #990073 } // Literal.String.Symbol
66
+ .bp { color: #999 } // Name.Builtin.Pseudo
67
+ .vc { color: #008080 } // Name.Variable.Class
68
+ .vg { color: #008080 } // Name.Variable.Global
69
+ .vi { color: #008080 } // Name.Variable.Instance
70
+ .il { color: #099 } // Literal.Number.Integer.Long
71
+ }
@@ -50,3 +50,65 @@
50
50
  @import "components/pulse";
51
51
  @import "components/datepicker";
52
52
  @import "components/timepicker";
53
+
54
+
55
+ // keep the original minima syntax highlighting
56
+ @import "minima/syntax-highlighting";
57
+
58
+ /* Main Styles */
59
+
60
+ // Links
61
+ .page-content {
62
+ a {
63
+ &:hover {
64
+ color: darken($link-color, 10%);
65
+ }
66
+ }
67
+ }
68
+
69
+ .page-header, .page-footer {
70
+ a {
71
+ color: color("light-blue", "lighten-4");
72
+
73
+ &:hover {
74
+ color: color("light-blue", "lighten-5");
75
+ }
76
+ }
77
+ }
78
+
79
+ // Touch up the main post listing layout
80
+ .post-listing {
81
+ .row {
82
+ margin-bottom: 0;
83
+ }
84
+ .col {
85
+ margin-bottom: 20px;
86
+ @media #{$medium-and-up} {
87
+ margin-bottom: 35px;
88
+ }
89
+ }
90
+
91
+ .card-title {
92
+ margin-top: 0;
93
+ }
94
+ }
95
+ // 2-coloumn grid of cards that fill empty vertical space
96
+ @media #{$medium-and-up} {
97
+ .fill-height {
98
+ display: flex;
99
+ margin-bottom: 35px;
100
+
101
+ > .col {
102
+ flex: 1 1 auto;
103
+
104
+ .card {
105
+ height: 100%;
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ // fix awkward lack of padding at the bottom of a post/page
112
+ .post-content, .page-content {
113
+ margin-bottom: 30px;
114
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimaterialize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Henderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-28 00:00:00.000000000 Z
11
+ date: 2018-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -94,6 +94,7 @@ files:
94
94
  - _sass/_variables.scss
95
95
  - _sass/materialize.scss
96
96
  - _sass/minima.scss
97
+ - _sass/minima/_syntax-highlighting.scss
97
98
  - assets/javascript/main.js
98
99
  - assets/main.scss
99
100
  - assets/minima-social-icons.svg