jekyll-hackcss 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 68a44395c7a75fea8c13b454b453b71f058572b8
4
- data.tar.gz: d223a26d60e1e0e87e14cda1170d97ea80b05536
3
+ metadata.gz: f1c9b37ace92cae7c6f57c39b138573afebbf083
4
+ data.tar.gz: 2581ed9ea30ed4d57045c0f299e99d09617a2a8f
5
5
  SHA512:
6
- metadata.gz: 539077b73913a28d76909549e259da46d3f3d05d3871efd61ef5bb06c5c6ce794524e1bfc4c385b0770dd24ef2e1333c16501d061ed9e1504d190374302e0467
7
- data.tar.gz: 4f06e41ac67fa58f723558495b31e3890e0dc406ca3612b03ff42c2ea078dfd02806da66852b8cb933f0c09b6e93bb4c838db39df5e1192e767fb72394dcb2e6
6
+ metadata.gz: 47a06ac5eed4e1f57eca33f5c7d468dd235af17f7cda9078404763bdedcfafbfd01dd9895c514b7569e066b1a3e638e10d14657f520c338c3430a5427291df64
7
+ data.tar.gz: 4c12a9d0ed996e143d208e955fcf14067beb0399315bb86fac2f2f8688122cecfca202af191c6f9d5ed8b96eb17e320e9b08ac5c2d5313252f8858c0d4c7fd4c
data/README.md CHANGED
@@ -88,7 +88,7 @@ social:
88
88
 
89
89
  ## Contributing
90
90
 
91
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
91
+ Bug reports and pull requests are welcome on GitHub at https://github.com/vcavallo/jekyll-hackcss .
92
92
 
93
93
  ## License
94
94
 
@@ -28,6 +28,10 @@
28
28
  <link rel="stylesheet" href="{{ "/assets/styles.css" }}" />
29
29
  <!--{{ site.theme }}-->
30
30
 
31
+ {% if site.custom_styles %}
32
+ <link rel="stylesheet" href="{{ "/assets/custom-styles.css" }}" />
33
+ {% endif %}
34
+
31
35
  <!-- Feed -->
32
36
  <link rel="alternate" type="application/rss+xml" title="{{ site.title }}"
33
37
  href="{{ "/feed.xml" | relative_url }}" />
@@ -1,5 +1,5 @@
1
1
  <div class="t-hackcss-navigation">
2
- <h2 class="t-hackcss-navigation-heading">Menu</h2>
2
+ <h2 class="t-hackcss-navigation-heading"><a style="border-bottom: none;" href="/">{{ site.navigation_menu_heading | default: "Menu" }}</a></h2>
3
3
 
4
4
  <nav class="menu" role="menubar">
5
5
  {% assign url = page.url|remove:'index.html' %}
@@ -9,6 +9,19 @@
9
9
  {{ link.text }} <div class="pull-right">&gt;&gt;</div>
10
10
  </a>
11
11
  {% endfor %}
12
+
13
+ {% comment %}
14
+ TODO:
15
+ {% if site.categories %}
16
+ <h3>Categories</h3>
17
+ <ul>
18
+ {% for category in site.categories %}
19
+ {% capture category.name %}{{ category | first }}{% endcapture %}
20
+ <li>{{ category_name }}</li>
21
+ {% endfor %}
22
+ </ul>
23
+ {% endif %}
24
+ {% endcomment %}
12
25
  </nav>
13
26
 
14
27
  </div>
@@ -6,22 +6,27 @@ layout: default
6
6
  <header class="post-header">
7
7
  <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8
8
  <p class="post-meta">
9
- <time datetime="{{ page.date | date_to_xmlschema }}"
9
+ Posted on <time datetime="{{ page.date | date_to_xmlschema }}"
10
10
  itemprop="datePublished"
11
11
  class="media-heading">
12
- {{ page.date | date: "%b %-d, %Y" }}
12
+ {{ page.date | date: "%b %-d, %Y" }}
13
13
  </time>
