From 9237461b24664ecf12546b87530952f49f0e1166 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 7 Oct 2019 13:57:01 -0400 Subject: [PATCH] generated docs: logo and basic search proof of concept --- lib/std/special/docs/index.html | 15 ++++ lib/std/special/docs/main.js | 145 +++++++++++++++++++++++++++----- 2 files changed, 139 insertions(+), 21 deletions(-) diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html index d159637249..b2d3db6603 100644 --- a/lib/std/special/docs/index.html +++ b/lib/std/special/docs/index.html @@ -20,6 +20,7 @@ font-size:1em; background-color:#F5F5F5; padding:1em; + overflow-x: auto; } #listNav { list-style-type: none; @@ -45,6 +46,16 @@ background-color: #4CAF50; } + #logo { + width: 5em; + float: left; + padding: 0 1em 0 0; + } + + #search { + width: 90%; + } + @media (prefers-color-scheme: dark) { body{ background-color: #111; @@ -60,12 +71,16 @@ + +

Loading...

+ +