jekyll-theme-hyde-plus 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9a340da1e8e28f3ed6fe63e63c6a454ae95d82eb
4
+ data.tar.gz: ccfeb8c9ae5bd076d990c92b4ee6b0ac8efcfba3
5
+ SHA512:
6
+ metadata.gz: 15e657ca915c2efb8eb5f6bb35f2dba49a398f972616ba095fb8ca426bab270779bb8bfb98928d65819ae600646ca57e347573cc1b0f20612b62ae55f6be4d06
7
+ data.tar.gz: 847bf1a5832b9617ac9891b6fd52a8b55ec99ea96a7d462cb389859c5eda019b7555b4865136e1a9d26e5dc6cee142750293543470d52588fc8f6fb2ae69b8b0
data/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # Released under MIT License
2
+
3
+ Copyright (c) 2013 Mark Otto.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,118 @@
1
+ # Hyde
2
+
3
+ Hyde is a brazen two-column [Jekyll](http://jekyllrb.com) theme that pairs a prominent sidebar with uncomplicated content. It's based on [Poole](http://getpoole.com), the Jekyll butler.
4
+
5
+ ![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png)
6
+
7
+
8
+ ## Contents
9
+
10
+ - [Usage](#usage)
11
+ - [Options](#options)
12
+ - [Sidebar menu](#sidebar-menu)
13
+ - [Sticky sidebar content](#sticky-sidebar-content)
14
+ - [Themes](#themes)
15
+ - [Reverse layout](#reverse-layout)
16
+ - [Development](#development)
17
+ - [Author](#author)
18
+ - [License](#license)
19
+
20
+
21
+ ## Usage
22
+
23
+ Hyde is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll.
24
+
25
+
26
+ ## Options
27
+
28
+ Hyde includes some customizable options, typically applied via classes on the `<body>` element.
29
+
30
+
31
+ ### Sidebar menu
32
+
33
+ Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/).
34
+
35
+ ```
36
+ ---
37
+ layout: page
38
+ title: About
39
+ ---
40
+ ```
41
+
42
+ **Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout.
43
+
44
+
45
+ ### Sticky sidebar content
46
+
47
+ By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disable this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom.
48
+
49
+ ```html
50
+ <!-- Default sidebar -->
51
+ <div class="sidebar">
52
+ <div class="container sidebar-sticky">
53
+ ...
54
+ </div>
55
+ </div>
56
+
57
+ <!-- Modified sidebar -->
58
+ <div class="sidebar">
59
+ <div class="container">
60
+ ...
61
+ </div>
62
+ </div>
63
+ ```
64
+
65
+
66
+ ### Themes
67
+
68
+ Hyde ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links).
69
+
70
+ ![Hyde in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png)
71
+
72
+ There are eight themes available at this time.
73
+
74
+ ![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png)
75
+
76
+ To use a theme, add anyone of the available theme classes to the `<body>` element in the `default.html` layout, like so:
77
+
78
+ ```html
79
+ <body class="theme-base-08">
80
+ ...
81
+ </body>
82
+ ```
83
+
84
+ To create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/hyde/blob/master/public/css/hyde.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors.
85
+
86
+ ### Reverse layout
87
+
88
+ ![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png)
89
+
90
+ Hyde's page orientation can be reversed with a single class.
91
+
92
+ ```html
93
+ <body class="layout-reverse">
94
+ ...
95
+ </body>
96
+ ```
97
+
98
+
99
+ ## Development
100
+
101
+ Hyde has two branches, but only one is used for active development.
102
+
103
+ - `master` for development. **All pull requests should be submitted against `master`.**
104
+ - `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.**
105
+
106
+
107
+ ## Author
108
+
109
+ **Mark Otto**
110
+ - <https://github.com/mdo>
111
+ - <https://twitter.com/mdo>
112
+
113
+
114
+ ## License
115
+
116
+ Open sourced under the [MIT license](LICENSE.md).
117
+
118
+ <3
@@ -0,0 +1,43 @@
1
+ <head>
2
+ <link href="http://gmpg.org/xfn/11" rel="profile">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
5
+
6
+ <!-- Enable responsiveness on mobile devices-->
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
8
+
9
+ <title>
10
+ {% if page.title == "Home" %}
11
+ {{ site.title }} &middot; {{ site.tagline }}
12
+ {% else %}
13
+ {{ page.title }} &middot; {{ site.title }}
14
+ {% endif %}
15
+ </title>
16
+
17
+ <!-- CSS -->
18
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/poole.css">
19
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/syntax.css">
20
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/hyde.css">
21
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/hyde-plus.css">
22
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
23
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
24
+
25
+ <!-- Icons -->
26
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/assets/apple-touch-icon-144-precomposed.png">
27
+ <link rel="shortcut icon" href="{{ site.url }}/assets/favicon.ico">
28
+
29
+ <!-- RSS -->
30
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
31
+
32
+ <!-- Google Analytics script -->
33
+ <script>
34
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
35
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
36
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
37
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
38
+
39
+ ga('create', '{{ site.google_analytics }}', 'auto');
40
+ ga('send', 'pageview');
41
+
42
+ </script
43
+ </head>
@@ -0,0 +1,40 @@
1
+ <div class="sidebar">
2
+ <div class="container sidebar-sticky">
3
+ <div class="sidebar-about">
4
+ <h1>
5
+ <a href="{{ site.url }}">
6
+ {{ site.title }}
7
+ </a>
8
+ </h1>
9
+ <p class="lead">{{ site.description }}</p>
10
+ </div>
11
+
12
+ <nav class="sidebar-nav">
13
+ <a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}">Home</a>
14
+
15
+ {% comment %}
16
+ The code below dynamically generates a sidebar nav of pages with
17
+ `layout: page` in the front-matter. See readme for usage.
18
+ {% endcomment %}
19
+
20
+ {% assign pages_list = site.pages %}
21
+ {% for node in pages_list %}
22
+ {% if node.title != null %}
23
+ {% if node.layout == "page" %}
24
+ <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
25
+ {% endif %}
26
+ {% endif %}
27
+ {% endfor %}
28
+ </nav>
29
+
30
+ <div class="social-icons">
31
+ <a href="https://twitter.com/{{ site.twitter_username }}" class="social fa fa-twitter" title="Twitter" target="_blank"></a>
32
+ <a href="https://linkedin.com/in/{{ site.linkedin_username }}" class="social fa fa-linkedin-square" title="Linkedin" target="_blank"></a>
33
+ <a href="https://github.com/{{ site.github_username }}" class="social fa fa-github" title="Github" target="_blank"></a>
34
+ <a href="mailto:{{ site.email }}" class="social fa fa-envelope" title="Email"></a>
35
+ <a href="/feed.xml" class="social fa fa-rss" title="RSS feed" target="_blank"></a>
36
+ </div>
37
+
38
+ <p>&copy; {{ site.time | date: '%Y' }}. All rights reserved.</p>
39
+ </div>
40
+ </div>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-us">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include sidebar.html %}
9
+
10
+ <div class="content container">
11
+ {{ content }}
12
+ </div>
13
+
14
+ </body>
15
+ </html>
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="page">
6
+ <h1 class="page-title">{{ page.title }}</h1>
7
+ {{ content }}
8
+ </div>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="post">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ <span class="post-date">{{ page.date | date_to_string }}</span>
8
+ {{ content }}
9
+ </div>
10
+
11
+ <div class="related">
12
+ <h2>Related Posts</h2>
13
+ <ul class="related-posts">
14
+ {% for post in site.related_posts limit:3 %}
15
+ <li>
16
+ <h3>
17
+ <a href="{{ post.url }}">
18
+ {{ post.title }}
19
+ <small>{{ post.date | date_to_string }}</small>
20
+ </a>
21
+ </h3>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
+ </div>
@@ -0,0 +1,16 @@
1
+ .social-icons {
2
+ margin: 16px;
3
+ display: flex;
4
+ justify-content: space-evenly;
5
+ }
6
+
7
+ a.social:link, a.social:visited {
8
+ color: white;
9
+ text-decoration: none;
10
+ font-size: 32px;
11
+ padding: 8px;
12
+ }
13
+
14
+ a.social :hover {
15
+ opacity: 0.5;
16
+ }
@@ -0,0 +1,250 @@
1
+ /*
2
+ * __ __
3
+ * /\ \ /\ \
4
+ * \ \ \___ __ __ \_\ \ __
5
+ * \ \ _ `\/\ \/\ \ /'_` \ /'__`\
6
+ * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/
7
+ * \ \_\ \_\/`____ \ \___,_\ \____\
8
+ * \/_/\/_/`/___/> \/__,_ /\/____/
9
+ * /\___/
10
+ * \/__/
11
+ *
12
+ * Designed, built, and released under MIT license by @mdo. Learn more at
13
+ * https://github.com/poole/hyde.
14
+ */
15
+
16
+
17
+ /*
18
+ * Contents
19
+ *
20
+ * Global resets
21
+ * Sidebar
22
+ * Container
23
+ * Reverse layout
24
+ * Themes
25
+ */
26
+
27
+
28
+ /*
29
+ * Global resets
30
+ *
31
+ * Update the foundational and global aspects of the page.
32
+ */
33
+
34
+ html {
35
+ font-family: "PT Sans", Helvetica, Arial, sans-serif;
36
+ }
37
+ @media (min-width: 48em) {
38
+ html {
39
+ font-size: 16px;
40
+ }
41
+ }
42
+ @media (min-width: 58em) {
43
+ html {
44
+ font-size: 20px;
45
+ }
46
+ }
47
+
48
+
49
+ /*
50
+ * Sidebar
51
+ *
52
+ * Flexible banner for housing site name, intro, and "footer" content. Starts
53
+ * out above content in mobile and later moves to the side with wider viewports.
54
+ */
55
+
56
+ .sidebar {
57
+ text-align: center;
58
+ padding: 2rem 1rem;
59
+ color: rgba(255,255,255,.5);
60
+ background-color: #202020;
61
+ }
62
+ @media (min-width: 48em) {
63
+ .sidebar {
64
+ position: fixed;
65
+ top: 0;
66
+ left: 0;
67
+ bottom: 0;
68
+ width: 21rem;
69
+ text-align: left;
70
+ }
71
+ }
72
+
73
+ /* Sidebar links */
74
+ .sidebar a {
75
+ color: #fff;
76
+ }
77
+
78
+ /* About section */
79
+ .sidebar-about h1 {
80
+ color: #fff;
81
+ margin-top: 0;
82
+ font-family: "Abril Fatface", serif;
83
+ font-size: 3.25rem;
84
+ }
85
+
86
+ /* Sidebar nav */
87
+ .sidebar-nav {
88
+ margin-bottom: 1rem;
89
+ }
90
+ .sidebar-nav-item {
91
+ display: block;
92
+ line-height: 1.75;
93
+ }
94
+ a.sidebar-nav-item:hover,
95
+ a.sidebar-nav-item:focus {
96
+ text-decoration: underline;
97
+ }
98
+ .sidebar-nav-item.active {
99
+ font-weight: bold;
100
+ }
101
+
102
+ /* Sticky sidebar
103
+ *
104
+ * Add the `sidebar-sticky` class to the sidebar's container to affix it the
105
+ * contents to the bottom of the sidebar in tablets and up.
106
+ */
107
+
108
+ @media (min-width: 48em) {
109
+ .sidebar-sticky {
110
+ position: absolute;
111
+ right: 1rem;
112
+ bottom: 1rem;
113
+ left: 1rem;
114
+ }
115
+ }
116
+
117
+
118
+ /* Container
119
+ *
120
+ * Align the contents of the site above the proper threshold with some margin-fu
121
+ * with a 25%-wide `.sidebar`.
122
+ */
123
+
124
+ .content {
125
+ padding-top: 4rem;
126
+ padding-bottom: 4rem;
127
+ }
128
+
129
+ @media (min-width: 48em) {
130
+ .content {
131
+ max-width: 38rem;
132
+ margin-left: 20rem;
133
+ margin-right: 2rem;
134
+ }
135
+ }
136
+
137
+ @media (min-width: 64em) {
138
+ .content {
139
+ margin-left: 22rem;
140
+ margin-right: 4rem;
141
+ }
142
+ }
143
+
144
+
145
+ /*
146
+ * Reverse layout
147
+ *
148
+ * Flip the orientation of the page by placing the `.sidebar` on the right.
149
+ */
150
+
151
+ @media (min-width: 48em) {
152
+ .layout-reverse .sidebar {
153
+ left: auto;
154
+ right: 0;
155
+ }
156
+ .layout-reverse .content {
157
+ margin-left: 2rem;
158
+ margin-right: 20rem;
159
+ }
160
+ }
161
+
162
+ @media (min-width: 64em) {
163
+ .layout-reverse .content {
164
+ margin-left: 4rem;
165
+ margin-right: 22rem;
166
+ }
167
+ }
168
+
169
+
170
+
171
+ /*
172
+ * Themes
173
+ *
174
+ * As of v1.1, Hyde includes optional themes to color the sidebar and links
175
+ * within blog posts. To use, add the class of your choosing to the `body`.
176
+ */
177
+
178
+ /* Base16 (http://chriskempson.github.io/base16/#default) */
179
+
180
+ /* Red */
181
+ .theme-base-08 .sidebar {
182
+ background-color: #ac4142;
183
+ }
184
+ .theme-base-08 .content a,
185
+ .theme-base-08 .related-posts li a:hover {
186
+ color: #ac4142;
187
+ }
188
+
189
+ /* Orange */
190
+ .theme-base-09 .sidebar {
191
+ background-color: #d28445;
192
+ }
193
+ .theme-base-09 .content a,
194
+ .theme-base-09 .related-posts li a:hover {
195
+ color: #d28445;
196
+ }
197
+
198
+ /* Yellow */
199
+ .theme-base-0a .sidebar {
200
+ background-color: #f4bf75;
201
+ }
202
+ .theme-base-0a .content a,
203
+ .theme-base-0a .related-posts li a:hover {
204
+ color: #f4bf75;
205
+ }
206
+
207
+ /* Green */
208
+ .theme-base-0b .sidebar {
209
+ background-color: #90a959;
210
+ }
211
+ .theme-base-0b .content a,
212
+ .theme-base-0b .related-posts li a:hover {
213
+ color: #90a959;
214
+ }
215
+
216
+ /* Cyan */
217
+ .theme-base-0c .sidebar {
218
+ background-color: #75b5aa;
219
+ }
220
+ .theme-base-0c .content a,
221
+ .theme-base-0c .related-posts li a:hover {
222
+ color: #75b5aa;
223
+ }
224
+
225
+ /* Blue */
226
+ .theme-base-0d .sidebar {
227
+ background-color: #6a9fb5;
228
+ }
229
+ .theme-base-0d .content a,
230
+ .theme-base-0d .related-posts li a:hover {
231
+ color: #6a9fb5;
232
+ }
233
+
234
+ /* Magenta */
235
+ .theme-base-0e .sidebar {
236
+ background-color: #aa759f;
237
+ }
238
+ .theme-base-0e .content a,
239
+ .theme-base-0e .related-posts li a:hover {
240
+ color: #aa759f;
241
+ }
242
+
243
+ /* Brown */
244
+ .theme-base-0f .sidebar {
245
+ background-color: #8f5536;
246
+ }
247
+ .theme-base-0f .content a,
248
+ .theme-base-0f .related-posts li a:hover {
249
+ color: #8f5536;
250
+ }
@@ -0,0 +1,430 @@
1
+ /*
2
+ * ___
3
+ * /\_ \
4
+ * _____ ___ ___\//\ \ __
5
+ * /\ '__`\ / __`\ / __`\\ \ \ /'__`\
6
+ * \ \ \_\ \/\ \_\ \/\ \_\ \\_\ \_/\ __/
7
+ * \ \ ,__/\ \____/\ \____//\____\ \____\
8
+ * \ \ \/ \/___/ \/___/ \/____/\/____/
9
+ * \ \_\
10
+ * \/_/
11
+ *
12
+ * Designed, built, and released under MIT license by @mdo. Learn more at
13
+ * https://github.com/poole/poole.
14
+ */
15
+
16
+
17
+ /*
18
+ * Contents
19
+ *
20
+ * Body resets
21
+ * Custom type
22
+ * Messages
23
+ * Container
24
+ * Masthead
25
+ * Posts and pages
26
+ * Pagination
27
+ * Reverse layout
28
+ * Themes
29
+ */
30
+
31
+
32
+ /*
33
+ * Body resets
34
+ *
35
+ * Update the foundational and global aspects of the page.
36
+ */
37
+
38
+ * {
39
+ -webkit-box-sizing: border-box;
40
+ -moz-box-sizing: border-box;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ html,
45
+ body {
46
+ margin: 0;
47
+ padding: 0;
48
+ }
49
+
50
+ html {
51
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
52
+ font-size: 16px;
53
+ line-height: 1.5;
54
+ }
55
+ @media (min-width: 38em) {
56
+ html {
57
+ font-size: 20px;
58
+ }
59
+ }
60
+
61
+ body {
62
+ color: #515151;
63
+ background-color: #fff;
64
+ -webkit-text-size-adjust: 100%;
65
+ -ms-text-size-adjust: 100%;
66
+ }
67
+
68
+ /* No `:visited` state is required by default (browsers will use `a`) */
69
+ a {
70
+ color: #268bd2;
71
+ text-decoration: none;
72
+ }
73
+ a strong {
74
+ color: inherit;
75
+ }
76
+ /* `:focus` is linked to `:hover` for basic accessibility */
77
+ a:hover,
78
+ a:focus {
79
+ text-decoration: underline;
80
+ }
81
+
82
+ /* Headings */
83
+ h1, h2, h3, h4, h5, h6 {
84
+ margin-bottom: .5rem;
85
+ font-weight: bold;
86
+ line-height: 1.25;
87
+ color: #313131;
88
+ text-rendering: optimizeLegibility;
89
+ }
90
+ h1 {
91
+ font-size: 2rem;
92
+ }
93
+ h2 {
94
+ margin-top: 1rem;
95
+ font-size: 1.5rem;
96
+ }
97
+ h3 {
98
+ margin-top: 1.5rem;
99
+ font-size: 1.25rem;
100
+ }
101
+ h4, h5, h6 {
102
+ margin-top: 1rem;
103
+ font-size: 1rem;
104
+ }
105
+
106
+ /* Body text */
107
+ p {
108
+ margin-top: 0;
109
+ margin-bottom: 1rem;
110
+ }
111
+
112
+ strong {
113
+ color: #303030;
114
+ }
115
+
116
+
117
+ /* Lists */
118
+ ul, ol, dl {
119
+ margin-top: 0;
120
+ margin-bottom: 1rem;
121
+ }
122
+
123
+ dt {
124
+ font-weight: bold;
125
+ }
126
+ dd {
127
+ margin-bottom: .5rem;
128
+ }
129
+
130
+ /* Misc */
131
+ hr {
132
+ position: relative;
133
+ margin: 1.5rem 0;
134
+ border: 0;
135
+ border-top: 1px solid #eee;
136
+ border-bottom: 1px solid #fff;
137
+ }
138
+
139
+ abbr {
140
+ font-size: 85%;
141
+ font-weight: bold;
142
+ color: #555;
143
+ text-transform: uppercase;
144
+ }
145
+ abbr[title] {
146
+ cursor: help;
147
+ border-bottom: 1px dotted #e5e5e5;
148
+ }
149
+
150
+ /* Code */
151
+ code,
152
+ pre {
153
+ font-family: Menlo, Monaco, "Courier New", monospace;
154
+ }
155
+ code {
156
+ padding: .25em .5em;
157
+ font-size: 85%;
158
+ color: #bf616a;
159
+ background-color: #f9f9f9;
160
+ border-radius: 3px;
161
+ }
162
+ pre {
163
+ display: block;
164
+ margin-top: 0;
165
+ margin-bottom: 1rem;
166
+ padding: 1rem;
167
+ font-size: .8rem;
168
+ line-height: 1.4;
169
+ white-space: pre;
170
+ white-space: pre-wrap;
171
+ word-break: break-all;
172
+ word-wrap: break-word;
173
+ background-color: #f9f9f9;
174
+ }
175
+ pre code {
176
+ padding: 0;
177
+ font-size: 100%;
178
+ color: inherit;
179
+ background-color: transparent;
180
+ }
181
+
182
+ /* Pygments via Jekyll */
183
+ .highlight {
184
+ margin-bottom: 1rem;
185
+ border-radius: 4px;
186
+ }
187
+ .highlight pre {
188
+ margin-bottom: 0;
189
+ }
190
+
191
+ /* Gist via GitHub Pages */
192
+ .gist .gist-file {
193
+ font-family: Menlo, Monaco, "Courier New", monospace !important;
194
+ }
195
+ .gist .markdown-body {
196
+ padding: 15px;
197
+ }
198
+ .gist pre {
199
+ padding: 0;
200
+ background-color: transparent;
201
+ }
202
+ .gist .gist-file .gist-data {
203
+ font-size: .8rem !important;
204
+ line-height: 1.4;
205
+ }
206
+ .gist code {
207
+ padding: 0;
208
+ color: inherit;
209
+ background-color: transparent;
210
+ border-radius: 0;
211
+ }
212
+
213
+ /* Quotes */
214
+ blockquote {
215
+ padding: .5rem 1rem;
216
+ margin: .8rem 0;
217
+ color: #7a7a7a;
218
+ border-left: .25rem solid #e5e5e5;
219
+ }
220
+ blockquote p:last-child {
221
+ margin-bottom: 0;
222
+ }
223
+ @media (min-width: 30em) {
224
+ blockquote {
225
+ padding-right: 5rem;
226
+ padding-left: 1.25rem;
227
+ }
228
+ }
229
+
230
+ img {
231
+ display: block;
232
+ max-width: 100%;
233
+ margin: 0 0 1rem;
234
+ border-radius: 5px;
235
+ }
236
+
237
+ /* Tables */
238
+ table {
239
+ margin-bottom: 1rem;
240
+ width: 100%;
241
+ border: 1px solid #e5e5e5;
242
+ border-collapse: collapse;
243
+ }
244
+ td,
245
+ th {
246
+ padding: .25rem .5rem;
247
+ border: 1px solid #e5e5e5;
248
+ }
249
+ tbody tr:nth-child(odd) td,
250
+ tbody tr:nth-child(odd) th {
251
+ background-color: #f9f9f9;
252
+ }
253
+
254
+
255
+ /*
256
+ * Custom type
257
+ *
258
+ * Extend paragraphs with `.lead` for larger introductory text.
259
+ */
260
+
261
+ .lead {
262
+ font-size: 1.25rem;
263
+ font-weight: 300;
264
+ }
265
+
266
+
267
+ /*
268
+ * Messages
269
+ *
270
+ * Show alert messages to users. You may add it to single elements like a `<p>`,
271
+ * or to a parent if there are multiple elements to show.
272
+ */
273
+
274
+ .message {
275
+ margin-bottom: 1rem;
276
+ padding: 1rem;
277
+ color: #717171;
278
+ background-color: #f9f9f9;
279
+ }
280
+
281
+
282
+ /*
283
+ * Container
284
+ *
285
+ * Center the page content.
286
+ */
287
+
288
+ .container {
289
+ max-width: 38rem;
290
+ padding-left: 1rem;
291
+ padding-right: 1rem;
292
+ margin-left: auto;
293
+ margin-right: auto;
294
+ }
295
+
296
+
297
+ /*
298
+ * Masthead
299
+ *
300
+ * Super small header above the content for site name and short description.
301
+ */
302
+
303
+ .masthead {
304
+ padding-top: 1rem;
305
+ padding-bottom: 1rem;
306
+ margin-bottom: 3rem;
307
+ }
308
+ .masthead-title {
309
+ margin-top: 0;
310
+ margin-bottom: 0;
311
+ color: #505050;
312
+ }
313
+ .masthead-title a {
314
+ color: #505050;
315
+ }
316
+ .masthead-title small {
317
+ font-size: 75%;
318
+ font-weight: 400;
319
+ color: #c0c0c0;
320
+ letter-spacing: 0;
321
+ }
322
+
323
+
324
+ /*
325
+ * Posts and pages
326
+ *
327
+ * Each post is wrapped in `.post` and is used on default and post layouts. Each
328
+ * page is wrapped in `.page` and is only used on the page layout.
329
+ */
330
+
331
+ .page,
332
+ .post {
333
+ margin-bottom: 4em;
334
+ }
335
+
336
+ /* Blog post or page title */
337
+ .page-title,
338
+ .post-title,
339
+ .post-title a {
340
+ color: #303030;
341
+ }
342
+ .page-title,
343
+ .post-title {
344
+ margin-top: 0;
345
+ }
346
+
347
+ /* Meta data line below post title */
348
+ .post-date {
349
+ display: block;
350
+ margin-top: -.5rem;
351
+ margin-bottom: 1rem;
352
+ color: #9a9a9a;
353
+ }
354
+
355
+ /* Related posts */
356
+ .related {
357
+ padding-top: 2rem;
358
+ padding-bottom: 2rem;
359
+ border-top: 1px solid #eee;
360
+ }
361
+ .related-posts {
362
+ padding-left: 0;
363
+ list-style: none;
364
+ }
365
+ .related-posts h3 {
366
+ margin-top: 0;
367
+ }
368
+ .related-posts li small {
369
+ font-size: 75%;
370
+ color: #999;
371
+ }
372
+ .related-posts li a:hover {
373
+ color: #268bd2;
374
+ text-decoration: none;
375
+ }
376
+ .related-posts li a:hover small {
377
+ color: inherit;
378
+ }
379
+
380
+
381
+ /*
382
+ * Pagination
383
+ *
384
+ * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
385
+ * there are no more previous or next posts to show.
386
+ */
387
+
388
+ .pagination {
389
+ overflow: hidden; /* clearfix */
390
+ margin-left: -1rem;
391
+ margin-right: -1rem;
392
+ font-family: "PT Sans", Helvetica, Arial, sans-serif;
393
+ color: #ccc;
394
+ text-align: center;
395
+ }
396
+
397
+ /* Pagination items can be `span`s or `a`s */
398
+ .pagination-item {
399
+ display: block;
400
+ padding: 1rem;
401
+ border: 1px solid #eee;
402
+ }
403
+ .pagination-item:first-child {
404
+ margin-bottom: -1px;
405
+ }
406
+
407
+ /* Only provide a hover state for linked pagination items */
408
+ a.pagination-item:hover {
409
+ background-color: #f5f5f5;
410
+ }
411
+
412
+ @media (min-width: 30em) {
413
+ .pagination {
414
+ margin: 3rem 0;
415
+ }
416
+ .pagination-item {
417
+ float: left;
418
+ width: 50%;
419
+ }
420
+ .pagination-item:first-child {
421
+ margin-bottom: 0;
422
+ border-top-left-radius: 4px;
423
+ border-bottom-left-radius: 4px;
424
+ }
425
+ .pagination-item:last-child {
426
+ margin-left: -1px;
427
+ border-top-right-radius: 4px;
428
+ border-bottom-right-radius: 4px;
429
+ }
430
+ }
@@ -0,0 +1,65 @@
1
+ .highlight .hll { background-color: #ffc; }
2
+ .highlight .c { color: #999; } /* Comment */
3
+ .highlight .err { color: #a00; background-color: #faa } /* Error */
4
+ .highlight .k { color: #069; } /* Keyword */
5
+ .highlight .o { color: #555 } /* Operator */
6
+ .highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #099 } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999; } /* Comment.Single */
9
+ .highlight .cs { color: #999; } /* Comment.Special */
10
+ .highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
11
+ .highlight .ge { font-style: italic } /* Generic.Emph */
12
+ .highlight .gr { color: #f00 } /* Generic.Error */
13
+ .highlight .gh { color: #030; } /* Generic.Heading */
14
+ .highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
15
+ .highlight .go { color: #aaa } /* Generic.Output */
16
+ .highlight .gp { color: #009; } /* Generic.Prompt */
17
+ .highlight .gs { } /* Generic.Strong */
18
+ .highlight .gu { color: #030; } /* Generic.Subheading */
19
+ .highlight .gt { color: #9c6 } /* Generic.Traceback */
20
+ .highlight .kc { color: #069; } /* Keyword.Constant */
21
+ .highlight .kd { color: #069; } /* Keyword.Declaration */
22
+ .highlight .kn { color: #069; } /* Keyword.Namespace */
23
+ .highlight .kp { color: #069 } /* Keyword.Pseudo */
24
+ .highlight .kr { color: #069; } /* Keyword.Reserved */
25
+ .highlight .kt { color: #078; } /* Keyword.Type */
26
+ .highlight .m { color: #f60 } /* Literal.Number */
27
+ .highlight .s { color: #d44950 } /* Literal.String */
28
+ .highlight .na { color: #4f9fcf } /* Name.Attribute */
29
+ .highlight .nb { color: #366 } /* Name.Builtin */
30
+ .highlight .nc { color: #0a8; } /* Name.Class */
31
+ .highlight .no { color: #360 } /* Name.Constant */
32
+ .highlight .nd { color: #99f } /* Name.Decorator */
33
+ .highlight .ni { color: #999; } /* Name.Entity */
34
+ .highlight .ne { color: #c00; } /* Name.Exception */
35
+ .highlight .nf { color: #c0f } /* Name.Function */
36
+ .highlight .nl { color: #99f } /* Name.Label */
37
+ .highlight .nn { color: #0cf; } /* Name.Namespace */
38
+ .highlight .nt { color: #2f6f9f; } /* Name.Tag */
39
+ .highlight .nv { color: #033 } /* Name.Variable */
40
+ .highlight .ow { color: #000; } /* Operator.Word */
41
+ .highlight .w { color: #bbb } /* Text.Whitespace */
42
+ .highlight .mf { color: #f60 } /* Literal.Number.Float */
43
+ .highlight .mh { color: #f60 } /* Literal.Number.Hex */
44
+ .highlight .mi { color: #f60 } /* Literal.Number.Integer */
45
+ .highlight .mo { color: #f60 } /* Literal.Number.Oct */
46
+ .highlight .sb { color: #c30 } /* Literal.String.Backtick */
47
+ .highlight .sc { color: #c30 } /* Literal.String.Char */
48
+ .highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
49
+ .highlight .s2 { color: #c30 } /* Literal.String.Double */
50
+ .highlight .se { color: #c30; } /* Literal.String.Escape */
51
+ .highlight .sh { color: #c30 } /* Literal.String.Heredoc */
52
+ .highlight .si { color: #a00 } /* Literal.String.Interpol */
53
+ .highlight .sx { color: #c30 } /* Literal.String.Other */
54
+ .highlight .sr { color: #3aa } /* Literal.String.Regex */
55
+ .highlight .s1 { color: #c30 } /* Literal.String.Single */
56
+ .highlight .ss { color: #fc3 } /* Literal.String.Symbol */
57
+ .highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
58
+ .highlight .vc { color: #033 } /* Name.Variable.Class */
59
+ .highlight .vg { color: #033 } /* Name.Variable.Global */
60
+ .highlight .vi { color: #033 } /* Name.Variable.Instance */
61
+ .highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
62
+
63
+ .css .o,
64
+ .css .o + .nt,
65
+ .css .nt + .nt { color: #999; }
Binary file
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-hyde-plus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Emmanuel Corrales
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-13 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.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
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
+ - contact@emmanuelcorrales.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.md
63
+ - README.md
64
+ - _includes/head.html
65
+ - _includes/sidebar.html
66
+ - _layouts/default.html
67
+ - _layouts/page.html
68
+ - _layouts/post.html
69
+ - assets/apple-touch-icon-144-precomposed.png
70
+ - assets/css/hyde-plus.css
71
+ - assets/css/hyde.css
72
+ - assets/css/poole.css
73
+ - assets/css/syntax.css
74
+ - assets/favicon.ico
75
+ homepage: https://github.com/EmmanuelCorrales/hyde-plus
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.6.13
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: An improvement of the Jekyll theme Hyde.
99
+ test_files: []