From 27365161f0bad0a82299e504602bd6d374a5c666 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 18 Aug 2017 03:00:05 +0900 Subject: [PATCH] doc: Renewal --- _docs/example.tmpl.html | 8 ++--- _docs/index.tmpl.html | 19 +++++------ docs/examples/2048.html | 8 ++--- docs/examples/alphablending.html | 8 ++--- docs/examples/audio.html | 8 ++--- docs/examples/blocks.html | 8 ++--- docs/examples/font.html | 8 ++--- docs/examples/gamepad.html | 8 ++--- docs/examples/hsv.html | 8 ++--- docs/examples/hue.html | 8 ++--- docs/examples/infinitescroll.html | 8 ++--- docs/examples/keyboard.html | 8 ++--- docs/examples/life.html | 8 ++--- docs/examples/masking.html | 8 ++--- docs/examples/mosaic.html | 8 ++--- docs/examples/noise.html | 8 ++--- docs/examples/paint.html | 8 ++--- docs/examples/perspective.html | 8 ++--- docs/examples/piano.html | 8 ++--- docs/examples/rotate.html | 8 ++--- docs/examples/sprites.html | 8 ++--- docs/images/logo.svg | 27 ++++++++++++++++ docs/images/logo_white.svg | 17 ++++++++++ docs/index.html | 19 +++++------ docs/stylesheets/ebiten.css | 53 +++++++++++++++++++++---------- 25 files changed, 160 insertions(+), 135 deletions(-) create mode 100644 docs/images/logo.svg create mode 100644 docs/images/logo_white.svg diff --git a/_docs/example.tmpl.html b/_docs/example.tmpl.html index e88f38ed1..42bb6a1cd 100644 --- a/_docs/example.tmpl.html +++ b/_docs/example.tmpl.html @@ -8,18 +8,16 @@ - +
{{with .Example}} diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index 20783226e..bb41e953a 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -9,12 +9,10 @@ -
+ +
+

EBITEN

+

A simple 2D game library in Go

-

Ebiten

-

A simple 2D game library in Go

Stable version: v{{.StableVersion}} / Development version: v{{.DevVersion}}

Platforms

