jekyll-hackcss 0.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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +87 -0
- data/_includes/footer.html +32 -0
- data/_includes/github-ribbon.html +11 -0
- data/_includes/head.html +40 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-twitter.html +2 -0
- data/_includes/navigation.html +15 -0
- data/_layouts/default.html +39 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +27 -0
- data/_sass/jekyll-hackcss.scss +176 -0
- data/assets/styles.scss +4 -0
- metadata +113 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6d4274c5379c5fe9e5279cf4b677b92c2f5c19bc
|
4
|
+
data.tar.gz: 485f67bea880c24bc4d33d591aa135702d3d2430
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5763c1c674f7570cc2d68fc585ac6b09a7e98b9d395be4b0d82903d21b7c208d026136bf27260fd7889d3b0a960d03cf0528a096a29c01716ba42ff57a810d2e
|
7
|
+
data.tar.gz: 9a9c5145baeb47159d6d3a5b4a65bf54269dfad1d8e2b36cb5c58799c959f43229527e528f177511abd334e57c6a9aa686c7ae339ed6fa2f827d1ac6ec669517
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 vinney cavallo
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+

|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this line to your Jekyll site's `Gemfile`:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem "jekyll-hackcss"
|
9
|
+
```
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `_config.yml`:
|
12
|
+
|
13
|
+
```yaml
|
14
|
+
theme: jekyll-hackcss
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install hackcss
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
Refer to this excerpted `_config.yml` for other lines you might need to add
|
28
|
+
to your jekyll install:
|
29
|
+
|
30
|
+
```yml
|
31
|
+
# choose the theme mode you want to use:
|
32
|
+
theme_mode: markdown # choices are: 'dark', 'standard', 'markdown', 'markdown_large'
|
33
|
+
# 'markdown_large' is unique to this project. it's basically the "standard" style
|
34
|
+
# sizings, but keeping the "markdown" style font. It's my favorite :)
|
35
|
+
|
36
|
+
# pretty necessary for the footer (unless removed)
|
37
|
+
your_name: vinney cavallo
|
38
|
+
email: vinney@exnil.io
|
39
|
+
|
40
|
+
# this is how the menu panel is constructed:
|
41
|
+
navigation:
|
42
|
+
- text: Home
|
43
|
+
url: /
|
44
|
+
- text: Examples
|
45
|
+
url: /examples
|
46
|
+
|
47
|
+
# if you want to use something like the card-based 'projects' in examples.html
|
48
|
+
projects:
|
49
|
+
- name: jekyll-hackcss
|
50
|
+
description: A jekyll gem-style theme based on hack.css
|
51
|
+
link: https://github.com/vcavallo/jekyll-hackcss
|
52
|
+
- name: Impostor Roster
|
53
|
+
description: A place for newbies of all experience level to admit their shortcomings
|
54
|
+
link: http://impostorroster.com
|
55
|
+
- name: Rate my Refactor
|
56
|
+
description: Advice and discussion about code design and refactoring, crowd-sourced from a community of experts in your field
|
57
|
+
link: http://www.ratemyrefactor.com/
|
58
|
+
- name: Termodoro
|
59
|
+
description: A simple CLI pomodoro client ruby gem
|
60
|
+
link: https://github.com/vcavallo/termodoro
|
61
|
+
|
62
|
+
# if you plan to use the social links in the footer
|
63
|
+
social:
|
64
|
+
- service: github
|
65
|
+
username: vcavallo
|
66
|
+
link: https://github.com/vcavallo
|
67
|
+
- service: twitter
|
68
|
+
username: vinneycavallo
|
69
|
+
link: https://twitter.com/vinneycavallo
|
70
|
+
```
|
71
|
+
|
72
|
+
## TODO:
|
73
|
+
|
74
|
+
- get `jekyll-seo-tag` working
|
75
|
+
- modernize! I think the original work in this repo was done for an earlier version of jekyll?
|
76
|
+
- remove all traces of former theme
|
77
|
+
- stop using hackss from cdn. include it here.
|
78
|
+
- this might mean considering upgrade paths for future hack versions...
|
79
|
+
|
80
|
+
## Contributing
|
81
|
+
|
82
|
+
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.
|
83
|
+
|
84
|
+
## License
|
85
|
+
|
86
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
87
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<footer class="t-hackcss-footer">
|
2
|
+
<hr />
|
3
|
+
|
4
|
+
<h3 class="footer-heading">{{ site.title }}</h3>
|
5
|
+
|
6
|
+
<div class="grid t-hackcss-sm-reversed-grid">
|
7
|
+
|
8
|
+
<div class="cell -5of12">
|
9
|
+
<div class="contact-list">
|
10
|
+
<p>
|
11
|
+
{{ site.your_name }},
|
12
|
+
<a href="mailto:{{ site.email }}">{{ site.email }}</a>
|
13
|
+
</p>
|
14
|
+
|
15
|
+
{% for social in site.social %}
|
16
|
+
{% assign template = social.service|prepend:"icon-"|append:".html" %}
|
17
|
+
<span class="t-hackcss-social">
|
18
|
+
<i class="t-hackcss-icon">{% include {{ template }} %}</i>
|
19
|
+
<a href="{{ social.link }}">{{ social.username }}</a>
|
20
|
+
</span>
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div id="footer-spacer" class="cell -1of12"></div>
|
26
|
+
|
27
|
+
<div class="cell -6of12">
|
28
|
+
<p>{{ site.description }}</p>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
</footer>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<a href="{{ site.repository }}" class="github-corner">
|
2
|
+
|
3
|
+
{% if site.theme_mode != 'dark' %}
|
4
|
+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg>
|
5
|
+
{% else %}
|
6
|
+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
</a>
|
10
|
+
|
11
|
+
<style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
|
6
|
+
<!-- Favicon -->
|
7
|
+
<link rel="icon" href="{{ "/favicon.png" | prepend: site.baseurl }}">
|
8
|
+
|
9
|
+
<!-- Meta information -->
|
10
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
11
|
+
<meta name="description"
|
12
|
+
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
13
|
+
<link rel="canonical"
|
14
|
+
href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" />
|
15
|
+
|
16
|
+
<!-- hack.css -->
|
17
|
+
<link rel="stylesheet" href="https://npmcdn.com/hack/dist/hack.css" />
|
18
|
+
{% if site.theme_mode == 'standard' %}
|
19
|
+
<link rel="stylesheet" href="https://npmcdn.com/hack/dist/standard.css" />
|
20
|
+
{% elsif site.theme_mode == 'dark' %}
|
21
|
+
<link rel="stylesheet" href="https://npmcdn.com/hack/dist/dark.css" />
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
<!-- Prism.js -->
|
25
|
+
<link rel="stylesheet" href="https://npmcdn.com/prismjs@1.5.1/themes/prism.css" />
|
26
|
+
|
27
|
+
<!-- Custom style -->
|
28
|
+
<link rel="stylesheet" href="{{ "/assets/styles.css" }}" />
|
29
|
+
<!--{{ site.theme }}-->
|
30
|
+
|
31
|
+
<!-- Feed -->
|
32
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}"
|
33
|
+
href="{{ "/feed.xml" | relative_url }}" />
|
34
|
+
|
35
|
+
<!-- 'jekyll-seo' plugin -->
|
36
|
+
{% comment %}
|
37
|
+
{% seo %}
|
38
|
+
{% endcomment %}
|
39
|
+
</head>
|
40
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox="0 0 16 16"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"></path></svg>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<svg viewBox="0 0 16 16"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
|
2
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="t-hackcss-navigation">
|
2
|
+
<h2 class="t-hackcss-navigation-heading">Menu</h2>
|
3
|
+
|
4
|
+
<nav class="menu" role="menubar">
|
5
|
+
{% assign url = page.url|remove:'index.html' %}
|
6
|
+
{% for link in site.navigation %}
|
7
|
+
<a class="menu-item {% if url == link.url %}active{% endif %}"
|
8
|
+
role="menuitem" href="{{ link.url | prepend: site.baseurl }}" title="{{ link.title }}">
|
9
|
+
{{ link.text }} <div class="pull-right">>></div>
|
10
|
+
</a>
|
11
|
+
{% endfor %}
|
12
|
+
</nav>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
{% if site.theme_mode == 'markdown' %}
|
7
|
+
<body class="hack">
|
8
|
+
{% elsif site.theme_mode == 'markdown_large' %}
|
9
|
+
<body class="hack t-hackcss-body-large">
|
10
|
+
{% elsif site.theme_mode == 'standard' %}
|
11
|
+
<body class="standard">
|
12
|
+
{% elsif site.theme_mode == 'dark' %}
|
13
|
+
<body class="hack dark">
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% comment %}
|
17
|
+
{% include github-ribbon.html %}
|
18
|
+
{% endcomment %}
|
19
|
+
|
20
|
+
<div class="container">
|
21
|
+
<div class="grid">
|
22
|
+
<aside class="cell -3of12" role="navigation">
|
23
|
+
{% include navigation.html %}
|
24
|
+
</aside>
|
25
|
+
|
26
|
+
<main class="cell -9of12">
|
27
|
+
{{ content }}
|
28
|
+
</main>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
{% include footer.html %}
|
32
|
+
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<!-- Prism.js -->
|
36
|
+
<script src="https://npmcdn.com/prismjs@1.5.1/prism.js"></script>
|
37
|
+
</body>
|
38
|
+
|
39
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
|
8
|
+
<p class="post-meta">
|
9
|
+
<time datetime="{{ page.date | date_to_xmlschema }}"
|
10
|
+
itemprop="datePublished"
|
11
|
+
class="media-heading">
|
12
|
+
{{ page.date | date: "%b %-d, %Y" }}
|
13
|
+
</time>
|
14
|
+
|
15
|
+
{% if page.author %}
|
16
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
17
|
+
<span itemprop="name">{{ page.author }}</span>
|
18
|
+
</span>
|
19
|
+
{% endif %}
|
20
|
+
</p>
|
21
|
+
</header>
|
22
|
+
|
23
|
+
<div class="post-content" itemprop="articleBody">
|
24
|
+
{{ content }}
|
25
|
+
</div>
|
26
|
+
|
27
|
+
</article>
|
@@ -0,0 +1,176 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Our variables
|
4
|
+
$spacing-unit: 10px;
|
5
|
+
$image-size: 50px;
|
6
|
+
$icon-size: 15px;
|
7
|
+
|
8
|
+
// Sizes
|
9
|
+
$on-palm: 768px;
|
10
|
+
|
11
|
+
// Use media queries like this:
|
12
|
+
// @include media-query($on-palm) {
|
13
|
+
// .wrapper {
|
14
|
+
// padding-right: $spacing-unit / 2;
|
15
|
+
// padding-left: $spacing-unit / 2;
|
16
|
+
// }
|
17
|
+
// }
|
18
|
+
@mixin media-query($device) {
|
19
|
+
@media screen and (max-width: $device) {
|
20
|
+
@content;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
code.highlighter-rouge {
|
25
|
+
padding: 0;
|
26
|
+
padding-top: 0.2em;
|
27
|
+
padding-bottom: 0.2em;
|
28
|
+
margin: 0;
|
29
|
+
font-size: 85%;
|
30
|
+
background-color: rgba(0,0,0,0.04);
|
31
|
+
border-radius: 3px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.t-hackcss { // Main prefix to avoid collisions
|
35
|
+
&-body-large {
|
36
|
+
font-size: 1rem;
|
37
|
+
line-height: 1.5rem;
|
38
|
+
h1 {
|
39
|
+
font-size: 2em;
|
40
|
+
font-weight: bold;
|
41
|
+
margin: 0.67em 0;
|
42
|
+
}
|
43
|
+
h2 {
|
44
|
+
font-size: 1.5em;
|
45
|
+
font-weight: bold;
|
46
|
+
margin: 0.83em 0;
|
47
|
+
}
|
48
|
+
h3 {
|
49
|
+
font-size: 1.17em;
|
50
|
+
font-weight: bold;
|
51
|
+
margin: 1.75rem 0;
|
52
|
+
}
|
53
|
+
p {
|
54
|
+
margin: 1.75rem 0;
|
55
|
+
}
|
56
|
+
ul,
|
57
|
+
ol {
|
58
|
+
display: block;
|
59
|
+
list-style-type: disc;
|
60
|
+
padding-left: 20px;
|
61
|
+
margin: 1.75rem 0;
|
62
|
+
& ul {
|
63
|
+
margin: .75rem 0;
|
64
|
+
list-style-type: square;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
ol {
|
68
|
+
list-style-type: decimal;
|
69
|
+
}
|
70
|
+
li {
|
71
|
+
display: list-item;
|
72
|
+
padding-left: 0;
|
73
|
+
}
|
74
|
+
blockquote {
|
75
|
+
margin: 1.75rem 0;
|
76
|
+
padding-left: 10px;
|
77
|
+
border-left: 5px solid #f0f0f0;
|
78
|
+
}
|
79
|
+
pre {
|
80
|
+
margin: 1.75rem 0;
|
81
|
+
white-space: pre;
|
82
|
+
}
|
83
|
+
|
84
|
+
hr {
|
85
|
+
border: 0;
|
86
|
+
height: 1px;
|
87
|
+
display: block;
|
88
|
+
background-color: #e2e2e2;
|
89
|
+
margin: 1.75rem 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// navigation.html
|
94
|
+
|
95
|
+
&-navigation {
|
96
|
+
padding-right: $spacing-unit;
|
97
|
+
}
|
98
|
+
|
99
|
+
@at-root .hack &-navigation-heading {
|
100
|
+
padding-top: 20px;
|
101
|
+
}
|
102
|
+
|
103
|
+
// footer.html
|
104
|
+
|
105
|
+
@at-root body &-footer {
|
106
|
+
padding-bottom: $spacing-unit;
|
107
|
+
}
|
108
|
+
|
109
|
+
&-social {
|
110
|
+
display: inline-block;
|
111
|
+
}
|
112
|
+
|
113
|
+
&-social + &-social {
|
114
|
+
padding-left: $spacing-unit;
|
115
|
+
}
|
116
|
+
|
117
|
+
&-sm-reversed-grid.grid {
|
118
|
+
@include media-query($on-palm) {
|
119
|
+
flex-direction: column-reverse;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
&-icon {
|
124
|
+
display: inline-block;
|
125
|
+
vertical-align: middle;
|
126
|
+
width: $icon-size;
|
127
|
+
height: $icon-size;
|
128
|
+
|
129
|
+
> svg {
|
130
|
+
width: $icon-size;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
// examples.html
|
135
|
+
|
136
|
+
&-media {
|
137
|
+
margin-bottom: 1.25rem;
|
138
|
+
}
|
139
|
+
|
140
|
+
&-media-shift {
|
141
|
+
max-width: $image-size;
|
142
|
+
}
|
143
|
+
|
144
|
+
&-media-image {
|
145
|
+
display: block;
|
146
|
+
max-width: 100%;
|
147
|
+
height: auto;
|
148
|
+
}
|
149
|
+
|
150
|
+
&-cards {
|
151
|
+
flex-wrap: wrap;
|
152
|
+
@include media-query($on-palm) {
|
153
|
+
flex-wrap: nowrap;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
&-cards-cell {
|
158
|
+
padding-bottom: $spacing-unit;
|
159
|
+
padding-right: $spacing-unit;
|
160
|
+
}
|
161
|
+
|
162
|
+
&-cards-text {
|
163
|
+
margin: 0
|
164
|
+
}
|
165
|
+
|
166
|
+
&-cards-image {
|
167
|
+
display: block;
|
168
|
+
max-width: 50%;
|
169
|
+
height: auto;
|
170
|
+
margin: 0 auto;
|
171
|
+
}
|
172
|
+
|
173
|
+
&-cards-link {
|
174
|
+
text-align: center;
|
175
|
+
}
|
176
|
+
}
|
data/assets/styles.scss
ADDED
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-hackcss
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- vinney cavallo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-seo-tag
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- vcavallo@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- LICENSE.txt
|
77
|
+
- README.md
|
78
|
+
- _includes/footer.html
|
79
|
+
- _includes/github-ribbon.html
|
80
|
+
- _includes/head.html
|
81
|
+
- _includes/icon-github.html
|
82
|
+
- _includes/icon-twitter.html
|
83
|
+
- _includes/navigation.html
|
84
|
+
- _layouts/default.html
|
85
|
+
- _layouts/page.html
|
86
|
+
- _layouts/post.html
|
87
|
+
- _sass/jekyll-hackcss.scss
|
88
|
+
- assets/styles.scss
|
89
|
+
homepage: https://github.com/vcavallo/jekyll-hackcss
|
90
|
+
licenses:
|
91
|
+
- MIT
|
92
|
+
metadata: {}
|
93
|
+
post_install_message:
|
94
|
+
rdoc_options: []
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
requirements: []
|
108
|
+
rubyforge_project:
|
109
|
+
rubygems_version: 2.5.1
|
110
|
+
signing_key:
|
111
|
+
specification_version: 4
|
112
|
+
summary: A jekyll theme gem for hack.css
|
113
|
+
test_files: []
|