Skip to content

Commit 989e5c2

Browse files
committed
Merge branch 'master' into gh-pages
2 parents 2e84eaa + e4b5db5 commit 989e5c2

File tree

7 files changed

+61
-56
lines changed

7 files changed

+61
-56
lines changed

404.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,11 @@ <h1>Hyde</h1>
4444
</header>
4545

4646
<div class="content container">
47-
<div class="fourohfour">
48-
<h1>404: Page not found</h1>
49-
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="/">Visit the home page</a> to see if you can find it manually. Thanks!</p>
50-
<hr>
51-
<h3>Heads up!</h3>
52-
<p>This is a basic 404 page for use with GitHub Pages. It's source code is not generated by Jekyll.</p>
53-
<div>
47+
<h1>404: Page not found</h1>
48+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="/">Visit the home page</a> to see if you can find it manually. Thanks!</p>
49+
<hr>
50+
<h3>Heads up!</h3>
51+
<p>This is a basic 404 page for use with GitHub Pages. It's source code is not generated by Jekyll.</p>
5452
</div>
5553

5654
</body>

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
An elegant open source, mobile first theme for [Jekyll](https://github.com/mojombo/jekyll). It includes lightweight styles and placeholder content to get you up and running with a simple blog in no time.
44

5-
![Hyde screenshot](https://f.cloud.github.com/assets/98681/1330948/de10196c-353f-11e3-86d0-8e967dd95722.png)
5+
![Hyde screenshot](https://f.cloud.github.com/assets/98681/1818325/da6489d8-6ff5-11e3-9b4f-c56b92013e9a.png)
66

77

88
## Usage
@@ -46,7 +46,7 @@ Hyde includes a few options, typically applied via classes on the `<body>` eleme
4646

4747
As of v1.1, Hyde ships with optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). In Hyde, a theme simply changes the sidebar's background color and the color of links within blog posts. Here's the red theme in action:
4848

49-
![Hyde in red](https://f.cloud.github.com/assets/98681/1817043/e59dc31a-6f68-11e3-9d90-2508314934df.png)
49+
![Hyde in red](https://f.cloud.github.com/assets/98681/1818326/da64f56c-6ff5-11e3-9643-7d0c18157dec.png)
5050

5151
There are eight themes available at this time.
5252

@@ -60,10 +60,12 @@ To use a theme, add anyone of the available theme classes to the `<body>` elemen
6060
</body>
6161
```
6262

63-
To create your own theme, look to the Themes section of [Hyde's CSS](/mdo/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.
63+
To create your own theme, look to the Themes section of [Hyde's CSS](https://github.com/mdo/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.
6464

6565
### Reverse layout
6666

67+
![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1818324/da6473f8-6ff5-11e3-9315-692e639fb5c7.png)
68+
6769
Hyde's page orientation can be reversed with a single class.
6870

6971
```html

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ title: Hyde
22
tagline: 'Hyde, a Jekyll theme'
33
description: 'An elegant open source and mobile first theme for <a href="http://jekyllrb.com" target="_blank">Jekyll</a>. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.'
44
url: http://andhyde.com
5-
version: 1.1.0
5+
version: 1.1.1
66
author:
77
name: ''
88
email: ''

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>{{ site.title }}</h1>
2020
</li>
2121
<li>Currently v{{ site.version }}</li>
2222
</ul>
23-
<p>&copy; 2013. {{ site.author.name }} All rights reserved.</p>
23+
<p>&copy; 2014. {{ site.author.name }} All rights reserved.</p>
2424
</div>
2525
</div>
2626
</header>

_posts/2012-02-08-hello-world.md

-12
This file was deleted.

_posts/2013-12-28-hello-world.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: post
3+
title: Hello, world!
4+
---
5+
6+
Welcome to [Hyde](http://andhyde.com), the perfect companion to [Jekyll](http://jekyllrb.com), the popular static site generator. Hyde is an elegant, open source, mobile first theme for Jekyll. It includes lightweight styles and placeholder content to get you up and running with a simple blog in no time.
7+
8+
### Features
9+
10+
* Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and page)
11+
* [Eight optional color schemes](https://github.com/mdo/hyde#themes), available via `<body>` classes
12+
* Two orientations for content and sidebar, default (left sidebar) and [reverse](https://github.com/mdo/hyde#reverse-layout) (right sidebar), available via `<body>` classes
13+
* Mobile first design and development, so it works great on all devices
14+
* Support for a wide gamut of HTML elements
15+
* Related posts (time-based, because Jekyll) below each post
16+
* Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
17+
18+
### Browser support
19+
20+
Hyde is a rather forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.
21+
22+
### Documentation
23+
24+
Docs for setting up and customizing Hyde can be found in the [project readme on GitHub](https://github.com/mdo/hyde#readme).
25+
26+
### Download
27+
28+
Find out more and [download a copy](https://github.com/mdo/hyde) today from GitHub.

public/css/hyde.css

+21-32
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ p {
9595
ul, ol {
9696
margin-bottom: 15px;
9797
}
98-
li {
99-
color: #888580;
100-
}
10198

10299
hr {
103100
position: relative;
@@ -123,24 +120,23 @@ abbr {
123120
border-radius: 3px;
124121
}
125122

126-
code, pre {
127-
padding: 0 3px 2px;
123+
code,
124+
pre {
128125
font-family: Menlo, Monaco, "Courier New", monospace;
129-
font-size: 14px;
130-
border-radius: 3px;
131126
}
132127
code {
133-
padding: 2px 4px;
134-
color: #d14;
135-
background-color: #f7f7f9;
136-
border: 1px solid #e1e1e8;
128+
padding: .25em .5em;
129+
font-size: 85%;
130+
color: #bf616a;
131+
background-color: #f9f9f9;
132+
border-radius: 3px;
137133
}
138-
139134
pre {
140135
display: block;
141136
margin: 0 0 14px;
142137
padding: 15px 20px;
143-
line-height: 28px;
138+
font-size: 16px;
139+
line-height: 1.4;
144140
white-space: pre;
145141
white-space: pre-wrap;
146142
word-break: break-all;
@@ -149,9 +145,9 @@ pre {
149145
}
150146
pre code {
151147
padding: 0;
148+
font-size: 100%;
152149
color: inherit;
153150
background-color: transparent;
154-
border: 0;
155151
}
156152
.highlight {
157153
margin-bottom: 15px;
@@ -251,7 +247,6 @@ a:focus {
251247
/* Footer area of masthead */
252248
.colophon {
253249
margin-top: 20px;
254-
color: #fff;
255250
color: rgba(255,255,255,.5);
256251
}
257252
.colophon-links {
@@ -299,12 +294,19 @@ a:focus {
299294
* with a 25%-wide `.masthead`.
300295
*/
301296

297+
.content {
298+
padding: 40px 20px;
299+
}
300+
302301
/* Center container in available real estate */
303302
@media (min-width: 990px) {
303+
.content {
304+
padding: 60px 0;
305+
}
304306
.container {
307+
width: 55%;
305308
margin-left: 35%;
306309
margin-right: 10%;
307-
width: 55%;
308310
}
309311
}
310312

@@ -317,12 +319,11 @@ a:focus {
317319

318320
/* Single post */
319321
.post {
320-
margin: 40px 20px;
322+
margin-bottom: 40px;
321323
}
322324
@media (min-width: 990px) {
323-
/* Increase space between posts */
324325
.post {
325-
margin: 60px 0; /* Increase top/bottom, remove from sides */
326+
margin-bottom: 60px;
326327
}
327328
}
328329

@@ -335,7 +336,7 @@ a:focus {
335336

336337
/* Related posts */
337338
.related {
338-
padding-top: 40px;
339+
padding-top: 20px;
339340
padding-bottom: 40px;
340341
border-top: 1px solid #eee;
341342
}
@@ -359,18 +360,6 @@ a:focus {
359360
}
360361

361362

362-
/*
363-
* Error page
364-
*
365-
* For now, just the 404 (supported by Jekyll with the custom 404.html view).
366-
*/
367-
368-
.fourohfour {
369-
margin-top: 40px;
370-
margin-bottom: 40px;
371-
}
372-
373-
374363
/*
375364
* Pagination
376365
*

0 commit comments

Comments
 (0)