mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
doc: Adjust fonts
This commit is contained in:
parent
3db1cd8a92
commit
eb6ac1949e
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
{{with .Example}}
|
{{with .Example}}
|
||||||
<h1>Ebiten example - {{.Name}}</h1>
|
<h2>Ebiten example - {{.Name}}</h2>
|
||||||
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
|
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
|
||||||
<pre><code>{{.Source}}</code></pre>
|
<pre><code>{{.Source}}</code></pre>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - alphablending</h1>
|
<h2>Ebiten example - alphablending</h2>
|
||||||
<iframe src="alphablending.content.html" width="640" height="480"></iframe>
|
<iframe src="alphablending.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - audio</h1>
|
<h2>Ebiten example - audio</h2>
|
||||||
<iframe src="audio.content.html" width="640" height="480"></iframe>
|
<iframe src="audio.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - blocks</h1>
|
<h2>Ebiten example - blocks</h2>
|
||||||
<iframe src="blocks.content.html" width="512" height="480"></iframe>
|
<iframe src="blocks.content.html" width="512" height="480"></iframe>
|
||||||
<pre><code>// Please read examples/blocks/main.go and examples/blocks/blocks/*.go
|
<pre><code>// 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!</code></pre>
|
// NOTE: If Gamepad API is available in your browswer, you can use gamepads. Try it out!</code></pre>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - font</h1>
|
<h2>Ebiten example - font</h2>
|
||||||
<iframe src="font.content.html" width="640" height="480"></iframe>
|
<iframe src="font.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - gamepad</h1>
|
<h2>Ebiten example - gamepad</h2>
|
||||||
<iframe src="gamepad.content.html" width="640" height="480"></iframe>
|
<iframe src="gamepad.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - hsv</h1>
|
<h2>Ebiten example - hsv</h2>
|
||||||
<iframe src="hsv.content.html" width="640" height="480"></iframe>
|
<iframe src="hsv.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - hue</h1>
|
<h2>Ebiten example - hue</h2>
|
||||||
<iframe src="hue.content.html" width="640" height="480"></iframe>
|
<iframe src="hue.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - keyboard</h1>
|
<h2>Ebiten example - keyboard</h2>
|
||||||
<iframe src="keyboard.content.html" width="640" height="480"></iframe>
|
<iframe src="keyboard.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - masking</h1>
|
<h2>Ebiten example - masking</h2>
|
||||||
<iframe src="masking.content.html" width="640" height="480"></iframe>
|
<iframe src="masking.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - mosaic</h1>
|
<h2>Ebiten example - mosaic</h2>
|
||||||
<iframe src="mosaic.content.html" width="640" height="480"></iframe>
|
<iframe src="mosaic.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - noise</h1>
|
<h2>Ebiten example - noise</h2>
|
||||||
<iframe src="noise.content.html" width="640" height="480"></iframe>
|
<iframe src="noise.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - paint</h1>
|
<h2>Ebiten example - paint</h2>
|
||||||
<iframe src="paint.content.html" width="640" height="480"></iframe>
|
<iframe src="paint.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - perspective</h1>
|
<h2>Ebiten example - perspective</h2>
|
||||||
<iframe src="perspective.content.html" width="640" height="480"></iframe>
|
<iframe src="perspective.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - piano</h1>
|
<h2>Ebiten example - piano</h2>
|
||||||
<iframe src="piano.content.html" width="640" height="480"></iframe>
|
<iframe src="piano.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - rotate</h1>
|
<h2>Ebiten example - rotate</h2>
|
||||||
<iframe src="rotate.content.html" width="640" height="480"></iframe>
|
<iframe src="rotate.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<main><div class="container">
|
<main><div class="container">
|
||||||
|
|
||||||
<h1>Ebiten example - sprites</h1>
|
<h2>Ebiten example - sprites</h2>
|
||||||
<iframe src="sprites.content.html" width="640" height="480"></iframe>
|
<iframe src="sprites.content.html" width="640" height="480"></iframe>
|
||||||
<pre><code>// +build example
|
<pre><code>// +build example
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
@import 'https://fonts.googleapis.com/css?family=Roboto:400,500,700,900';
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
img.example {
|
img.example {
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
@ -6,9 +12,14 @@ header {
|
|||||||
background-color: #dddddd;
|
background-color: #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header a {
|
||||||
|
color: #666 !important;
|
||||||
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
background-color: #666666;
|
background-color: #666666;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a {
|
footer a {
|
||||||
|
Loading…
Reference in New Issue
Block a user