]> njoseph.me Git - hyde.git/blob - README.md
small tweak to hyde read me
[hyde.git] / README.md
1 # Hyde
2
3 Hyde is a brazen two-column [hugo](http://hugo.spf13.com) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name.
4 It pairs a prominent sidebar with uncomplicated content.
5
6 ![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png)
7
8
9 ## Contents
10
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 - [Ported by](#ported-by)
19 - [License](#license)
20
21
22 ## Options
23
24 Hyde includes some customizable options, typically applied via classes on the `<body>` element.
25
26
27 ### Sidebar menu
28
29 Create a list of nav links in the sidebar by assigning "menu=main" in the front matter.
30
31
32 ### Sticky sidebar content
33
34 By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disabled this by removing the `.sidebar-sticky` class from the sidebar's `.container`. Sidebar content will then normally flow from top to bottom.
35
36 ```html
37 <!-- Default sidebar -->
38 <div class="sidebar">
39 <div class="container sidebar-sticky">
40 ...
41 </div>
42 </div>
43
44 <!-- Modified sidebar -->
45 <div class="sidebar">
46 <div class="container">
47 ...
48 </div>
49 </div>
50 ```
51
52
53 ### Themes
54
55 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).
56
57 ![Hyde in red](https://f.cloud.github.com/assets/98681/1831229/42b0b354-7384-11e3-8462-31b8df193fe5.png)
58
59 There are eight themes available at this time.
60
61 ![Hyde theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png)
62
63 To use a theme, add anyone of the available theme classes to the `<body>` element in the `default.html` layout, like so:
64
65 ```html
66 <body class="theme-base-08">
67 ...
68 </body>
69 ```
70
71 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.
72
73 ### Reverse layout
74
75 ![Hyde with reverse layout](https://f.cloud.github.com/assets/98681/1831230/42b0d3ac-7384-11e3-8d54-2065afd03f9e.png)
76
77 Hyde's page orientation can be reversed with a single class.
78
79 ```html
80 <body class="layout-reverse">
81 ...
82 </body>
83 ```
84
85 ## Author
86
87 **Mark Otto**
88 - <https://github.com/mdo>
89 - <https://twitter.com/mdo>
90
91 ## Ported By
92 **Steve Francia**
93 - <https://github.com/spf13>
94 - <https://twitter.com/spf13>
95
96 ## License
97
98 Open sourced under the [MIT license](LICENSE.md).
99
100 <3