redacre 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 +52 -0
- data/_includes/article.html +37 -0
- data/_includes/footer.html +3 -0
- data/_includes/head.html +33 -0
- data/_includes/header.html +10 -0
- data/_includes/post/categories.html +8 -0
- data/_includes/post/date.html +1 -0
- data/_layouts/archive.html +31 -0
- data/_layouts/default.html +13 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +23 -0
- data/_sass/_fonts.scss +19 -0
- data/_sass/_layout.scss +1 -0
- data/_sass/_media.scss +124 -0
- data/_sass/_posts.scss +157 -0
- data/_sass/_reset.scss +40 -0
- data/_sass/_styles.scss +362 -0
- data/_sass/_typography.scss +112 -0
- data/_sass/_variables.scss +115 -0
- data/assets/css/main.scss +15 -0
- data/assets/images/icons.svg +7 -0
- metadata +108 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f0bf3975da96e378dc995908dbde8b70db43c8ec7eecfe3248562cd5140a01e2
|
4
|
+
data.tar.gz: fbb51e7cf8063439a275a16935d272e996037ec0181aea3eeabff7f89f167edb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 859ca6cbda587fa6c50e23cd89aa7f39dee43586808a87eefa5edf1486aeb17c4ab5da3194d9ce12b361673453f7ab4e643388b03591a6c06bd587ac51ddd09d
|
7
|
+
data.tar.gz: bf39d40c853c68f1e39bca0bc8e420666988a8aba998914d50c578ca657669ef78a38170a6c8125e190355886459fb5eb67424d6a6878047868a32457e604f2f
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Dominic Mauro
|
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,52 @@
|
|
1
|
+
# redacre
|
2
|
+
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your Jekyll site's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "redacre"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: redacre
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install redacre
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
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.
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
To set up your environment to develop this theme, run `bundle install`.
|
43
|
+
|
44
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
|
+
|
46
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
+
To add a custom directory to your theme-gem, please edit the regexp in `redacre.gemspec` accordingly.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{% unless page.no_header %}
|
2
|
+
<div class="title">
|
3
|
+
{% if index %}
|
4
|
+
{% if post.external-url %}
|
5
|
+
<h1 class="entry-title"><a href="{{ post.external-url }}">{% if site.titlecase %}{{ post.title | titlecase }} ↪{% else %}{{ post.title }}{% endif %}</a></h1>
|
6
|
+
{% else %}
|
7
|
+
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
8
|
+
{% endif %}
|
9
|
+
{% else %}
|
10
|
+
<h1 class="entry-title"><a href="{{ page.external-url }}">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</a></h1>
|
11
|
+
{% endif %}
|
12
|
+
</div>
|
13
|
+
{% endunless %}
|
14
|
+
{% if index %}
|
15
|
+
<div class="entry-content">
|
16
|
+
|
17
|
+
{{ post.excerpt }}
|
18
|
+
|
19
|
+
</div>
|
20
|
+
{% if post.excerpt != post.content %}
|
21
|
+
<footer>
|
22
|
+
<a rel="full-article" href="{{ root_url }}{{ post.url }}#continued">{{ site.excerpt_link }}</a>
|
23
|
+
</footer>
|
24
|
+
{% endif %}
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
{% unless index %} {% if post.external-url %} <p>NB: The subject of this post is on <a href="{{ page.external-url }}">this web page</a>.</p> {% endif %} {{ content | replace: '<!--more-->', '<a class="anchor" id="continued"></a>' }} {% endunless %}
|
28
|
+
|
29
|
+
{% if index %}
|
30
|
+
<footer>
|
31
|
+
<p class="meta">
|
32
|
+
Filed on <time>{{ post.date | date: "%b %-d, %Y" }}</time> under <span class="categories">{% include post/categories.html %}</span>
|
33
|
+
</p>
|
34
|
+
</footer>
|
35
|
+
|
36
|
+
|
37
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
|
3
|
+
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
|
4
|
+
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8">
|
7
|
+
<script>
|
8
|
+
(function(d) {
|
9
|
+
var config = {
|
10
|
+
kitId: 'zxd7dfy',
|
11
|
+
scriptTimeout: 3000,
|
12
|
+
async: true
|
13
|
+
},
|
14
|
+
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
|
15
|
+
})(document);
|
16
|
+
</script>
|
17
|
+
<title>{% if page.title %}{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} - {% endif %}{{ site.title }}</title>
|
18
|
+
<meta name="author" content="{{ site.author }}">
|
19
|
+
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
|
20
|
+
<meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
|
21
|
+
<meta name="HandheldFriendly" content="True">
|
22
|
+
<meta name="MobileOptimized" content="320">
|
23
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
24
|
+
|
25
|
+
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
26
|
+
|
27
|
+
<link rel="canonical" href="{{ canonical }}">
|
28
|
+
<link href="{{ root_url }}/css/main.css" media="screen" rel="stylesheet" type="text/css">
|
29
|
+
|
30
|
+
{% feed_meta %}
|
31
|
+
<link type="application/json" rel="alternate" href="{{ site.url }}/feed.json">
|
32
|
+
|
33
|
+
</head>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
|
2
|
+
<a href="{{ root_url }}/"><svg class="icon-law"><use xlink:href="/images/icons.svg#icon-law"></use></svg></a>
|
3
|
+
<h1><a href="{{ root_url }}/">{{ site.title }}</a></h1>
|
4
|
+
|
5
|
+
<div id="nav">
|
6
|
+
/<span><a href="{{ root_url }}/about">about</a></span>
|
7
|
+
/<span id="archive"><a href="{{ root_url }}/archive">archive</a></span>
|
8
|
+
/<span id="rss"><a href="{{ root_url }}/feeds" rel="subscribe-rss" data-subscription="rss" title="subscribe via RSS">feeds</a></span>
|
9
|
+
</div>
|
10
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% capture category %}{% if post %}{{ post.categories | category_links }}{% else %}{{ page.categories | category_links }}{% endif %}{% endcapture %}
|
2
|
+
|
3
|
+
|
4
|
+
{% if post %}
|
5
|
+
{{ post.categories | category_links }}
|
6
|
+
{% else %}
|
7
|
+
{{ page.categories | category_links }}
|
8
|
+
{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{{ post.date | date: "%b %-d, %Y" }}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article role="article">
|
6
|
+
{% if page.title %}
|
7
|
+
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
8
|
+
{% endif %}
|
9
|
+
{{ content }}
|
10
|
+
</article>
|
11
|
+
|
12
|
+
<form action="{{ site.simple_search }}" method="get">
|
13
|
+
<fieldset role="search">
|
14
|
+
<input type="hidden" name="sites" value="blog.ipsaloquitur.org" />
|
15
|
+
<input class="search" type="text" name="q" results="0" placeholder="Search for…"/>
|
16
|
+
</fieldset>
|
17
|
+
</form>
|
18
|
+
|
19
|
+
<div id="blog-archives">
|
20
|
+
{% for post in site.posts %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% unless year == this_year %} {% assign year = this_year %}
|
21
|
+
<h2>{{ year }}</h2>
|
22
|
+
{% endunless %}
|
23
|
+
<article>
|
24
|
+
<h1><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
25
|
+
<footer>
|
26
|
+
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span>"}}</time>
|
27
|
+
</footer>
|
28
|
+
</article>
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
</div>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
|
2
|
+
{% include head.html %}
|
3
|
+
<body>
|
4
|
+
<header>{% include header.html %}</header>
|
5
|
+
<div id="main">
|
6
|
+
|
7
|
+
<div id="content">
|
8
|
+
{{ content | expand_urls: root_url }}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
<footer>{% include footer.html %}</footer>
|
12
|
+
</body>
|
13
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
single: true
|
4
|
+
---
|
5
|
+
|
6
|
+
<div>
|
7
|
+
<article class="hentry" role="article">
|
8
|
+
{% include article.html %}
|
9
|
+
<footer>
|
10
|
+
<p class="meta">
|
11
|
+
Filed on <time>{{ page.date | date: "%b %-d, %Y" }}</time> under <span class="category">{% include post/categories.html %}</span>
|
12
|
+
</p>
|
13
|
+
<p class="meta">
|
14
|
+
{% if page.previous.url %}
|
15
|
+
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">{{page.previous.title}}</a>
|
16
|
+
{% endif %}
|
17
|
+
{% if page.next.url %}
|
18
|
+
<a class="basic-alignment right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}}</a>
|
19
|
+
{% endif %}
|
20
|
+
</p>
|
21
|
+
</footer>
|
22
|
+
</article>
|
23
|
+
</div>
|
data/_sass/_fonts.scss
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
.code-font {
|
2
|
+
font-family: Menlo, Monaco, "Andale Mono", "Courier New", monospace;
|
3
|
+
}
|
4
|
+
|
5
|
+
.sans-serif-font-bold {
|
6
|
+
font-family: "ministry", "Helvetica Neue", Arial, sans-serif;
|
7
|
+
}
|
8
|
+
|
9
|
+
.sans-serif-font {
|
10
|
+
font-family: "ministry", "Helvetica Neue", Arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
.header-font {
|
14
|
+
font-family: "ministry", "Helvetica Neue", sans-serif;
|
15
|
+
}
|
16
|
+
|
17
|
+
.default-font {
|
18
|
+
font-family: "freight-text-pro", Georgia, Times, "Times New Roman", serif;
|
19
|
+
}
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
|
data/_sass/_media.scss
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
// ------------------------------
|
2
|
+
// media queries
|
3
|
+
// ------------------------------
|
4
|
+
@media screen and (max-width: 1080px) {
|
5
|
+
body {
|
6
|
+
font-size: 100%;
|
7
|
+
margin: 50px auto 0;
|
8
|
+
width: 515px;
|
9
|
+
}
|
10
|
+
|
11
|
+
#blog-archives {
|
12
|
+
h2 {
|
13
|
+
font-size: 30.161px;
|
14
|
+
}
|
15
|
+
|
16
|
+
article {
|
17
|
+
display: block;
|
18
|
+
float: none;
|
19
|
+
margin-left: 0;
|
20
|
+
text-align: left;
|
21
|
+
|
22
|
+
h1 {
|
23
|
+
font-size: 18.441px;
|
24
|
+
text-align: left;
|
25
|
+
}
|
26
|
+
|
27
|
+
footer {
|
28
|
+
display: inline;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
// ------------------------------
|
34
|
+
@media screen and (max-width: 768px) {
|
35
|
+
body {
|
36
|
+
margin: 20px auto 0;
|
37
|
+
max-width: 90%;
|
38
|
+
position: static;
|
39
|
+
|
40
|
+
> header {
|
41
|
+
float: none;
|
42
|
+
margin: 0 auto;
|
43
|
+
width: 100%;
|
44
|
+
|
45
|
+
h1 {
|
46
|
+
font-size: 24px;
|
47
|
+
}
|
48
|
+
|
49
|
+
[class^="icon-"],
|
50
|
+
[class*=" icon-"] {
|
51
|
+
height: 1.25rem;
|
52
|
+
margin-bottom: -2px;
|
53
|
+
width: 1.25rem;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
#blog-archives {
|
59
|
+
article {
|
60
|
+
margin-left: 0;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
article > footer > a {
|
65
|
+
width: 50%;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
// ------------------------------
|
69
|
+
@media screen and (max-width: 480px) {
|
70
|
+
html {
|
71
|
+
font-size: 100%;
|
72
|
+
line-height: 90%;
|
73
|
+
}
|
74
|
+
|
75
|
+
body {
|
76
|
+
margin-top: 20px;
|
77
|
+
width: 90%;
|
78
|
+
}
|
79
|
+
|
80
|
+
body > header {
|
81
|
+
margin: 0 auto;
|
82
|
+
|
83
|
+
h1,
|
84
|
+
h2 {
|
85
|
+
display: inline-block;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
#blog-archives {
|
90
|
+
h2 {
|
91
|
+
font-size: 30.161px;
|
92
|
+
}
|
93
|
+
|
94
|
+
article {
|
95
|
+
display: block;
|
96
|
+
float: none;
|
97
|
+
margin-left: 0;
|
98
|
+
text-align: left;
|
99
|
+
|
100
|
+
h1 {
|
101
|
+
font-size: 16.441px;
|
102
|
+
text-align: left;
|
103
|
+
}
|
104
|
+
|
105
|
+
footer {
|
106
|
+
display: none;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
.blog-index > article {
|
112
|
+
margin-bottom: 85.071px !important;
|
113
|
+
margin-bottom: 5.016rem !important;
|
114
|
+
// 4.236 + 0.452
|
115
|
+
}
|
116
|
+
|
117
|
+
img#portrait {
|
118
|
+
display: block;
|
119
|
+
float: none;
|
120
|
+
width: 200px;
|
121
|
+
margin-left: auto;
|
122
|
+
margin-right: auto;
|
123
|
+
}
|
124
|
+
}
|
data/_sass/_posts.scss
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
|
2
|
+
// ------------------------------
|
3
|
+
// blog post
|
4
|
+
// ------------------------------
|
5
|
+
|
6
|
+
article {
|
7
|
+
@extend .margin-bottom-largest;
|
8
|
+
|
9
|
+
// ----- post's header -----
|
10
|
+
|
11
|
+
|
12
|
+
.title {
|
13
|
+
|
14
|
+
|
15
|
+
h1 {
|
16
|
+
@extend .font-size-largest;
|
17
|
+
font-family: ministry;
|
18
|
+
font-weight: 200;
|
19
|
+
font-size: 1.35rem;
|
20
|
+
line-height: 1.4rem;
|
21
|
+
margin-top: 1.4rem;
|
22
|
+
margin-bottom: 0rem;
|
23
|
+
text-align: left;
|
24
|
+
a {
|
25
|
+
color: $text-color;
|
26
|
+
}
|
27
|
+
a:hover {
|
28
|
+
text-decoration: none;
|
29
|
+
color: #e61717;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
|
34
|
+
}
|
35
|
+
|
36
|
+
p.meta {
|
37
|
+
@extend .header-font;
|
38
|
+
color: $secondary-text-color;
|
39
|
+
span.category {
|
40
|
+
text-transform: capitalize;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
// ----- post's content -----
|
46
|
+
|
47
|
+
h1 {
|
48
|
+
@extend .font-size-largest;
|
49
|
+
margin-top: 62.000px;
|
50
|
+
margin-top: 3.1rem;
|
51
|
+
margin-bottom: 20px;
|
52
|
+
margin-bottom: 1rem;
|
53
|
+
}
|
54
|
+
|
55
|
+
h2 {
|
56
|
+
font-size: 30.56px;
|
57
|
+
font-size: 1.528rem; /* 1.618 - 0.09 */
|
58
|
+
text-transform: uppercase;
|
59
|
+
margin-top: 52.358px;
|
60
|
+
margin-top: 2.618rem;
|
61
|
+
margin-bottom: 9.046px;
|
62
|
+
margin-bottom: 0.452rem;
|
63
|
+
}
|
64
|
+
|
65
|
+
h3 {
|
66
|
+
font-size: 30.56px;
|
67
|
+
font-size: 1.528rem; /* 1.618 - 0.09 */
|
68
|
+
text-transform: lowercase;
|
69
|
+
margin-top: 24px;
|
70
|
+
margin-bottom: 9.44px;
|
71
|
+
font-weight: 300;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
ul, ol {
|
76
|
+
@extend .block-padding;
|
77
|
+
@extend .default-line-height;
|
78
|
+
@extend .margin-bottom-large;
|
79
|
+
text-align: left;
|
80
|
+
margin-left: 20px;
|
81
|
+
margin-left: 1rem;
|
82
|
+
|
83
|
+
li:last-child p, ol:last-child p {
|
84
|
+
margin-bottom: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
a {
|
88
|
+
text-decoration: underline;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
ul {
|
93
|
+
list-style-type: disc;
|
94
|
+
}
|
95
|
+
|
96
|
+
ol {
|
97
|
+
list-style-type: decimal;
|
98
|
+
}
|
99
|
+
|
100
|
+
p > code, li code {
|
101
|
+
@extend .code-keywords;
|
102
|
+
@extend .code-font;
|
103
|
+
font-size: 17.56px;
|
104
|
+
font-size: 0.878rem; /* 0.732 + 0.146 */
|
105
|
+
}
|
106
|
+
|
107
|
+
// ----- post's footer -----
|
108
|
+
|
109
|
+
footer {
|
110
|
+
@extend .sans-serif-font;
|
111
|
+
padding-top: 12.361px;
|
112
|
+
padding-top: 0.618rem;
|
113
|
+
|
114
|
+
|
115
|
+
> p.meta {
|
116
|
+
overflow: auto;
|
117
|
+
font-weight: 300;
|
118
|
+
text-align: left;
|
119
|
+
font-size: 0.8rem;
|
120
|
+
line-height: 1.2rem;
|
121
|
+
font-weight: 200;
|
122
|
+
font-style: italic;
|
123
|
+
|
124
|
+
}
|
125
|
+
|
126
|
+
a.basic-alignment {
|
127
|
+
@extend .button;
|
128
|
+
text-decoration: none;
|
129
|
+
font-style: normal;
|
130
|
+
width: 45%;
|
131
|
+
display: block;
|
132
|
+
line-height: 23.683px;
|
133
|
+
line-height: 1.184rem;
|
134
|
+
padding: 8px;
|
135
|
+
|
136
|
+
&.left {
|
137
|
+
float: left;
|
138
|
+
text-align: center;
|
139
|
+
}
|
140
|
+
|
141
|
+
&.right {
|
142
|
+
float: right;
|
143
|
+
text-align: center;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
|
149
|
+
// 'read on' button
|
150
|
+
> footer > a {
|
151
|
+
display: block;
|
152
|
+
margin-bottom: 1.4rem;
|
153
|
+
font-weight: 300;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
|
data/_sass/_reset.scss
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
2
|
+
v2.0 | 20110126
|
3
|
+
License: none (public domain)
|
4
|
+
*/
|
5
|
+
|
6
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
border: 0;
|
10
|
+
font-size: 100%;
|
11
|
+
font: inherit;
|
12
|
+
vertical-align: baseline; }
|
13
|
+
|
14
|
+
/* HTML5 display-role reset for older browsers */
|
15
|
+
|
16
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
17
|
+
display: block; }
|
18
|
+
|
19
|
+
body {
|
20
|
+
line-height: 1; }
|
21
|
+
|
22
|
+
ol, ul {
|
23
|
+
list-style: none; }
|
24
|
+
|
25
|
+
blockquote, q {
|
26
|
+
quotes: none; }
|
27
|
+
|
28
|
+
blockquote {
|
29
|
+
&:before, &:after {
|
30
|
+
content: '';
|
31
|
+
content: none; } }
|
32
|
+
|
33
|
+
q {
|
34
|
+
&:before, &:after {
|
35
|
+
content: '';
|
36
|
+
content: none; } }
|
37
|
+
|
38
|
+
table {
|
39
|
+
border-collapse: collapse;
|
40
|
+
border-spacing: 0; }
|
data/_sass/_styles.scss
ADDED
@@ -0,0 +1,362 @@
|
|
1
|
+
// ------------------------------
|
2
|
+
// general styles
|
3
|
+
// ------------------------------
|
4
|
+
|
5
|
+
html {
|
6
|
+
@extend .default-font;
|
7
|
+
// border-top: 8px solid $accent-color;
|
8
|
+
font-size: 20px;
|
9
|
+
line-height: 28px;
|
10
|
+
}
|
11
|
+
|
12
|
+
body {
|
13
|
+
text-size-adjust: none;
|
14
|
+
-webkit-text-size-adjust: none; /* prevent mobile safari from resizing text */
|
15
|
+
background-color: #fff;
|
16
|
+
color: $text-color;
|
17
|
+
text-align: center;
|
18
|
+
max-width: 30em;
|
19
|
+
margin: 0px auto;
|
20
|
+
margin-top: 40px;
|
21
|
+
}
|
22
|
+
|
23
|
+
main {
|
24
|
+
width: 550px;
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
h1, h2, h3, h4, h5, h6 {
|
29
|
+
@extend .sans-serif-font-bold;
|
30
|
+
text-rendering: optimizeLegibility;
|
31
|
+
text-align: left;
|
32
|
+
}
|
33
|
+
|
34
|
+
a {
|
35
|
+
color: $accent-color;
|
36
|
+
text-decoration: none;
|
37
|
+
outline: none;
|
38
|
+
// @include transition(color 0.5s ease 0s);
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
color: $accent-hover-color;
|
42
|
+
text-decoration: underline;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
body header h1 a:hover {
|
47
|
+
color: $accent-hover-color;
|
48
|
+
text-decoration: none;
|
49
|
+
};
|
50
|
+
|
51
|
+
section {
|
52
|
+
@extend .margin-bottom-largest;
|
53
|
+
}
|
54
|
+
|
55
|
+
blockquote {
|
56
|
+
@extend .block-padding;
|
57
|
+
@extend .margin-bottom-large;
|
58
|
+
border-left: $border-style;
|
59
|
+
font-style: italic;
|
60
|
+
|
61
|
+
p {
|
62
|
+
em {
|
63
|
+
font-style: normal !important;
|
64
|
+
}
|
65
|
+
margin-top: 0px;
|
66
|
+
margin-bottom: 0px;
|
67
|
+
}
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
cite, em, i, dfn {
|
73
|
+
font-style: italic;
|
74
|
+
}
|
75
|
+
|
76
|
+
b, strong {
|
77
|
+
font-weight: bold;
|
78
|
+
}
|
79
|
+
|
80
|
+
small {
|
81
|
+
font-size: 16px;
|
82
|
+
font-size: 0.8rem;
|
83
|
+
}
|
84
|
+
|
85
|
+
sup, sub {
|
86
|
+
font-size: 14px;
|
87
|
+
font-size: 0.7rem;
|
88
|
+
line-height: 0;
|
89
|
+
position: relative;
|
90
|
+
}
|
91
|
+
|
92
|
+
sup {
|
93
|
+
top: -0.6rem;
|
94
|
+
}
|
95
|
+
|
96
|
+
sub {
|
97
|
+
bottom: -0.4rem;
|
98
|
+
}
|
99
|
+
|
100
|
+
img#portrait {
|
101
|
+
float: right;
|
102
|
+
border-radius: 125px;
|
103
|
+
margin-left: 20px;
|
104
|
+
margin-left: 1rem;
|
105
|
+
width: 240px;
|
106
|
+
}
|
107
|
+
|
108
|
+
|
109
|
+
pre {
|
110
|
+
@extend .block-padding;
|
111
|
+
@extend .font-size-small;
|
112
|
+
@extend .code-font;
|
113
|
+
@extend .margin-bottom-large;
|
114
|
+
text-align: left;
|
115
|
+
line-height: 18px;
|
116
|
+
|
117
|
+
&.line-numbers {
|
118
|
+
@if $hide-line-numbers == true {
|
119
|
+
display: none;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
pre,
|
125
|
+
code {
|
126
|
+
font-size: 15px;
|
127
|
+
border: 1px solid #ddd;
|
128
|
+
border-radius: 3px;
|
129
|
+
background-color: #eee;
|
130
|
+
margin-top: 32px;
|
131
|
+
}
|
132
|
+
|
133
|
+
code {
|
134
|
+
padding: 1px 5px;
|
135
|
+
}
|
136
|
+
|
137
|
+
pre {
|
138
|
+
padding: 8px 12px;
|
139
|
+
overflow-x: auto;
|
140
|
+
> code {
|
141
|
+
border: 0;
|
142
|
+
padding-right: 0;
|
143
|
+
padding-left: 0;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
|
148
|
+
// ------------------------------
|
149
|
+
// blog structure
|
150
|
+
// ------------------------------
|
151
|
+
|
152
|
+
body {
|
153
|
+
|
154
|
+
// ----- blog header -----
|
155
|
+
|
156
|
+
[class^="icon-"], [class*=" icon-"] {
|
157
|
+
height: 1.6rem;
|
158
|
+
width: 1.6rem;
|
159
|
+
margin-bottom: -4px;
|
160
|
+
fill: black;
|
161
|
+
|
162
|
+
}
|
163
|
+
|
164
|
+
svg:hover {
|
165
|
+
fill: $accent-color;
|
166
|
+
}
|
167
|
+
|
168
|
+
header {
|
169
|
+
@extend .header-font;
|
170
|
+
width: 100%;
|
171
|
+
margin: 0 auto;
|
172
|
+
> h1 {
|
173
|
+
|
174
|
+
font-family: ministry;
|
175
|
+
font-weight: 400;
|
176
|
+
text-align: center;
|
177
|
+
font-size: 1.8rem;
|
178
|
+
line-height: 2.8rem;
|
179
|
+
margin-top: 1.4rem;
|
180
|
+
margin-bottom: 0rem;
|
181
|
+
|
182
|
+
display: inline-block;
|
183
|
+
text-transform: lowercase;
|
184
|
+
a {
|
185
|
+
color: $text-color;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
#nav {
|
190
|
+
clear: both;
|
191
|
+
font-family: ministry;
|
192
|
+
text-align: center;
|
193
|
+
font-weight: 200;
|
194
|
+
font-size: 1rem;
|
195
|
+
line-height: 1.4rem;
|
196
|
+
margin-top: 0rem;
|
197
|
+
margin-bottom: 2.8rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
}
|
201
|
+
|
202
|
+
// ----- blog content -----
|
203
|
+
|
204
|
+
div.title > h1 {
|
205
|
+
margin-bottom: 6px;
|
206
|
+
font-weight: 200;
|
207
|
+
@extend .font-size-large;
|
208
|
+
text-align: left;
|
209
|
+
}
|
210
|
+
|
211
|
+
img {
|
212
|
+
max-width: 100%;
|
213
|
+
display: block;
|
214
|
+
margin: 0 auto;
|
215
|
+
}
|
216
|
+
|
217
|
+
// ------ pagination buttons ------
|
218
|
+
|
219
|
+
.pagination {
|
220
|
+
@extend .sans-serif-font;
|
221
|
+
padding: 23.683px 0;
|
222
|
+
padding: 1.184rem 0;
|
223
|
+
margin-bottom: 62px;
|
224
|
+
margin-bottom: 3.1rem;
|
225
|
+
margin-top: -2.236rem;
|
226
|
+
|
227
|
+
|
228
|
+
span, a {
|
229
|
+
border-radius: $border-radius-size;
|
230
|
+
padding: 4.722px 12.361px;
|
231
|
+
padding: 0.236rem 0.618rem;
|
232
|
+
}
|
233
|
+
|
234
|
+
a {
|
235
|
+
@extend .button;
|
236
|
+
}
|
237
|
+
|
238
|
+
span {
|
239
|
+
border: 1px solid $accent-color;
|
240
|
+
color: $accent-color;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
// ----- blog footer -----
|
247
|
+
|
248
|
+
> footer {
|
249
|
+
@extend .margin-bottom-larger;
|
250
|
+
clear: both;
|
251
|
+
|
252
|
+
p {
|
253
|
+
@extend .font-size-smallest;
|
254
|
+
@extend .header-font;
|
255
|
+
color: $secondary-text-color;
|
256
|
+
line-height: 20px;
|
257
|
+
line-height: 1rem;
|
258
|
+
font-weight: 100;
|
259
|
+
text-align: center;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
264
|
+
|
265
|
+
// ------------------------------
|
266
|
+
// archives page
|
267
|
+
// ------------------------------
|
268
|
+
|
269
|
+
#blog-archives {
|
270
|
+
margin-bottom: 100.316px;
|
271
|
+
margin-bottom: 5.016rem;
|
272
|
+
|
273
|
+
h2 {
|
274
|
+
@extend .sans-serif-font-bold;
|
275
|
+
@extend .font-size-large;
|
276
|
+
color: $text-color;
|
277
|
+
font-weight: 400;
|
278
|
+
margin-top: 24px;
|
279
|
+
margin-bottom: 12px;
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
article {
|
284
|
+
margin-bottom: 12px;
|
285
|
+
overflow: auto;
|
286
|
+
|
287
|
+
h1 {
|
288
|
+
@extend .font-size-medium;
|
289
|
+
padding-bottom: 4.722px;
|
290
|
+
padding-bottom: 0.236rem;
|
291
|
+
margin: 0;
|
292
|
+
font-weight: 300;
|
293
|
+
line-height: 14px;
|
294
|
+
a {
|
295
|
+
color: $text-color;
|
296
|
+
&:hover {
|
297
|
+
text-decoration: none;
|
298
|
+
color: $accent-color;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
float: left;
|
302
|
+
}
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
}
|
307
|
+
|
308
|
+
time, footer {
|
309
|
+
@extend .font-size-medium;
|
310
|
+
@extend .sans-serif-font;
|
311
|
+
color: $secondary-text-color;
|
312
|
+
display: inline;
|
313
|
+
float: right;
|
314
|
+
font-weight: 200;
|
315
|
+
padding: 0;
|
316
|
+
vertical-align: top;
|
317
|
+
margin: 0;
|
318
|
+
}
|
319
|
+
span.categories {
|
320
|
+
text-transform: capitalize;
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
form {
|
325
|
+
text-align: left;
|
326
|
+
height: 50px;
|
327
|
+
font-size: 24px;
|
328
|
+
|
329
|
+
input.search {
|
330
|
+
font-size: 18px;
|
331
|
+
@extend .sans-serif-font;
|
332
|
+
}
|
333
|
+
}
|
334
|
+
|
335
|
+
#greatesthits {
|
336
|
+
margin-top: 15px;
|
337
|
+
}
|
338
|
+
|
339
|
+
// ------------------------------
|
340
|
+
// search results page
|
341
|
+
// ------------------------------
|
342
|
+
|
343
|
+
#search_results {
|
344
|
+
article {
|
345
|
+
margin-left: 0;
|
346
|
+
margin-top: 20px;
|
347
|
+
margin-top: 1rem;
|
348
|
+
|
349
|
+
> a {
|
350
|
+
display: none;
|
351
|
+
}
|
352
|
+
|
353
|
+
p {
|
354
|
+
margin-top: 14.637px;
|
355
|
+
margin-top: .732rem;
|
356
|
+
}
|
357
|
+
|
358
|
+
time:after {
|
359
|
+
content: none;
|
360
|
+
}
|
361
|
+
}
|
362
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.root,
|
2
|
+
html {
|
3
|
+
font-size: 20px;
|
4
|
+
line-height: 28px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.article,
|
8
|
+
body {
|
9
|
+
font-family: 'freight-text-pro';
|
10
|
+
font-size: 1rem;
|
11
|
+
line-height: 1.4rem;
|
12
|
+
margin: auto;
|
13
|
+
}
|
14
|
+
|
15
|
+
.h1,
|
16
|
+
h1 {
|
17
|
+
font-family: ministry;
|
18
|
+
font-size: 1.8rem;
|
19
|
+
font-weight: 400;
|
20
|
+
line-height: 2.8rem;
|
21
|
+
margin-bottom: 0;
|
22
|
+
margin-top: 1.4rem;
|
23
|
+
text-align: center;
|
24
|
+
}
|
25
|
+
|
26
|
+
.h2,
|
27
|
+
h2 {
|
28
|
+
font-family: ministry;
|
29
|
+
font-size: 1rem;
|
30
|
+
font-weight: 200;
|
31
|
+
line-height: 1.4rem;
|
32
|
+
margin-bottom: 0;
|
33
|
+
margin-top: 0;
|
34
|
+
text-align: center;
|
35
|
+
}
|
36
|
+
|
37
|
+
h3,
|
38
|
+
.h3 {
|
39
|
+
font-family: ministry;
|
40
|
+
font-size: 1.35rem;
|
41
|
+
font-weight: 200;
|
42
|
+
line-height: 1.4rem;
|
43
|
+
margin-bottom: 0;
|
44
|
+
margin-top: 1.4rem;
|
45
|
+
}
|
46
|
+
|
47
|
+
blockquote,
|
48
|
+
ol,
|
49
|
+
p,
|
50
|
+
pre,
|
51
|
+
table,
|
52
|
+
ul {
|
53
|
+
margin-bottom: 1.4rem;
|
54
|
+
margin-top: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
p {
|
58
|
+
@extend .default-line-height;
|
59
|
+
hyphens: auto;
|
60
|
+
text-align: left;
|
61
|
+
|
62
|
+
a {
|
63
|
+
text-decoration: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
a:hover {
|
67
|
+
text-decoration: underline;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
p + blockquote,
|
72
|
+
p + p {
|
73
|
+
margin-top: 1.4rem;
|
74
|
+
}
|
75
|
+
|
76
|
+
ol ol,
|
77
|
+
ol ul,
|
78
|
+
ul ol,
|
79
|
+
ul ul {
|
80
|
+
margin-bottom: 0;
|
81
|
+
margin-top: 0;
|
82
|
+
}
|
83
|
+
// Let's make sure all's aligned
|
84
|
+
hr .hr {
|
85
|
+
border: 1px solid;
|
86
|
+
margin: -1px 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
a,
|
90
|
+
b,
|
91
|
+
code,
|
92
|
+
em,
|
93
|
+
i,
|
94
|
+
small,
|
95
|
+
strong {
|
96
|
+
line-height: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
sub,
|
100
|
+
sup {
|
101
|
+
line-height: 0;
|
102
|
+
position: relative;
|
103
|
+
vertical-align: baseline;
|
104
|
+
}
|
105
|
+
|
106
|
+
sup {
|
107
|
+
top: -.5em;
|
108
|
+
}
|
109
|
+
|
110
|
+
sub {
|
111
|
+
bottom: -.25em;
|
112
|
+
}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
// This File is imported last, and will override other styles in the cascade
|
2
|
+
// Add styles here to make changes without digging in too much
|
3
|
+
|
4
|
+
/*
|
5
|
+
-------------------------------------------------------------------------
|
6
|
+
Modified from the October 2013 file from Vladi Gleba (vladigleba.com)
|
7
|
+
|
8
|
+
This layout is based on the following modular scale:
|
9
|
+
|
10
|
+
20px @ 1:1.618
|
11
|
+
62px @ 1:1.618
|
12
|
+
|
13
|
+
See http://alistapart.com/article/more-meaningful-typography
|
14
|
+
to learn about modular scales.
|
15
|
+
|
16
|
+
-------------------------------------------------------------------------
|
17
|
+
*/
|
18
|
+
|
19
|
+
// colors and corners
|
20
|
+
|
21
|
+
$accent-color: #e61717;
|
22
|
+
$accent-hover-color: #e61717;
|
23
|
+
|
24
|
+
$text-color: #333;
|
25
|
+
$secondary-text-color: #aaa;
|
26
|
+
|
27
|
+
$line-color: #e6e6e6;
|
28
|
+
$hide-line-numbers: true;
|
29
|
+
|
30
|
+
$border-radius-size: 4px;
|
31
|
+
$border-style: 3px solid $accent-color;
|
32
|
+
|
33
|
+
// ------------------------------
|
34
|
+
// shared styles
|
35
|
+
// ------------------------------
|
36
|
+
|
37
|
+
.default-line-height {
|
38
|
+
line-height: 32.360px;
|
39
|
+
line-height: 1.618rem;
|
40
|
+
}
|
41
|
+
|
42
|
+
.font-size-smallest {
|
43
|
+
font-size: 14.637px;
|
44
|
+
font-size: 0.732rem;
|
45
|
+
}
|
46
|
+
|
47
|
+
.font-size-small {
|
48
|
+
font-size: 16.773px;
|
49
|
+
font-size: 0.839rem; /* 0.732 + 0.107 */
|
50
|
+
}
|
51
|
+
|
52
|
+
.font-size-medium {
|
53
|
+
font-size: 19.359px;
|
54
|
+
font-size: 0.968rem; /* 0.732 + 0.236 */
|
55
|
+
}
|
56
|
+
|
57
|
+
.font-size-large {
|
58
|
+
font-size: 32.36px;
|
59
|
+
font-size: 1.618rem;
|
60
|
+
}
|
61
|
+
|
62
|
+
.font-size-largest {
|
63
|
+
font-size: 38.319px;
|
64
|
+
font-size: 1.916rem;
|
65
|
+
}
|
66
|
+
|
67
|
+
.font-size-huge {
|
68
|
+
font-size: 67.319px;
|
69
|
+
font-size: 3.816rem;
|
70
|
+
line-height: 76px;
|
71
|
+
}
|
72
|
+
|
73
|
+
.margin-bottom-large {
|
74
|
+
margin-bottom: 32.360px;
|
75
|
+
margin-bottom: 1.618rem;
|
76
|
+
}
|
77
|
+
|
78
|
+
.margin-bottom-larger {
|
79
|
+
margin-bottom: 52.358px;
|
80
|
+
margin-bottom: 2.618rem;
|
81
|
+
}
|
82
|
+
|
83
|
+
.margin-bottom-largest {
|
84
|
+
margin-bottom: 62.000px;
|
85
|
+
margin-bottom: 4.236rem;
|
86
|
+
}
|
87
|
+
|
88
|
+
.block-padding {
|
89
|
+
padding: 1px 32.360px;
|
90
|
+
padding: 1px 1.618rem;
|
91
|
+
margin-left: 1em;
|
92
|
+
}
|
93
|
+
|
94
|
+
.border-style {
|
95
|
+
border-top: 2px solid $secondary-text-color;
|
96
|
+
}
|
97
|
+
|
98
|
+
.code-keywords {
|
99
|
+
background-color: #e8e8e8;
|
100
|
+
border-radius: $border-radius-size;
|
101
|
+
padding: 0 5.591px;
|
102
|
+
padding: 0 0.28rem;
|
103
|
+
}
|
104
|
+
|
105
|
+
.button {
|
106
|
+
// @include transition(all 0.3s ease 0s);
|
107
|
+
border-radius: $border-radius-size;
|
108
|
+
background-color: $accent-color;
|
109
|
+
color: #fff;
|
110
|
+
|
111
|
+
&:hover {
|
112
|
+
background-color: $accent-hover-color;
|
113
|
+
color: #fff;
|
114
|
+
}
|
115
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
// @import "compass";
|
5
|
+
// @include global-reset;
|
6
|
+
// @include reset-html5;
|
7
|
+
|
8
|
+
@import "reset";
|
9
|
+
@import "variables";
|
10
|
+
@import "fonts";
|
11
|
+
@import "layout";
|
12
|
+
@import "styles";
|
13
|
+
@import "posts";
|
14
|
+
@import "typography";
|
15
|
+
@import "media";
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
2
|
+
|
3
|
+
<symbol id="icon-law" viewBox="0 0 512 512">
|
4
|
+
<path d="m257 96c17 0 31-14 31-31 1-18-14-33-33-33-17 1-30 14-31 31 0 19 15 34 33 33z m232 192l-9 0-63-123c9-1 18-4 26-8 12-5 14-21 5-31l0 0c-6-6-14-8-22-4-7 3-17 6-26 6-28 0-41-32-144-32-103 0-115 32-143 32-10 0-20-3-27-6-7-3-16-2-21 4l-1 0c-9 10-6 25 6 31 8 4 17 7 26 8l-64 123-9 0c-4 0-7 4-6 8 5 32 46 56 95 56 50 0 90-24 96-56 0-4-3-8-7-8l-9 0-63-122c41-4 63-25 95-25l0 243c-17 0-32 15-32 32l-35 0c-14 0-29 15-29 32l256 0c0-17-14-32-35-32l-29 0c0-17-14-32-32-32l0-243c32 0 54 21 96 25l-64 122-9 0c-4 0-7 4-6 8 5 32 46 56 95 56 50 0 90-24 96-56 0-4-3-8-7-8z m-329 0l-96 0 48-90z m192 0l48-90 48 90z"/>
|
5
|
+
</symbol>
|
6
|
+
|
7
|
+
</svg>
|
metadata
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redacre
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dominic Mauro
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-02 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.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- dominic.mauro@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/article.html
|
65
|
+
- _includes/footer.html
|
66
|
+
- _includes/head.html
|
67
|
+
- _includes/header.html
|
68
|
+
- _includes/post/categories.html
|
69
|
+
- _includes/post/date.html
|
70
|
+
- _layouts/archive.html
|
71
|
+
- _layouts/default.html
|
72
|
+
- _layouts/page.html
|
73
|
+
- _layouts/post.html
|
74
|
+
- _sass/_fonts.scss
|
75
|
+
- _sass/_layout.scss
|
76
|
+
- _sass/_media.scss
|
77
|
+
- _sass/_posts.scss
|
78
|
+
- _sass/_reset.scss
|
79
|
+
- _sass/_styles.scss
|
80
|
+
- _sass/_typography.scss
|
81
|
+
- _sass/_variables.scss
|
82
|
+
- assets/css/main.scss
|
83
|
+
- assets/images/icons.svg
|
84
|
+
homepage: https://github.com/dominicmauro/redacre
|
85
|
+
licenses:
|
86
|
+
- MIT
|
87
|
+
metadata: {}
|
88
|
+
post_install_message:
|
89
|
+
rdoc_options: []
|
90
|
+
require_paths:
|
91
|
+
- lib
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
requirements: []
|
103
|
+
rubyforge_project:
|
104
|
+
rubygems_version: 2.7.6
|
105
|
+
signing_key:
|
106
|
+
specification_version: 4
|
107
|
+
summary: A jekyll theme for a law blog
|
108
|
+
test_files: []
|