darlog 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +89 -0
- data/_includes/analytics.html +8 -0
- data/_includes/footer.html +9 -0
- data/_includes/head.html +20 -0
- data/_includes/header.html +17 -0
- data/_includes/links.html +3 -0
- data/_layouts/default.html +62 -0
- data/_layouts/page.html +7 -0
- data/_layouts/post.html +14 -0
- data/_sass/_navigation.scss +65 -0
- data/_sass/_posts.scss +62 -0
- data/_sass/_reset.scss +16 -0
- data/_sass/_syntax-highlighting.scss +23 -0
- data/_sass/_typography.scss +143 -0
- data/_sass/_variables.scss +43 -0
- data/_sass/rouge-base16-dark.scss +87 -0
- data/_sass/style.scss +59 -0
- metadata +22 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24eb1378ef2ac2def8b317abebb58b4e38a34be205bd6ac67ca5eac09bf570d4
|
4
|
+
data.tar.gz: 012bec576bb3af16062f40751b5bfbcf0161332743dbe5703d6614f1a855645d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2a491a33e2b11c44896c5b52ab1488e1123ec0c9f3150c9ff4bcacc1787ec7fb505589fc646a0438e732d56325a0f2ee1e46c9b29114822c3247d36cff975b1
|
7
|
+
data.tar.gz: f22ab8ac5fe2db426a642cb21bc6ed8062a3dc30af5a1d7ff2af2e86c2795ca4b810eeabcb9a32fa8211485a58b132b689484f8d0d014b1bc9d29b513a605f69
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Maverick Cloud
|
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,89 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: About
|
4
|
+
---
|
5
|
+
|
6
|
+
# Darlog blog theme
|
7
|
+
|
8
|
+
Darlog theme is minimalistic dark theme and is suitable for any kind of blogging. Theme is made not without the help of [Hacker-Blog](https://github.com/tocttou/hacker-blog) one, thus anything that is true for it
|
9
|
+
is also true for this one so I suggest you go there and checkout the desciption for more details.
|
10
|
+
|
11
|
+
Demo: https://darlog-theme.netlify.com/
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
Add this line to your Jekyll site's `Gemfile`:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
gem "darlog"
|
19
|
+
```
|
20
|
+
|
21
|
+
And add this line to your Jekyll site's `_config.yml`:
|
22
|
+
|
23
|
+
```yaml
|
24
|
+
theme: darlog
|
25
|
+
```
|
26
|
+
|
27
|
+
And then execute:
|
28
|
+
|
29
|
+
$ bundle
|
30
|
+
|
31
|
+
Or install it yourself as:
|
32
|
+
|
33
|
+
$ gem install darlog
|
34
|
+
|
35
|
+
Then add the gems theme needs:
|
36
|
+
|
37
|
+
gem install jekyll-seo-tag
|
38
|
+
gem install jekyll-paginate
|
39
|
+
gem install jekyll-sitemap
|
40
|
+
|
41
|
+
Finally run it with live reload and stat writing your awesome blog
|
42
|
+
|
43
|
+
jekyll serve --livereload
|
44
|
+
|
45
|
+
## Usage
|
46
|
+
|
47
|
+
Use bundle show minima to see where the theme is located and copy all files
|
48
|
+
you need to edit for your needs.
|
49
|
+
|
50
|
+
$ bundle show minima
|
51
|
+
|
52
|
+
|
53
|
+
## Contributing
|
54
|
+
|
55
|
+
Bug reports and pull requests are welcome on GitHub at [theme page](https://github.com/arxero/darlog). 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.
|
56
|
+
|
57
|
+
## Customizing
|
58
|
+
|
59
|
+
### Configuration variables
|
60
|
+
|
61
|
+
Edit the `_config.yml` file and set the following variables:
|
62
|
+
|
63
|
+
```yml
|
64
|
+
title: [The title of your blog]
|
65
|
+
description: [A short description of your blog's purpose]
|
66
|
+
author:
|
67
|
+
name: [Your name]
|
68
|
+
email: [Your email address]
|
69
|
+
url: [URL of your website]
|
70
|
+
|
71
|
+
baseurl: [The base url for this blog.]
|
72
|
+
|
73
|
+
paginate: [Number of posts in one paginated section (default: 3)]
|
74
|
+
owner: [Your name]
|
75
|
+
year: [Current Year]
|
76
|
+
```
|
77
|
+
|
78
|
+
*Note: All links in the site are prepended with `baseurl`. Default `baseurl` is `/`. Any other baseurl can be setup like `baseurl: /hacker-blog`, which makes the site available at `http://domain.name/hacker-blog`.*
|
79
|
+
|
80
|
+
Additionally, you may choose to set the following optional variables:
|
81
|
+
|
82
|
+
```yml
|
83
|
+
google_analytics: [Your Google Analytics tracking ID]
|
84
|
+
```
|
85
|
+
|
86
|
+
## License
|
87
|
+
|
88
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
89
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<script type="text/javascript">
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
6
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
7
|
+
ga('send', 'pageview');
|
8
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
6
|
+
<link rel="stylesheet" href="{{ '/css/main.css' | prepend: site.baseurl | replace: '//', '/' }}">
|
7
|
+
|
8
|
+
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" /> {% seo %}
|
9
|
+
|
10
|
+
|
11
|
+
<title>
|
12
|
+
{%if page.title %}
|
13
|
+
{{ page.title }}
|
14
|
+
{% else %}
|
15
|
+
{{ site.title }}
|
16
|
+
{% endif %}
|
17
|
+
</title>
|
18
|
+
|
19
|
+
</head>
|
20
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="header-wrapper">
|
2
|
+
<header>
|
3
|
+
|
4
|
+
<div class="site-title">
|
5
|
+
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">
|
6
|
+
{{ site.title }}
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<nav>
|
11
|
+
<ul class="first-level">
|
12
|
+
{% include links.html %}
|
13
|
+
</ul>
|
14
|
+
</nav>
|
15
|
+
|
16
|
+
</header>
|
17
|
+
</div>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<html lang="en">
|
2
|
+
{% include head.html %}
|
3
|
+
|
4
|
+
<body>
|
5
|
+
<div class="site-wrapper">
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<main>
|
9
|
+
{{ content }}
|
10
|
+
</main>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
{% if paginator.total_pages > 1 %}
|
16
|
+
<div class="pagination">
|
17
|
+
{% if paginator.previous_page == 1 %}
|
18
|
+
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">«</a>
|
19
|
+
{% elsif paginator.previous_page%}
|
20
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"
|
21
|
+
class="page-item">«</a>
|
22
|
+
{% else %}
|
23
|
+
<span class="page-item">«</span>
|
24
|
+
{% endif %} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %}
|
25
|
+
<span class="page-item">{{ page }}</span>
|
26
|
+
{% elsif page == 1 %}
|
27
|
+
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">{{ page }}</a>
|
28
|
+
{% else %}
|
29
|
+
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}"
|
30
|
+
class="page-item">{{ page }}</a>
|
31
|
+
{% endif %} {% endfor %} {% if paginator.next_page %}
|
32
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">»</a>
|
33
|
+
{% else %}
|
34
|
+
<span class="page-item">»</span>
|
35
|
+
{% endif %}
|
36
|
+
</div>
|
37
|
+
{% endif %}
|
38
|
+
|
39
|
+
<!-- {% include footer.html %} -->
|
40
|
+
|
41
|
+
{% if site.google_analytics %}
|
42
|
+
{% include analytics.html %}
|
43
|
+
{% endif %}
|
44
|
+
</body>
|
45
|
+
|
46
|
+
<!-- Add links to all headings -->
|
47
|
+
<script>
|
48
|
+
// source: https://david.darn.es/2017/07/25/adding-heading-links-to-your-jekyll-blog/
|
49
|
+
const headings = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); // 1
|
50
|
+
const linkContent = '<i class="fas fa-link"></i>'; // 2
|
51
|
+
for (const heading of headings) { // 3
|
52
|
+
const linkIcon = document.createElement('a'); // 4
|
53
|
+
linkIcon.classList.add('header-link');
|
54
|
+
linkIcon.setAttribute('href', `#${heading.id}`); // 5
|
55
|
+
linkIcon.innerHTML = linkContent; // 6
|
56
|
+
heading.appendChild(linkIcon); // 7
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
</script>
|
61
|
+
|
62
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post-wrapper">
|
6
|
+
<h2 class="">{{ page.title }}</h2>
|
7
|
+
<span class="post-author">{{ page.author}}</span>
|
8
|
+
<span class="post-delimiter">•</span>
|
9
|
+
<span class="post-date" datetime="{{ post.date | date_to_xmlschema }}">{{ page.date | date_to_string }}</span>
|
10
|
+
|
11
|
+
<div class="post-content">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</article>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
.header-wrapper {
|
2
|
+
background: $background-secondary;
|
3
|
+
// border-bottom: 2px solid $text-color;
|
4
|
+
padding-bottom: .3rem;
|
5
|
+
margin-bottom: 1.5rem;
|
6
|
+
|
7
|
+
a {
|
8
|
+
color: $text-color;
|
9
|
+
text-decoration: none;
|
10
|
+
text-transform: uppercase;
|
11
|
+
display: block;
|
12
|
+
}
|
13
|
+
|
14
|
+
a:hover {
|
15
|
+
color: white;
|
16
|
+
transition: all 450ms;
|
17
|
+
}
|
18
|
+
|
19
|
+
ul {
|
20
|
+
margin-bottom: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
li {
|
24
|
+
list-style: none;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
header {
|
29
|
+
display: flex;
|
30
|
+
justify-content: space-between;
|
31
|
+
align-items: center;
|
32
|
+
flex-wrap: wrap;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
.site-title a {
|
37
|
+
font-size: 2rem;
|
38
|
+
font-weight: bold;
|
39
|
+
letter-spacing: .1rem;
|
40
|
+
color: $nav-blue;
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
color: $hover-red;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.first-level {
|
48
|
+
display: flex;
|
49
|
+
margin-left: 0;
|
50
|
+
|
51
|
+
a {
|
52
|
+
margin: 0 .5rem;
|
53
|
+
border-bottom: 2px solid transparent;
|
54
|
+
}
|
55
|
+
|
56
|
+
a:hover {
|
57
|
+
border-bottom: 2px solid $nav-blue;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
@media screen and (max-width: 480px) {
|
62
|
+
header {
|
63
|
+
flex-direction: column;
|
64
|
+
}
|
65
|
+
}
|
data/_sass/_posts.scss
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
.posts-container {
|
2
|
+
margin-left: 0;
|
3
|
+
|
4
|
+
li {
|
5
|
+
list-style: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
.post-title {
|
9
|
+
font-size: 1.5em;
|
10
|
+
margin-bottom: -5px;
|
11
|
+
}
|
12
|
+
|
13
|
+
a {
|
14
|
+
transition: all 450ms;
|
15
|
+
}
|
16
|
+
|
17
|
+
.post {
|
18
|
+
background: $dark;
|
19
|
+
padding: .9rem;
|
20
|
+
margin-bottom: 1.3rem;
|
21
|
+
border-radius: 5px;
|
22
|
+
border: 1px solid transparent;
|
23
|
+
transition: all 450ms;
|
24
|
+
|
25
|
+
&:hover {
|
26
|
+
filter: brightness(110%);
|
27
|
+
box-shadow: 0 10px 12px rgba(0,0,0,.12);
|
28
|
+
border-color: $nav-blue;
|
29
|
+
}
|
30
|
+
|
31
|
+
&:hover a {
|
32
|
+
filter: brightness(110%);
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.post-preview {
|
38
|
+
padding-top: 1rem;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.post-author, .post-delimiter {
|
43
|
+
font-size: .9rem;
|
44
|
+
filter: brightness(90%);
|
45
|
+
}
|
46
|
+
|
47
|
+
.post-date {
|
48
|
+
filter: brightness(70%);
|
49
|
+
font-size: .8rem;
|
50
|
+
}
|
51
|
+
|
52
|
+
.post-wrapper {
|
53
|
+
h2 {
|
54
|
+
margin-bottom: -5px;
|
55
|
+
}
|
56
|
+
|
57
|
+
.post-content {
|
58
|
+
padding-top: 1rem;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
|
data/_sass/_reset.scss
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
.highlight {
|
2
|
+
background: $dark;
|
3
|
+
display: block;
|
4
|
+
border-radius: 5px;
|
5
|
+
box-shadow: inset 0 1px 10px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.5);
|
6
|
+
}
|
7
|
+
|
8
|
+
pre {
|
9
|
+
padding: 16px;
|
10
|
+
font-size: 16px;
|
11
|
+
display: inline-block;
|
12
|
+
text-wrap: normal;
|
13
|
+
overflow: auto;
|
14
|
+
overflow-y: hidden;
|
15
|
+
}
|
16
|
+
|
17
|
+
code.highlighter-rouge {
|
18
|
+
background: $dark;
|
19
|
+
padding: .25rem .4rem;
|
20
|
+
color: #aa759f;
|
21
|
+
border-radius: 3px;
|
22
|
+
box-shadow: inset 0 1px 10px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.5);
|
23
|
+
}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
/**
|
2
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
3
|
+
*/
|
4
|
+
h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre,
|
6
|
+
ul, ol, dl, figure,
|
7
|
+
%vertical-rhythm {
|
8
|
+
margin-bottom: $spacing-unit / 2;
|
9
|
+
}
|
10
|
+
|
11
|
+
dt {
|
12
|
+
font-style: italic;
|
13
|
+
font-weight: 700;
|
14
|
+
}
|
15
|
+
|
16
|
+
dd {
|
17
|
+
display: block;
|
18
|
+
margin-inline-start: 40px;
|
19
|
+
}
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Figures
|
23
|
+
*/
|
24
|
+
figure > img {
|
25
|
+
display: block;
|
26
|
+
}
|
27
|
+
|
28
|
+
figcaption {
|
29
|
+
font-size: $small-font-size;
|
30
|
+
}
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Lists
|
34
|
+
*/
|
35
|
+
ul, ol {
|
36
|
+
margin-left: $spacing-unit;
|
37
|
+
}
|
38
|
+
|
39
|
+
li {
|
40
|
+
> ul,
|
41
|
+
> ol {
|
42
|
+
margin-bottom: 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
.header-link {
|
48
|
+
font-size: 1.5rem;
|
49
|
+
margin-left: 10px;
|
50
|
+
display: none;
|
51
|
+
vertical-align: middle;
|
52
|
+
margin-top: -5px;
|
53
|
+
|
54
|
+
&:hover {
|
55
|
+
text-decoration: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
/**
|
61
|
+
* Headings
|
62
|
+
*/
|
63
|
+
h1 {
|
64
|
+
font-size: 2rem;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1, h2, h3, h4, h5, h6 {
|
68
|
+
font-weight: $base-font-weight;
|
69
|
+
|
70
|
+
&:hover .header-link{
|
71
|
+
display: inline-block;
|
72
|
+
}
|
73
|
+
|
74
|
+
}
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Links
|
78
|
+
*/
|
79
|
+
a {
|
80
|
+
color: $link-color;
|
81
|
+
text-decoration: none;
|
82
|
+
|
83
|
+
&:visited {
|
84
|
+
color: darken($link-color, 15%);
|
85
|
+
}
|
86
|
+
|
87
|
+
&:hover {
|
88
|
+
text-decoration: underline;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Blockquotes
|
94
|
+
*/
|
95
|
+
blockquote {
|
96
|
+
color: $grey-color;
|
97
|
+
border-left: 4px solid $nav-blue;
|
98
|
+
padding: 1rem;
|
99
|
+
border-radius: 3px;
|
100
|
+
padding-left: $spacing-unit / 2;
|
101
|
+
font-style: italic;
|
102
|
+
background: #333;
|
103
|
+
box-shadow: 0 1px 10px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.5);
|
104
|
+
transition: all 450ms;
|
105
|
+
|
106
|
+
> :last-child {
|
107
|
+
margin-bottom: 0;
|
108
|
+
}
|
109
|
+
|
110
|
+
&:hover {
|
111
|
+
border-left: 4px solid rgb(0, 172, 0);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Tables
|
117
|
+
*/
|
118
|
+
table {
|
119
|
+
margin-bottom: $spacing-unit;
|
120
|
+
width: 100%;
|
121
|
+
text-align: left;
|
122
|
+
color: $text-color;
|
123
|
+
border-collapse: collapse;
|
124
|
+
border: 1px solid $dark;
|
125
|
+
box-shadow: $inset-box-shadow;
|
126
|
+
|
127
|
+
tr {
|
128
|
+
&:nth-child(even) {
|
129
|
+
background-color: #333333;
|
130
|
+
transition: all 450ms;
|
131
|
+
}
|
132
|
+
&:hover {
|
133
|
+
background-color: $dark;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
th, td {
|
137
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
138
|
+
}
|
139
|
+
th {
|
140
|
+
background-color: $nav-blue;
|
141
|
+
border-bottom: 1px solid $dark;
|
142
|
+
}
|
143
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
$dark: #111111;
|
2
|
+
$background-secondary: #232323;
|
3
|
+
$text-color: #dadada;
|
4
|
+
$link-color: #49A0CC;
|
5
|
+
$nav-blue: #2693E6;
|
6
|
+
$lovely-red: #d80101;
|
7
|
+
$hover-red: #EB0254;
|
8
|
+
$default-box-shadow: 0px 0px 22px 2px rgba(0, 0, 0, 0.4);
|
9
|
+
$weak-box-shadow: 0 1px 10px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.5);
|
10
|
+
$inset-box-shadow: inset 0 1px 10px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.5);
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
$base-font-family: 'Roboto', sans-serif !default;
|
16
|
+
$base-font-size: 16px !default;
|
17
|
+
$base-font-weight: 400 !default;
|
18
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
19
|
+
$base-line-height: 1.5 !default;
|
20
|
+
|
21
|
+
$spacing-unit: 32px !default;
|
22
|
+
$grey-color: #828282 !default;
|
23
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
24
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
$apple-blossom: #ac4142;
|
30
|
+
$alto: #d0d0d0;
|
31
|
+
$bouquet: #aa759f;
|
32
|
+
$chelsea-cucumber: #90a959;
|
33
|
+
$cod-grey: #151515;
|
34
|
+
$conifer: #b5e853;
|
35
|
+
$dove-grey: #666;
|
36
|
+
$gallery: #eaeaea;
|
37
|
+
$grey: #888;
|
38
|
+
$gulf-stream: #75b5aa;
|
39
|
+
$hippie-blue: #6a9fb5;
|
40
|
+
$potters-clay: #8f5536;
|
41
|
+
$rajah: #f4bf75;
|
42
|
+
$raw-sienna: #d28445;
|
43
|
+
$silver-chalice: #aaa;
|
@@ -0,0 +1,87 @@
|
|
1
|
+
/*
|
2
|
+
generated by rouge http://rouge.jneen.net/
|
3
|
+
original base16 by Chris Kempson (https://github.com/chriskempson/base16)
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "./variables";
|
7
|
+
|
8
|
+
.highlight {
|
9
|
+
|
10
|
+
$plaintext: $alto !default;
|
11
|
+
$string: $chelsea-cucumber !default;
|
12
|
+
$literal: $chelsea-cucumber !default;
|
13
|
+
$keyword: $bouquet !default;
|
14
|
+
$error-foreground: $cod-grey !default;
|
15
|
+
$error-background: $apple-blossom !default;
|
16
|
+
$comment: $grey !default;
|
17
|
+
$preprocessor: $rajah !default;
|
18
|
+
$name-space: $rajah !default;
|
19
|
+
$name-attribute: $hippie-blue !default;
|
20
|
+
$operator: $rajah !default;
|
21
|
+
$keyword-type: $raw-sienna !default;
|
22
|
+
$regex: $gulf-stream !default;
|
23
|
+
$string-escape: $potters-clay !default;
|
24
|
+
$deleted: $apple-blossom !default;
|
25
|
+
$header: $hippie-blue !default;
|
26
|
+
|
27
|
+
color: $plaintext;
|
28
|
+
|
29
|
+
table td { padding: 5px; }
|
30
|
+
table pre { margin: 0; }
|
31
|
+
.w {
|
32
|
+
color: $plaintext;
|
33
|
+
}
|
34
|
+
.err {
|
35
|
+
color: $error-foreground;
|
36
|
+
background-color: $error-background;
|
37
|
+
}
|
38
|
+
.c, .cd, .cm, .c1, .cs {
|
39
|
+
color: $comment;
|
40
|
+
}
|
41
|
+
.cp {
|
42
|
+
color: $preprocessor;
|
43
|
+
}
|
44
|
+
.o, .ow {
|
45
|
+
color: $operator;
|
46
|
+
}
|
47
|
+
.p, .pi {
|
48
|
+
color: $plaintext;
|
49
|
+
}
|
50
|
+
.gi {
|
51
|
+
color: $string;
|
52
|
+
}
|
53
|
+
.gd {
|
54
|
+
color: $deleted;
|
55
|
+
}
|
56
|
+
.gh {
|
57
|
+
color: $header;
|
58
|
+
font-weight: bold;
|
59
|
+
}
|
60
|
+
.k, .kn, .kp, .kr, .kv {
|
61
|
+
color: $keyword;
|
62
|
+
}
|
63
|
+
.kc, .kt, .kd {
|
64
|
+
color: $keyword-type;
|
65
|
+
}
|
66
|
+
.s, .sb, .sc, .sd, .s2, .sh, .sx, .s1 {
|
67
|
+
color: $string;
|
68
|
+
}
|
69
|
+
.sr {
|
70
|
+
color: $regex;
|
71
|
+
}
|
72
|
+
.si, .se {
|
73
|
+
color: $string-escape;
|
74
|
+
}
|
75
|
+
.nt, .nn, .nc, .no{
|
76
|
+
color: $name-space;
|
77
|
+
}
|
78
|
+
.na {
|
79
|
+
color: $name-attribute;
|
80
|
+
}
|
81
|
+
.m, .mf, .mh, .mi, .il, .mo, .mb, .mx {
|
82
|
+
color: $literal;
|
83
|
+
}
|
84
|
+
.ss {
|
85
|
+
color: $string;
|
86
|
+
}
|
87
|
+
}
|
data/_sass/style.scss
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
@import 'https://use.fontawesome.com/releases/v5.5.0/css/all.css';
|
2
|
+
@import 'https://fonts.googleapis.com/css?family=Roboto';
|
3
|
+
@import './reset';
|
4
|
+
@import './variables';
|
5
|
+
@import './typography';
|
6
|
+
@import './navigation';
|
7
|
+
@import './rouge-base16-dark.scss';
|
8
|
+
@import './syntax-highlighting';
|
9
|
+
@import './posts.scss';
|
10
|
+
|
11
|
+
$background-color: $dark !default;
|
12
|
+
$text-color: $text-color !default;
|
13
|
+
|
14
|
+
|
15
|
+
body {
|
16
|
+
background: $background-color;
|
17
|
+
color: $text-color;
|
18
|
+
line-height: 1.5;
|
19
|
+
font-family: $base-font-family;
|
20
|
+
font-size: $base-font-size;
|
21
|
+
}
|
22
|
+
|
23
|
+
.site-wrapper {
|
24
|
+
max-width: 63.25rem;
|
25
|
+
margin: 0 auto;
|
26
|
+
background: #222222;
|
27
|
+
padding: .5rem 2rem;
|
28
|
+
display: block;
|
29
|
+
min-height: calc(100vh - 50px);
|
30
|
+
}
|
31
|
+
|
32
|
+
main {
|
33
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
34
|
+
}
|
35
|
+
|
36
|
+
section {
|
37
|
+
display: block;
|
38
|
+
margin: 0 0 20px 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
img {
|
42
|
+
max-width: 100%;
|
43
|
+
vertical-align: middle;
|
44
|
+
border-radius: 3px;
|
45
|
+
box-shadow: $weak-box-shadow;
|
46
|
+
}
|
47
|
+
|
48
|
+
.pagination, footer {
|
49
|
+
height: 50px;
|
50
|
+
line-height: 50px;
|
51
|
+
text-align: center;
|
52
|
+
}
|
53
|
+
|
54
|
+
@media screen and (max-width: 480px) {
|
55
|
+
.site-wrapper {
|
56
|
+
padding: .5rem .5rem;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: darlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maverick Cloud
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.0.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,25 @@ email:
|
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
|
-
files:
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/analytics.html
|
65
|
+
- _includes/footer.html
|
66
|
+
- _includes/head.html
|
67
|
+
- _includes/header.html
|
68
|
+
- _includes/links.html
|
69
|
+
- _layouts/default.html
|
70
|
+
- _layouts/page.html
|
71
|
+
- _layouts/post.html
|
72
|
+
- _sass/_navigation.scss
|
73
|
+
- _sass/_posts.scss
|
74
|
+
- _sass/_reset.scss
|
75
|
+
- _sass/_syntax-highlighting.scss
|
76
|
+
- _sass/_typography.scss
|
77
|
+
- _sass/_variables.scss
|
78
|
+
- _sass/rouge-base16-dark.scss
|
79
|
+
- _sass/style.scss
|
62
80
|
homepage: https://github.com/Arxero/darlog
|
63
81
|
licenses:
|
64
82
|
- MIT
|