jekyll-theme-collider 0.1.2 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2c6cca56b5a53e3246bbe58c77ff4e4d9c968ac3
4
- data.tar.gz: 0f0cbebbd0ea102f94eea33da80a91ad6e702085
2
+ SHA256:
3
+ metadata.gz: 84dd7ada13aa3ea32488dfd2d12d4d5aaee4b63c7f914916d0a09ac92b5cffa1
4
+ data.tar.gz: e7860e5c31ddd038c269559bf60703f74c0e27fabec222727304bfa265265685
5
5
  SHA512:
6
- metadata.gz: e2d886d323734a7c98ec5f4c485ba3aa36637126ac9b56f2758bf8aa2ae7c0ca6c911f213b52aec726f32b68945b97d6c801d3ce2ff44a0850dcd076fbf9ec54
7
- data.tar.gz: 3aa36249548b994ce9d78a207ab41a2ff0b53b08860bf7a7468ccc43449bd66bbaee17bc83e16ea7b5d80367e25410c3b73f2b3b79729d88d7fdc71285bcb6fd
6
+ metadata.gz: dcd682a096c18b223250fef7576fa6ae33327ec1ac7b8ab87fa2ff3cac881530e6bb9323fe8257339854a20ad6b62599826fc8937e514437beb1733185670727
7
+ data.tar.gz: 3f0acef091e750771d4b6005c0aa63b5434df5a38009801b9c48bf3a153431cb56beb5f9fca13e2152b5f99b0c845b3dff107bf95c8d8b78a37c03950020858a
data/README.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # jekyll-theme-collider
2
2
 