14
14
 
15
- {% if page.author %}
16
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
17
- <span itemprop="name">{{ page.author }}</span>
15
+ {% if page.author or site.author %}
16
+ By <span itemprop="author" itemscope itemtype="http://schema.org/Person">
17
+ <span itemprop="name">{% if page.author %}{{ page.author }}{% elsif site.author %}{{ site.author }}{% endif %}</span>
18
18
  </span>
19
19
  {% endif %}
20
20
  </p>
21
21
  </header>
22
22
 
23
23
  <div class="post-content" itemprop="articleBody">
24
- {{ content }}
24
+ {% if page.excerpted %}
25
+ {% assign content = content | split: site.excerpt_separator %}
26
+ {{ content.last }}
27
+ {% else %}
28
+ {{ content }}
29
+ {% endif %}
25
30
  </div>
26
31
 
27
32
  </article>
@@ -1,11 +1,10 @@
1
1
  @charset "utf-8";
2
2
 
3
- // Our variables
4
3
  $spacing-unit: 10px;
5
4
  $image-size: 50px;
6
5
  $icon-size: 15px;
6
+ $link-color: #444;
7
7
 
8
- // Sizes
9
8
  $on-palm: 768px;
10
9
 
11
10
  // Use media queries like this:
@@ -31,14 +30,21 @@ code.highlighter-rouge {
31
30
  border-radius: 3px;
32
31
  }
33
32
 
33
+ aside[role="navigation"] {
34
+ padding-right: 15px;
35
+ }
36
+
34
37
  .t-hackcss { // Main prefix to avoid collisions
35
38
  &-body-large {
36
- font-size: 1rem;
37
- line-height: 1.5rem;
39
+ font-size: 1.25em;
40
+ line-height: 1.4;
38
41
  h1 {
39
42
  font-size: 2em;
40
43
  font-weight: bold;
41
44
  margin: 0.67em 0;
45
+ &:after {
46
+ bottom: 7px;
47
+ }
42
48
  }
43
49
  h2 {
44
50
  font-size: 1.5em;
@@ -50,36 +56,55 @@ code.highlighter-rouge {
50
56
  font-weight: bold;
51
57
  margin: 1.75rem 0;
52
58
  }
59
+ a {
60
+ color: $link-color;
61
+ border-bottom: 1px solid $link-color;
62
+ &:hover {
63
+ color: white;
64
+ background: $link-color;
65
+ }
66
+ }
53
67
  p {
54
68
  margin: 1.75rem 0;
55
69
  }
56
70
  ul,
57
71
  ol {
58
72
  display: block;
59
- list-style-type: disc;
73
+ list-style-type: none;
60
74
  padding-left: 20px;
61
75
  margin: 1.75rem 0;
62
76
  & ul {
63
77
  margin: .75rem 0;
64
- list-style-type: square;
78
+ list-style-type: none;
65
79
  }
66
80
  }
67
81
  ol {
68
- list-style-type: decimal;
82
+ list-style-type: none;
69
83
  }
70
84
  li {
71
85
  display: list-item;
72
86
  padding-left: 0;
87
+ &:after {
88
+ left: -16px;
89
+ }
73
90
  }
74
91
  blockquote {
92
+ font-size: 1.17em;
75
93
  margin: 1.75rem 0;
76
- padding-left: 10px;
77
- border-left: 5px solid #f0f0f0;
94
+ padding-left: 20px;
78
95
  }
79
96
  pre {
80
97
  margin: 1.75rem 0;
81
98
  white-space: pre;
82
99
  }
100
+ em {
101
+ font-size: 1.25rem;
102
+ font-style: italic;
103
+ }
104
+ strong {
105
+ font-size: 1.25rem;
106
+ font-style: bold;
107
+ }
83
108
 
84
109
  hr {
85
110
  border: 0;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-hackcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vinney cavallo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll