From eb6ac1949e2f260a20f017504c9849d180b225be Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 27 Aug 2016 03:18:16 +0900 Subject: [PATCH] doc: Adjust fonts --- _docs/example.tmpl.html | 2 +- _docs/public/examples/alphablending.html | 2 +- _docs/public/examples/audio.html | 2 +- _docs/public/examples/blocks.html | 2 +- _docs/public/examples/font.html | 2 +- _docs/public/examples/gamepad.html | 2 +- _docs/public/examples/hsv.html | 2 +- _docs/public/examples/hue.html | 2 +- _docs/public/examples/keyboard.html | 2 +- _docs/public/examples/masking.html | 2 +- _docs/public/examples/mosaic.html | 2 +- _docs/public/examples/noise.html | 2 +- _docs/public/examples/paint.html | 2 +- _docs/public/examples/perspective.html | 2 +- _docs/public/examples/piano.html | 2 +- _docs/public/examples/rotate.html | 2 +- _docs/public/examples/sprites.html | 2 +- _docs/public/stylesheets/ebiten.css | 11 +++++++++++ 18 files changed, 28 insertions(+), 17 deletions(-) diff --git a/_docs/example.tmpl.html b/_docs/example.tmpl.html index e6b02205b..5b2026edd 100644 --- a/_docs/example.tmpl.html +++ b/_docs/example.tmpl.html @@ -20,7 +20,7 @@
{{with .Example}} -

Ebiten example - {{.Name}}

+

Ebiten example - {{.Name}}

{{.Source}}
{{end}} diff --git a/_docs/public/examples/alphablending.html b/_docs/public/examples/alphablending.html index 273d899ac..93c0ee847 100644 --- a/_docs/public/examples/alphablending.html +++ b/_docs/public/examples/alphablending.html @@ -20,7 +20,7 @@
-

Ebiten example - alphablending

+

Ebiten example - alphablending

// +build example
 
diff --git a/_docs/public/examples/audio.html b/_docs/public/examples/audio.html
index b6014916a..d0e13010f 100644
--- a/_docs/public/examples/audio.html
+++ b/_docs/public/examples/audio.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - audio

+

Ebiten example - audio

// +build example
 
diff --git a/_docs/public/examples/blocks.html b/_docs/public/examples/blocks.html
index db82d657d..c7264b2e3 100644
--- a/_docs/public/examples/blocks.html
+++ b/_docs/public/examples/blocks.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - blocks

+

Ebiten example - blocks

// Please read examples/blocks/main.go and examples/blocks/blocks/*.go
 // NOTE: If Gamepad API is available in your browswer, you can use gamepads. Try it out!
diff --git a/_docs/public/examples/font.html b/_docs/public/examples/font.html index 4d5629eaf..11833d3e1 100644 --- a/_docs/public/examples/font.html +++ b/_docs/public/examples/font.html @@ -20,7 +20,7 @@
-

Ebiten example - font

+

Ebiten example - font

// +build example
 
diff --git a/_docs/public/examples/gamepad.html b/_docs/public/examples/gamepad.html
index a46a1e97d..b4b568594 100644
--- a/_docs/public/examples/gamepad.html
+++ b/_docs/public/examples/gamepad.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - gamepad

+

Ebiten example - gamepad

// +build example
 
diff --git a/_docs/public/examples/hsv.html b/_docs/public/examples/hsv.html
index c2c14d360..4ebae89df 100644
--- a/_docs/public/examples/hsv.html
+++ b/_docs/public/examples/hsv.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - hsv

+

Ebiten example - hsv

// +build example
 
diff --git a/_docs/public/examples/hue.html b/_docs/public/examples/hue.html
index 30d7924f5..43c759dab 100644
--- a/_docs/public/examples/hue.html
+++ b/_docs/public/examples/hue.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - hue

+

Ebiten example - hue

// +build example
 
diff --git a/_docs/public/examples/keyboard.html b/_docs/public/examples/keyboard.html
index e2f50b80a..8bc5334dd 100644
--- a/_docs/public/examples/keyboard.html
+++ b/_docs/public/examples/keyboard.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - keyboard

+

Ebiten example - keyboard

// +build example
 
diff --git a/_docs/public/examples/masking.html b/_docs/public/examples/masking.html
index def754b98..70978b9b0 100644
--- a/_docs/public/examples/masking.html
+++ b/_docs/public/examples/masking.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - masking

+

Ebiten example - masking

// +build example
 
diff --git a/_docs/public/examples/mosaic.html b/_docs/public/examples/mosaic.html
index d3557d28b..69c5fec7a 100644
--- a/_docs/public/examples/mosaic.html
+++ b/_docs/public/examples/mosaic.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - mosaic

+

Ebiten example - mosaic

// +build example
 
diff --git a/_docs/public/examples/noise.html b/_docs/public/examples/noise.html
index 5201e1cfa..8f2717720 100644
--- a/_docs/public/examples/noise.html
+++ b/_docs/public/examples/noise.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - noise

+

Ebiten example - noise

// +build example
 
diff --git a/_docs/public/examples/paint.html b/_docs/public/examples/paint.html
index 69fd6cbbc..ac87f9826 100644
--- a/_docs/public/examples/paint.html
+++ b/_docs/public/examples/paint.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - paint

+

Ebiten example - paint

// +build example
 
diff --git a/_docs/public/examples/perspective.html b/_docs/public/examples/perspective.html
index 648ba4f30..6a130c977 100644
--- a/_docs/public/examples/perspective.html
+++ b/_docs/public/examples/perspective.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - perspective

+

Ebiten example - perspective

// +build example
 
diff --git a/_docs/public/examples/piano.html b/_docs/public/examples/piano.html
index 4436c6d92..fa3615dc1 100644
--- a/_docs/public/examples/piano.html
+++ b/_docs/public/examples/piano.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - piano

+

Ebiten example - piano

// +build example
 
diff --git a/_docs/public/examples/rotate.html b/_docs/public/examples/rotate.html
index e71176577..cd4d50266 100644
--- a/_docs/public/examples/rotate.html
+++ b/_docs/public/examples/rotate.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - rotate

+

Ebiten example - rotate

// +build example
 
diff --git a/_docs/public/examples/sprites.html b/_docs/public/examples/sprites.html
index 8cab0b6bb..fffd89776 100644
--- a/_docs/public/examples/sprites.html
+++ b/_docs/public/examples/sprites.html
@@ -20,7 +20,7 @@
 
 
-

Ebiten example - sprites

+

Ebiten example - sprites

// +build example
 
diff --git a/_docs/public/stylesheets/ebiten.css b/_docs/public/stylesheets/ebiten.css
index 97f300aad..998865837 100644
--- a/_docs/public/stylesheets/ebiten.css
+++ b/_docs/public/stylesheets/ebiten.css
@@ -1,3 +1,9 @@
+@import 'https://fonts.googleapis.com/css?family=Roboto:400,500,700,900';
+
+body {
+  font-family: 'Roboto', sans-serif;
+}
+
 img.example {
   background-color: #000;
 }
@@ -6,9 +12,14 @@ header {
   background-color: #dddddd;
 }
 
+header a {
+  color: #666 !important;
+}
+
 footer {
   background-color: #666666;
   color: #fff;
+  padding-top: 1em;
 }
 
 footer a {