diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index de7cbd4ba..ab628f729 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -7,24 +7,32 @@ body { font-family: sans-serif; } -table.examples td { - vertical-align: top; +table.examples { + border-collapse: separate; + border-spacing: 0 1em; } -table.examples td.code { - border-color: #999; - border-style: solid; - border-width: 1px; +table.examples td { + padding: 0; + vertical-align: top; } table.examples td.code pre { height: 240px; + margin: 0; overflow: auto; } -table.examples iframe { +table.examples td.screen { + padding-left: 1em; +} +table.examples iframe, table.examples img { border-color: #999; border-style: solid; border-width: 1px; overflow: hidden; } +pre { + background: #eee; + padding: 1em; +}

Ebiten (海老天)

v{{.StableVersion}}

@@ -56,9 +64,9 @@ table.examples iframe { {{.Source}} {{if eq .Name "blocks"}} - Click to play!
+ Click to play!
{{else}} - + {{end}} {{end}} diff --git a/_docs/public/index.html b/_docs/public/index.html index b890ac240..d4f638206 100644 --- a/_docs/public/index.html +++ b/_docs/public/index.html @@ -22,24 +22,32 @@ limitations under the License. body { font-family: sans-serif; } -table.examples td { - vertical-align: top; +table.examples { + border-collapse: separate; + border-spacing: 0 1em; } -table.examples td.code { - border-color: #999; - border-style: solid; - border-width: 1px; +table.examples td { + padding: 0; + vertical-align: top; } table.examples td.code pre { height: 240px; + margin: 0; overflow: auto; } -table.examples iframe { +table.examples td.screen { + padding-left: 1em; +} +table.examples iframe, table.examples img { border-color: #999; border-style: solid; border-width: 1px; overflow: hidden; } +pre { + background: #eee; + padding: 1em; +}

Ebiten (海老天)

v1.1.0-alpha

@@ -71,7 +79,7 @@ table.examples iframe { // Please read example/blocks/main.go and example/blocks/blocks/*.go - Click to play!
+ Click to play!
@@ -122,7 +130,7 @@ func main() { } - + @@ -177,7 +185,7 @@ func main() { } - + @@ -247,7 +255,7 @@ func main() { } - + @@ -299,7 +307,7 @@ func main() { } - +