bragis-jekyll-theme 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 +4 -0
- data/README.md +49 -0
- data/_layouts/default.html +29 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/colors.scss +11 -0
- data/_sass/header.scss +20 -0
- data/_sass/main.scss +162 -0
- data/assets/css/styles.scss +3 -0
- metadata +66 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b516ce5e0c72f6f79ccb5af8ba9f3b97ae15b08ee931918f1690a9a4935b0a0c
|
|
4
|
+
data.tar.gz: 8b270216dfaae728f6e56e61e221f02ead5636805c698386cd826c1c4d8ca15b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5e72dae7d91a3ac225d007bebb048a976bffa90a79539fd2a1249d1e95d02f619ecfffd22e0307815eb05a7653fef796a70821a216e2d95733dbe3b27af9ec5d
|
|
7
|
+
data.tar.gz: 9adc6557d9b473851362588be0c478314a446d4ec4ca2c24a71fe17ea06d59a15de725df5a7657c673723db8db4058a45fce71cae5e7c30c2bb9a47279d3b0bf
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
|
2
|
+
|
|
3
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
|
|
4
|
+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# bragi-theme
|
|
2
|
+
`Majority of this README was generate by Jekyll CLI tool. README will be updated ASAP.`
|
|
3
|
+
|
|
4
|
+
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`.
|
|
5
|
+
|
|
6
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
|
7
|
+
|
|
8
|
+
TODO: Delete this and the text above, and describe your gem
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Add this line to your Jekyll site's `Gemfile`:
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
gem "bragi-theme"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
And add this line to your Jekyll site's `_config.yml`:
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
theme: bragi-theme
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
And then execute:
|
|
26
|
+
|
|
27
|
+
$ bundle
|
|
28
|
+
|
|
29
|
+
Or install it yourself as:
|
|
30
|
+
|
|
31
|
+
$ gem install bragi-theme
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
TBU
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
To set up your environment to develop this theme, run `bundle install`.
|
|
40
|
+
|
|
41
|
+
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.
|
|
42
|
+
|
|
43
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
|
44
|
+
To add a custom directory to your theme-gem, please edit the regexp in `bragi-theme.gemspec` accordingly.
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
Distributed under the =0BSD= for more information go to =LICENSE=.
|
|
48
|
+
|
|
49
|
+
[[https://www.youtube.com/watch?v=5qacGULztuQ][TL;DR]]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<html lang="en-US">
|
|
2
|
+
<head>
|
|
3
|
+
<title>
|
|
4
|
+
{{ page.title }}
|
|
5
|
+
</title>
|
|
6
|
+
<meta charset='utf-8'>
|
|
7
|
+
<link rel="stylesheet" href='/assets/css/styles.css'>
|
|
8
|
+
<style>
|
|
9
|
+
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@500&display=swap');
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<header>
|
|
14
|
+
<a href="/">
|
|
15
|
+
<h1>{{ site.title }}</h1>
|
|
16
|
+
</a>
|
|
17
|
+
</header>
|
|
18
|
+
<article>
|
|
19
|
+
<h1 class="article-title">
|
|
20
|
+
{{page.title}}
|
|
21
|
+
</h1>
|
|
22
|
+
{{ content }}
|
|
23
|
+
</article>
|
|
24
|
+
</body>
|
|
25
|
+
<footer>
|
|
26
|
+
Powered by <a href='https://jekyllrb.com/'>Jekyll</a>. Theme based on <a href='https://draculatheme.com/'>Dracula</a>
|
|
27
|
+
</footer>
|
|
28
|
+
</html>
|
|
29
|
+
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
data/_sass/colors.scss
ADDED
data/_sass/header.scss
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
header {
|
|
2
|
+
border-bottom: 2px $line solid;
|
|
3
|
+
padding: 0px 0px 10px 0px;
|
|
4
|
+
margin-bottom: 2em;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
header a {
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
color: $text;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
header a h1 {
|
|
13
|
+
font-size: 28px;
|
|
14
|
+
margin: 0px;
|
|
15
|
+
padding: 0px;
|
|
16
|
+
color: $text;
|
|
17
|
+
}
|
|
18
|
+
header a h1:before {
|
|
19
|
+
content:""
|
|
20
|
+
}
|
data/_sass/main.scss
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@import "colors";
|
|
2
|
+
@import "header";
|
|
3
|
+
|
|
4
|
+
body {
|
|
5
|
+
background: $background;
|
|
6
|
+
color: $text;
|
|
7
|
+
margin: 1% auto;
|
|
8
|
+
width: 75%;
|
|
9
|
+
max-width: 1600px;
|
|
10
|
+
font-family: 'Fira Code', monospace;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
p {
|
|
14
|
+
margin: 1em 35px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
a {
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
color: $green;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
body h1, body h2, body h3 {
|
|
23
|
+
margin: 1em 0em;
|
|
24
|
+
font-size: 26px;
|
|
25
|
+
}
|
|
26
|
+
body h4, body h5, body h6 {
|
|
27
|
+
margin: 1em 0em 0.5em 0em;
|
|
28
|
+
font-size: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
a:hover {
|
|
32
|
+
text-decoration: underline;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.article-title{
|
|
36
|
+
color: $text;
|
|
37
|
+
font-size: 32px;
|
|
38
|
+
text-align: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.article-title:before {
|
|
42
|
+
content: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h1 {
|
|
46
|
+
color: $pink;
|
|
47
|
+
}
|
|
48
|
+
h1:before {
|
|
49
|
+
content: "* ";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h2 {
|
|
53
|
+
color: $purple;
|
|
54
|
+
}
|
|
55
|
+
h2:before {
|
|
56
|
+
content: "** ";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
h3 {
|
|
61
|
+
color: $secondary;
|
|
62
|
+
}
|
|
63
|
+
h3:before {
|
|
64
|
+
content: "*** "
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
h4 {
|
|
68
|
+
color: $secondary;
|
|
69
|
+
}
|
|
70
|
+
h4:before {
|
|
71
|
+
content: "**** ";
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h5 {
|
|
75
|
+
color: $secondary;
|
|
76
|
+
}
|
|
77
|
+
h5:before {
|
|
78
|
+
content: "***** ";
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
h6 {
|
|
82
|
+
color: $secondary;
|
|
83
|
+
}
|
|
84
|
+
h6:before {
|
|
85
|
+
content: "****** ";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
table {
|
|
89
|
+
border-collapse: collapse;
|
|
90
|
+
width: 100%;
|
|
91
|
+
margin: 0px 35px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
th, td {
|
|
95
|
+
border: 2px solid $line;
|
|
96
|
+
padding: 5px 10px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
th {
|
|
100
|
+
font-weight: bold;
|
|
101
|
+
font-size: 20px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
td {
|
|
105
|
+
border-top: 1px solid $line;
|
|
106
|
+
padding: 10px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
blockquote {
|
|
110
|
+
border-left: 4px solid $secondary;
|
|
111
|
+
margin: 0px 0px 0px 35px;
|
|
112
|
+
padding: 1em;
|
|
113
|
+
background-color: $line;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
footer {
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
color: $secondary;
|
|
119
|
+
border-top: 1px solid $line;
|
|
120
|
+
margin: 2em 0px;
|
|
121
|
+
padding: 1em;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
footer a {
|
|
125
|
+
color: $purple;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
dl {
|
|
129
|
+
padding: 0px 35px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
dt {
|
|
133
|
+
font-size: 18px;
|
|
134
|
+
font-style: italic;
|
|
135
|
+
font-weight: bold;
|
|
136
|
+
border-bottom: 1px solid $line;
|
|
137
|
+
margin: 10px 0px;
|
|
138
|
+
color: $text
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
dd {
|
|
142
|
+
color: $text
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.language-plaintext {
|
|
146
|
+
background: $line;
|
|
147
|
+
padding: 5px 10px;
|
|
148
|
+
color: $text;
|
|
149
|
+
overflow-y: hidden;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
pre code {
|
|
153
|
+
padding: 10px 20px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
ol {
|
|
157
|
+
padding-left: 35px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
ul {
|
|
161
|
+
padding-left: 35px;
|
|
162
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bragis-jekyll-theme
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Bragi Litlausson
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2021-12-06 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: '4.2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '4.2'
|
|
27
|
+
description:
|
|
28
|
+
email:
|
|
29
|
+
- bragi.litlausson@protonmail.com
|
|
30
|
+
executables: []
|
|
31
|
+
extensions: []
|
|
32
|
+
extra_rdoc_files: []
|
|
33
|
+
files:
|
|
34
|
+
- LICENSE.txt
|
|
35
|
+
- README.md
|
|
36
|
+
- _layouts/default.html
|
|
37
|
+
- _layouts/page.html
|
|
38
|
+
- _layouts/post.html
|
|
39
|
+
- _sass/colors.scss
|
|
40
|
+
- _sass/header.scss
|
|
41
|
+
- _sass/main.scss
|
|
42
|
+
- assets/css/styles.scss
|
|
43
|
+
homepage: https://github.com/bragi-litlausson/bragis-jekyll-theme
|
|
44
|
+
licenses:
|
|
45
|
+
- 0BSD
|
|
46
|
+
metadata: {}
|
|
47
|
+
post_install_message:
|
|
48
|
+
rdoc_options: []
|
|
49
|
+
require_paths:
|
|
50
|
+
- lib
|
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '0'
|
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
requirements: []
|
|
62
|
+
rubygems_version: 3.0.8
|
|
63
|
+
signing_key:
|
|
64
|
+
specification_version: 4
|
|
65
|
+
summary: My jekyll theme used for all bragi-listlausson.net sites
|
|
66
|
+
test_files: []
|