3
+ - [About](#about)
4
+ - [Installation](#installation)
5
+ - [Jekyll requirements](#jekyll-requirements)
6
+ - [Create a local copy of the site](#create-a-local-copy-of-the-site)
7
+ - [Install theme using gem](#install-theme-using-gem)
8
+ - [Troubleshooting](#troubleshooting)
9
+ - [Tags](#tags)
10
+ - [Colors](#colors)
11
+ - [Page header colors](#page-header-colors)
12
+ - [Homepage background color](#homepage-background-color)
13
+ - [About page customization](#about-page-customization)
14
+ - [Customizing particles js](#customizing-particles-js)
15
+ - [Future projects](#future-projects)
16
+ - [Contributing](#contributing)
17
+ - [License](#license)
18
+
3
19
  ## About
4
20
  This theme has two main nifty features, the use of [particles.js](https://vincentgarreau.com/particles.js/) and the [jekyll-paginate-v2 plugin](https://github.com/sverrirs/jekyll-paginate-v2/tree/master/examples). For those who don't know, the jekyll-paginate-v2 plugin allows you to do cool things like paginate within a given collection, which the current jekyll-paginate gem does not allow.
5
21
 
@@ -8,13 +24,13 @@ I'm also using the powers of [ITCSS](https://github.com/ahmadajmi/awesome-itcss)
8
24
  The font I'm using is a favorite of mine, [Operator Mono SSm](https://www.typography.com/fonts/operator/styles/operatormonoscreensmart). Also notice the fun use of colors on tags and each page, these are easily customizable by design and is detailed below.
9
25
 
10
26
  ## Installation
11
- **Jekyll requirements**
27
+ #### Jekyll requirements
12
28
  * You must have Ruby installed:
13
29
  * https://www.ruby-lang.org/en/downloads/
14
30
  * Install Jekyll and Bundler:
15
31
  * `gem install jekyll bundler`
16
32
 
17
- **Create a local copy of the site**
33
+ #### Create a local copy of the site
18
34
  * Download this site:
19
35
  * `git clone https://github.com/ryancolorcafe/jekyll-theme-collider.git`
20
36
  * Move into directory:
@@ -25,7 +41,7 @@ The font I'm using is a favorite of mine, [Operator Mono SSm](https://www.typogr
25
41
  * `bundle exec jekyll serve`
26
42
  * Browse to http://localhost:4000
27
43
 
28
- **Install theme using gem**
44
+ #### Install theme using gem
29
45
  * Add this line to your Gemfile:
30
46
  * `gem "jekyll-theme-collider"`
31
47
  * Install running this command in your terminal:
@@ -63,7 +79,7 @@ linked_in_profile: [LinkedIn profile url]
63
79
  full_name: [Your username]
64
80
  user_description: [Your description]
65
81
  disqus:
66
- shortname: [Your Disqus shortname]
82
+ shortname: [Your Disqus shortname] # https://disqus.com
67
83
 
68
84
  theme: jekyll-theme-collider
69
85
 
@@ -93,7 +109,7 @@ pagination:
93
109
  * Run your server and you should be good to go!
94
110
  * `bundle exec jekyll serve`
95
111
 
96
- **Troubleshooting:**
112
+ #### Troubleshooting:
97
113
  * The `curl -L -O` commands may not have fully downloaded each file. Even if it seems the file was fully downloaded, open each one to make sure that it doesn't just contain a 503 error inside. Delete the files with errors and retry the curl commands.
98
114
  * You may need to restart your server in order for your changes to take effect.
99
115
 
@@ -115,7 +131,7 @@ pagination:
115
131
 
116
132
  All posts tagged with _Jekyll_
117
133
  ```
118
- If you're familiar with Jekyll, most of this will look familiar. The parts unique to this theme are the color and the pagination configurations. The color configured here will determine the color of the tag page header and is based on SCSS color settings, meaning it's not just the default CSS purple color being used here. More on that in another section.
134
+ If you're familiar with Jekyll [front matter](https://jekyllrb.com/docs/front-matter/), this configuration will be intuitive. The parts unique to this theme are the color and the pagination configurations. The color configured here will determine the color of the tag page header and is based on SCSS color settings, meaning it's not just the default CSS purple color being used here. More on that in the colors section below.
119
135
 
120
136
  The pagination settings are necessary to set for the jekyll-pagination-v2 plugin. The only one you'll likely want to ever modify here is the `tag:` setting, where you simply put the tag name you'd like to use in lowercase.
121
137
 
@@ -131,7 +147,7 @@ In order to configure the colors as above, and make your own custom colors, see
131
147
 
132
148
  If using this theme as a gem, see [overriding theme defaults](https://jekyllrb.com/docs/themes/#overriding-theme-defaults) in the Jekyll docs as you will need to make a copy of the following files.
133
149
 
134
- **Page header colors**
150
+ #### Page header colors
135
151
 
136
152
  To set up a new color variable in the SCSS, you may do so in `settings/_color.scss`. To create a new reusable color class that can be used for tag pages and the tags themselves, go to `elements/_colors.scss`. The structure a new color classes should look like the following:
137
153
 
@@ -155,9 +171,9 @@ a.bg--orange:hover {
155
171
 
156
172
  This is what would allow you to simply configure `color: orange` in your `tags` and `_blog_tags` directory files. For an example of what is happening under the hood, you can take a look at the `_includes/header.html` file, lines 1-15.
157
173
 
158
- **Home page background color**
174
+ #### Homepage background color
159
175
 
160
- To change the background color of the particles.js canvas on the home page, go to `components/_particles.scss` and change the background color here:
176
+ To change the background color of the particles.js canvas on the homepage, go to `components/_particles.scss` and change the background color here:
161
177
  ```
162
178
  #particles-js {
163
179
  background: $dark-sea-green;
@@ -174,20 +190,20 @@ layout: default
174
190
  ```
175
191
  You may put whatever HTML and text you'd like below.
176
192
 
177
- ## Customizing particles.js
193
+ ## Customizing particles js
178
194
 
179
195
  To customize particles.js, such as the shape and size of the particles, you'll need to edit `assets/js/app.js`. If using the theme gem, you'll need to create this file and override with your own settings. Since this customization is outside the scope of this readme, I recommend learning more on the particles.js [GitHub page](https://github.com/VincentGarreau/particles.js/).
180
196
 
181
- ## Contributing
182
-
183
- Bug reports and pull requests are welcome on GitHub at https://github.com/ryancolorcafe/jekyll-theme-collider. 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.
184
-
185
197
  ## Future projects
186
198
 
187
199
  * A portfolio/work page using CSS Grid
188
200
  * Search bar for articles in blog
189
201
  * Modular scale typography
190
202
 
203
+ ## Contributing
204
+
205
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ryancolorcafe/jekyll-theme-collider. 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.
206
+
191
207
  ## License
192
208
 
193
209
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <meta property="og:image" content="{{ "/assets/images/theme-image.png" | prepend: site.baseurl }}">
7
7
  <meta property="og:description" content="The Collider Jekyll Theme is a gem-based theme that helps makes use of the jekyll-paginate-v2 plugin and particles.js.">
8
- <meta property="og:title" content="Collider Jekyll Theme">
8
+ <meta property="og:title" content="{{site.meta_title}}">
9
9
  <meta property="og:url" content="//{{site.url}}">
10
10
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
11
11
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
@@ -93,3 +93,19 @@ a.bg--orange:hover {
93
93
  a.bg--bittersweet:hover {
94
94
  background: darken($bittersweet, $darken--button);
95
95
  }
96
+
97
+ .react-blue {
98
+ color: $react-blue;
99
+ &.icon {
100
+ fill: $react-blue;
101
+ }
102
+ }
103
+
104
+ .bg--react-blue {
105
+ background: $react-blue;
106
+ color: $white;
107
+ }
108
+
109
+ a.bg--react-blue:hover {
110
+ background: darken($react-blue, $darken--button);
111
+ }
@@ -21,3 +21,7 @@ body {
21
21
  background-color: #000;
22
22
  color: $white;
23
23
  }
24
+
25
+ img {
26
+ width: 100%;
27
+ }
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+
5
+ pre {
6
+ white-space: pre-wrap;
7
+ }
8
+
9
+ .highlight {
10
+ background: whitesmoke;
11
+ padding: 8px 12px;
12
+ margin: 20px 0 0 0;
13
+
14
+ .highlighter-rouge & {
15
+ background: #eef;
16
+ }
17
+
18
+ .c { color: #998; font-style: italic } // Comment
19
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
20
+ .k { font-weight: bold } // Keyword
21
+ .o { font-weight: bold } // Operator
22
+ .cm { color: #998; font-style: italic } // Comment.Multiline
23
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
24
+ .c1 { color: #998; font-style: italic } // Comment.Single
25
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
26
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
27
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
28
+ .ge { font-style: italic } // Generic.Emph
29
+ .gr { color: #a00 } // Generic.Error
30
+ .gh { color: #999 } // Generic.Heading
31
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
32
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
33
+ .go { color: #888 } // Generic.Output
34
+ .gp { color: #555 } // Generic.Prompt
35
+ .gs { font-weight: bold } // Generic.Strong
36
+ .gu { color: #aaa } // Generic.Subheading
37
+ .gt { color: #a00 } // Generic.Traceback
38
+ .kc { font-weight: bold } // Keyword.Constant
39
+ .kd { font-weight: bold } // Keyword.Declaration
40
+ .kp { font-weight: bold } // Keyword.Pseudo
41
+ .kr { font-weight: bold } // Keyword.Reserved
42
+ .kt { color: #458; font-weight: bold } // Keyword.Type
43
+ .m { color: #099 } // Literal.Number
44
+ .s { color: #d14 } // Literal.String
45
+ .na { color: #008080 } // Name.Attribute
46
+ .nb { color: #0086B3 } // Name.Builtin
47
+ .nc { color: #458; font-weight: bold } // Name.Class
48
+ .no { color: #008080 } // Name.Constant
49
+ .ni { color: #800080 } // Name.Entity
50
+ .ne { color: #900; font-weight: bold } // Name.Exception
51
+ .nf { color: #900; font-weight: bold } // Name.Function
52
+ .nn { color: #555 } // Name.Namespace
53
+ .nt { color: #000080 } // Name.Tag
54
+ .nv { color: #008080 } // Name.Variable
55
+ .ow { font-weight: bold } // Operator.Word
56
+ .w { color: #bbb } // Text.Whitespace
57
+ .mf { color: #099 } // Literal.Number.Float
58
+ .mh { color: #099 } // Literal.Number.Hex
59
+ .mi { color: #099 } // Literal.Number.Integer
60
+ .mo { color: #099 } // Literal.Number.Oct
61
+ .sb { color: #d14 } // Literal.String.Backtick
62
+ .sc { color: #d14 } // Literal.String.Char
63
+ .sd { color: #d14 } // Literal.String.Doc
64
+ .s2 { color: #d14 } // Literal.String.Double
65
+ .se { color: #d14 } // Literal.String.Escape
66
+ .sh { color: #d14 } // Literal.String.Heredoc
67
+ .si { color: #d14 } // Literal.String.Interpol
68
+ .sx { color: #d14 } // Literal.String.Other
69
+ .sr { color: #009926 } // Literal.String.Regex
70
+ .s1 { color: #d14 } // Literal.String.Single
71
+ .ss { color: #990073 } // Literal.String.Symbol
72
+ .bp { color: #999 } // Name.Builtin.Pseudo
73
+ .vc { color: #008080 } // Name.Variable.Class
74
+ .vg { color: #008080 } // Name.Variable.Global
75
+ .vi { color: #008080 } // Name.Variable.Instance
76
+ .il { color: #099 } // Literal.Number.Integer.Long
77
+ }
78
+
79
+ .highlighter-rouge {
80
+ background-color: whitesmoke;
81
+ }
@@ -23,3 +23,4 @@
23
23
 
24
24
  // Helpers
25
25
  @import "helpers/helpers";
26
+ @import "helpers/syntax-highlighting";
@@ -2,14 +2,15 @@
2
2
  /// Colors
3
3
  ////
4
4
 
5
- $white: #FFF;
6
- $jumbo-gray: #807F89;
7
- $outer-space: #343A40;
5
+ $white: #fff;
6
+ $jumbo-gray: #807f89;
7
+ $outer-space: #343a40;
8
8
  $dark-sea-green: darkseagreen;
9
- $sea-pink: #ECA4A6;
10
- $purple-rain: #513C61;
11
- $channel-orange: #DE763F;
9
+ $sea-pink: #eca4a6;
10
+ $purple-rain: #513c61;
11
+ $channel-orange: #de763f;
12
12
  $mine-shaft: #333;
13
- $bittersweet: #FF6B6B;
13
+ $bittersweet: #ff6b6b;
14
14
  $darken--button: 5%;
15
15
  $lighten--button: 25%;
16
+ $react-blue: #61dafb;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-collider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-23 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.8'
19
+ version: 3.9.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.8'
26
+ version: 3.9.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-paginate-v2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.7'
33
+ version: 1.9.4
34
34
  type: :runtime
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: '1.7'
40
+ version: 1.9.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll-feed
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: kramdown-parser-gfm
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.1.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '1.16'
75
+ version: 2.2.10
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '1.16'
82
+ version: 2.2.10
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rake
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -111,6 +125,7 @@ files:
111
125
  - _sass/jekyll-theme-collider/generic/_font.scss
112
126
  - _sass/jekyll-theme-collider/generic/_normalize.scss
113
127
  - _sass/jekyll-theme-collider/helpers/_helpers.scss
128
+ - _sass/jekyll-theme-collider/helpers/_syntax-highlighting.scss
114
129
  - _sass/jekyll-theme-collider/jekyll-theme-collider.scss
115
130
  - _sass/jekyll-theme-collider/settings/_colors.scss
116
131
  - assets/css/main.scss
@@ -144,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
159
  - !ruby/object:Gem::Version
145
160
  version: '0'
146
161
  requirements: []
147
- rubyforge_project:
148
- rubygems_version: 2.5.2.3
162
+ rubygems_version: 3.0.3.1
149
163
  signing_key:
150
164
  specification_version: 4
151
165
  summary: A simple blog using jekyll-paginate-v2 and particles.js