From 263d23a37d63d43d0ae90fff4e3215083bb2529b Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 5 Apr 2016 07:49:13 -0400 Subject: [PATCH] Cleanup documentation. - Remove automatic hyphenation of table headings. - Widen the document a little. - Remove some of the padding around code snippets. - Adjust the sidebar title again... - Fix history links in the changelog. --- docs/history.rst | 18 +++++++++--------- docs/static/custom.css | 17 +++++++++++++++++ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/docs/history.rst b/docs/history.rst index 4843365..e198f7e 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -47,14 +47,14 @@ Version History --------------------- - Initial Release -.. _Next Release: https://github.com/sprockets/sprockets.http/compare/2.1.0...HEAD -.. _2.1.0: https://github.com/sprockets/sprockets.http/compare/2.0.1...2.1.0 -.. _2.0.1: https://github.com/sprockets/sprockets.http/compare/2.0.0...2.0.1 -.. _2.0.0: https://github.com/sprockets/sprockets.http/compare/1.0.4...2.0.0 -.. _1.0.4: https://github.com/sprockets/sprockets.http/compare/1.0.3...1.0.4 -.. _1.0.3: https://github.com/sprockets/sprockets.http/compare/1.0.2...1.0.3 -.. _1.0.2: https://github.com/sprockets/sprockets.http/compare/1.0.1...1.0.2 -.. _1.0.1: https://github.com/sprockets/sprockets.http/compare/1.0.0...1.0.1 -.. _1.0.0: https://github.com/sprockets/sprockets.http/compare/0.0.0...1.0.0 +.. _Next Release: https://github.com/sprockets/sprockets.mixins.media_type/compare/2.1.0...HEAD +.. _2.1.0: https://github.com/sprockets/sprockets.mixins.media_type/compare/2.0.1...2.1.0 +.. _2.0.1: https://github.com/sprockets/sprockets.mixins.media_type/compare/2.0.0...2.0.1 +.. _2.0.0: https://github.com/sprockets/sprockets.mixins.media_type/compare/1.0.4...2.0.0 +.. _1.0.4: https://github.com/sprockets/sprockets.mixins.media_type/compare/1.0.3...1.0.4 +.. _1.0.3: https://github.com/sprockets/sprockets.mixins.media_type/compare/1.0.2...1.0.3 +.. _1.0.2: https://github.com/sprockets/sprockets.mixins.media_type/compare/1.0.1...1.0.2 +.. _1.0.1: https://github.com/sprockets/sprockets.mixins.media_type/compare/1.0.0...1.0.1 +.. _1.0.0: https://github.com/sprockets/sprockets.mixins.media_type/compare/0.0.0...1.0.0 .. _Vary: http://tools.ietf.org/html/rfc7234#section-4.1 diff --git a/docs/static/custom.css b/docs/static/custom.css index 9e9b139..2bdb450 100644 --- a/docs/static/custom.css +++ b/docs/static/custom.css @@ -1,4 +1,21 @@ @import url("alabaster.css"); h1.logo { font-size: 12pt; + overflow-wrap: normal; + word-wrap: normal; + overflow: hidden; + margin-right: -25px; /* works together with div.body padding-left */ +} +div.body {padding-left: 30px;} +th.field-name {hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;} +div.document {width: 90%;} +/* support small screens too! */ +@media screen and (max-width: 1000px) { + div.sphinxsidebar {display: none;} + div.document {width: 100%!important;} + div.bodywrapper {margin-left: 0;} + div.highlight pre {margin-right: -30px;} +} +@media screen and (min-width: 1000px) { + div.bodywrapper {margin-left: default;} }