diff --git a/docs/examples/2048.html b/docs/examples/2048.html index 627247914..ca8671bfe 100644 --- a/docs/examples/2048.html +++ b/docs/examples/2048.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/alphablending.html b/docs/examples/alphablending.html index c9fba9e32..554c99175 100644 --- a/docs/examples/alphablending.html +++ b/docs/examples/alphablending.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/audio.html b/docs/examples/audio.html index 6d7d6b34d..dff80b30a 100644 --- a/docs/examples/audio.html +++ b/docs/examples/audio.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/blocks.html b/docs/examples/blocks.html index f82b36936..fa97ac401 100644 --- a/docs/examples/blocks.html +++ b/docs/examples/blocks.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/font.html b/docs/examples/font.html index ac5cbe3ba..914f8a0e4 100644 --- a/docs/examples/font.html +++ b/docs/examples/font.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/gamepad.html b/docs/examples/gamepad.html index 4eb2c8d01..2e869f284 100644 --- a/docs/examples/gamepad.html +++ b/docs/examples/gamepad.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/hsv.html b/docs/examples/hsv.html index e916c2210..bef8e3299 100644 --- a/docs/examples/hsv.html +++ b/docs/examples/hsv.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/hue.html b/docs/examples/hue.html index d5c685c13..0036fcde5 100644 --- a/docs/examples/hue.html +++ b/docs/examples/hue.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/infinitescroll.html b/docs/examples/infinitescroll.html index 939843741..089d349f6 100644 --- a/docs/examples/infinitescroll.html +++ b/docs/examples/infinitescroll.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/keyboard.html b/docs/examples/keyboard.html index 40f33f2b4..ddcb5609e 100644 --- a/docs/examples/keyboard.html +++ b/docs/examples/keyboard.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/life.html b/docs/examples/life.html index 296b50c1c..0b1e97ea1 100644 --- a/docs/examples/life.html +++ b/docs/examples/life.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/masking.html b/docs/examples/masking.html index f6665dfb8..91a2aa7d0 100644 --- a/docs/examples/masking.html +++ b/docs/examples/masking.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/mosaic.html b/docs/examples/mosaic.html index 998d4284d..c7e2ef435 100644 --- a/docs/examples/mosaic.html +++ b/docs/examples/mosaic.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/noise.html b/docs/examples/noise.html index 39794fdaa..abb1095f3 100644 --- a/docs/examples/noise.html +++ b/docs/examples/noise.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/paint.html b/docs/examples/paint.html index 1f83f6a8f..bf3200f31 100644 --- a/docs/examples/paint.html +++ b/docs/examples/paint.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/perspective.html b/docs/examples/perspective.html index 8c613d613..6428b49a2 100644 --- a/docs/examples/perspective.html +++ b/docs/examples/perspective.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/piano.html b/docs/examples/piano.html index 147c8e44d..2a13271b1 100644 --- a/docs/examples/piano.html +++ b/docs/examples/piano.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/rotate.html b/docs/examples/rotate.html index 4fc78aeff..5df190a91 100644 --- a/docs/examples/rotate.html +++ b/docs/examples/rotate.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/examples/sprites.html b/docs/examples/sprites.html index 4aea14801..78f3301b9 100644 --- a/docs/examples/sprites.html +++ b/docs/examples/sprites.html @@ -8,18 +8,16 @@ - +
diff --git a/docs/images/logo.svg b/docs/images/logo.svg new file mode 100644 index 000000000..8fd0660af --- /dev/null +++ b/docs/images/logo.svg @@ -0,0 +1,27 @@ + + + + Regular + Created with Sketch. + + + + + \ No newline at end of file diff --git a/docs/images/logo_white.svg b/docs/images/logo_white.svg new file mode 100644 index 000000000..6bd08a52a --- /dev/null +++ b/docs/images/logo_white.svg @@ -0,0 +1,17 @@ + + + + White + Created with Sketch. + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index cfaa357fd..e604ee2f6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,12 +9,10 @@ -
+ +
+

EBITEN

+

A simple 2D game library in Go

-

Ebiten

-

A simple 2D game library in Go

Stable version: v1.5.1 / Development version: v1.6.0-alpha

Platforms

diff --git a/docs/stylesheets/ebiten.css b/docs/stylesheets/ebiten.css index 471f73b4a..d593a937a 100644 --- a/docs/stylesheets/ebiten.css +++ b/docs/stylesheets/ebiten.css @@ -1,42 +1,61 @@ -@import 'https://fonts.googleapis.com/css?family=Play:400,700'; -@import 'https://fonts.googleapis.com/css?family=Roboto:400,700'; - body { - background-color: #f5f5f5; - font-family: 'Roboto', sans-serif; + background-color: #fff; + color: #657378; /* 5010-B */ + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } -h1, h2 { - margin-top: 1rem; +h2 { + margin-top: 2rem; + margin-bottom: 1rem; } -h1, h2, h3, h4, h5, h6, .navbar, .lead { - font-family: 'Play', sans-serif; +h2, h3, h4, h5, h6, .navbar, .lead { + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 300; } -h1, h2, h3, h4, h5, h6, .navbar-brand { - font-weight: 700; +dt { + color: #4c595e; /* 6010-B */ + font-weight: normal; } img.example { background-color: #000; - border-color: #666; + border-color: #657378; border-style: solid; border-width: 1px; margin-bottom: 1rem; padding: 0; } -header { - background-color: #ddd; +nav { + background-color: #657378; + color: #fff; } -header a { - color: #666 !important; +nav a { + color: #fff !important; +} + +.nav { + height: 40px; +} + +.navbar-brand { + padding: 0; +} + +.navbar-brand img { + width: 40px; + height: 40px; +} + +.jumbotron { + background-color: #fff; } footer { - background-color: #666; + background-color: #657378; color: #fff; margin-top: 1.42857143rem; padding-top: 1rem;