From 7e4251f5c160b64aaef71799c1253971fc7b746c Mon Sep 17 00:00:00 2001 From: Felix Date: Thu, 28 May 2020 14:40:02 -0500 Subject: [PATCH] Update docs pt.1 --- docs/index.html | 71 +++++++-- docs/script.js | 396 +++++++++++++++++++++++++++--------------------- docs/style.css | 84 +--------- 3 files changed, 289 insertions(+), 262 deletions(-) diff --git a/docs/index.html b/docs/index.html index abad607..9710379 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,6 @@ content="A drop-in collection of CSS styles to make simple websites like this just a little bit nicer." /> - @@ -24,17 +23,13 @@ - - - + + + + @@ -48,7 +43,7 @@ /> @@ -87,16 +82,19 @@

Water.css is a drop-in collection of CSS styles to make simple websites like this just a little bit nicer. -
+

+

Now you can write your simple static site with nice semantic html, and Water.css will manage the styling for you.

+
Get it already!
GitHub
+

Installation

- +
+
+

Paste this into the <head> of your HTML:

+ +
+ +
Oh noes, the JavaScript hasn't loaded!
+ +

Options

+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

Version info

+
File
Size (min + gzip)
Theme
Browser support
+

Goals

    diff --git a/docs/script.js b/docs/script.js index 0f717bc..063684d 100644 --- a/docs/script.js +++ b/docs/script.js @@ -1,187 +1,237 @@ -// @ts-check -/** @typedef {'dark' | 'light'} Theme */ -/** @typedef {keyof typeof FILE_SIZES} FileName */ -/** @typedef {'success' | 'failed'} CopyStatus */ -/** - * @typedef {Object} VersionOptions Configurable options for water.css versions - * @prop {Theme} theme - * @prop {boolean} isLegacy - * @prop {boolean} isStandalone - */ -/** - * @typedef {Object} Libraries External packages exposed on `window` (loaded through `