Merge pull request #874 from hyperium/guide
docs(guide): adjust styles of the guides
This commit is contained in:
		| @@ -1,2 +1,24 @@ | ||||
| @import url('../rustdoc.css'); | ||||
| @import url('../main.css'); | ||||
|  | ||||
| h1 { | ||||
|     margin-top: 50px; | ||||
| } | ||||
|  | ||||
| h2 { | ||||
|     color: #555; | ||||
|     margin-top: 30px; | ||||
| } | ||||
|  | ||||
| p { | ||||
|     margin-bottom: 1.2em; | ||||
| } | ||||
|  | ||||
| p a, #toc a { | ||||
|     color: #3873AD; | ||||
| } | ||||
|  | ||||
| p a:hover, #toc a:hover { | ||||
|     text-decoration: underline; | ||||
| } | ||||
|  | ||||
|   | ||||
							
								
								
									
										5
									
								
								doc/guide/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								doc/guide/index.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| % Guides | ||||
|  | ||||
| Hello! Just getting started? Great! Here, take a look at a guide: | ||||
|  | ||||
| - [Server Guide](./server.html) | ||||
| @@ -48,7 +48,8 @@ There is quite a few concepts here, so let's tackle them one by one. | ||||
| ## Handler | ||||
|  | ||||
| The [`Handler`][Handler] is how you define what should happen during the lifetime | ||||
| of an HTTP message. | ||||
| of an HTTP message. We've implemented it for the `Text`, defining what should | ||||
| happen at each event during an HTTP message. | ||||
|  | ||||
| ## Next | ||||
|  | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
| //! [Server](server/index.html), along with a | ||||
| //! [typed Headers system](header/index.html). | ||||
| //! | ||||
| //! If just getting started, consider looking over the [Server Guide](./guide/server.html). | ||||
| //! If just getting started, consider looking over the **[Guide](../guide/)**. | ||||
| extern crate rustc_serialize as serialize; | ||||
| extern crate time; | ||||
| #[macro_use] extern crate url; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user