From 5a751106998348a2094c83a152aa3fddca5996fe Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 9 Apr 2016 13:29:29 +0100 Subject: [PATCH] Update documentation index page Use a dropdown to select the LOOT readme version to view, reducing the space taken up by readme links. Also add links to the new docs pages from the wiki, and reduce the font weight of links. --- _layouts/page.html | 5 +-- css/overrides.css | 4 +++ css/style.css | 25 +++++++++++++++ docs/index.html | 76 ++++++++++++++++++++++++++++------------------ 4 files changed, 78 insertions(+), 32 deletions(-) diff --git a/_layouts/page.html b/_layouts/page.html index 62a3d66..70ea1ba 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -3,8 +3,6 @@ LOOT: {{ page.title }} - - @@ -12,6 +10,9 @@ + + +
diff --git a/css/overrides.css b/css/overrides.css index 6648f48..583b33a 100644 --- a/css/overrides.css +++ b/css/overrides.css @@ -10,3 +10,7 @@ .mdl-textfield { vertical-align: middle; } +/* Override link font weight. */ +a { + font-weight: normal; +} diff --git a/css/style.css b/css/style.css index 8de17c0..b43d1ac 100644 --- a/css/style.css +++ b/css/style.css @@ -112,3 +112,28 @@ code.loot-search-result { code.loot-search-result:first-of-type { border-top: none; } + +/* Scale headings */ +h3 { + font-size: 20px; + line-height: 30px; + margin: 30px 0 20px; +} +h4 { + font-size: 16px; + line-height: 24px; + margin: 24px 0 16px; +} +h5 { + font-size: 14px; + font-weight: 500; + line-height: 21px; + margin: 21px 0 14px; +} + +/* Position readme version selector */ +#versionSelect { + position: relative; + top: -2px; + left: 30px; +} diff --git a/docs/index.html b/docs/index.html index b08408e..b6a2923 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,40 +4,56 @@ title: Documentation permalink: /docs/ --- -

Each release of LOOT has its documentation listed below.

+

+ Readme Files + +

+ -
v0.8.1
+

Help

-
v0.8.0
+ +

Contributing

-
v0.7.1
+ +

Team

-
v0.7.0
- -
v0.6.1
- -
v0.6.0
- -
v0.5.0
- + +