diff --git a/assets/style.css b/assets/style.css index cb5fdef..4acf0e8 100644 --- a/assets/style.css +++ b/assets/style.css @@ -30,7 +30,7 @@ div, span, a, input { body { width: 782px; margin: 0 auto; - background: #ccc; + background: #ccc url(bg.png) no-repeat center; color: #000; font-size: 14px; font-family: Tahoma, Arial, Verdana, Meiryo, "MS Gothic", sans-serif, Lucida Sans; diff --git a/web.lua b/web.lua index 199259a..bf561d3 100644 --- a/web.lua +++ b/web.lua @@ -285,7 +285,7 @@ local app = turbo.web.Application:new( { {"^/$", FormHandler}, {"^/api$", APIHandler}, - {"^/([%a%.]+)$", turbo.web.StaticFileHandler, path.join(ROOT, "assets/")}, + {"^/([%a%d%.%-_]+)$", turbo.web.StaticFileHandler, path.join(ROOT, "assets/")}, } ) app:listen(opt.port, "0.0.0.0", {max_body_size = CURL_MAX_SIZE}) diff --git a/webgen/assets/bg.png b/webgen/assets/bg.png new file mode 100644 index 0000000..cb1b548 Binary files /dev/null and b/webgen/assets/bg.png differ diff --git a/webgen/assets/src/chibi_20162765420.png b/webgen/assets/src/chibi_20162765420.png new file mode 100755 index 0000000..c0d73a4 Binary files /dev/null and b/webgen/assets/src/chibi_20162765420.png differ diff --git a/webgen/assets/src/chibi_20162765420.txt b/webgen/assets/src/chibi_20162765420.txt new file mode 100644 index 0000000..ffd65f9 --- /dev/null +++ b/webgen/assets/src/chibi_20162765420.txt @@ -0,0 +1 @@ +chibi_20162765420.png was generated by http://tetrabo.com/chibichara/ diff --git a/webgen/assets/src/chibi_2x.png b/webgen/assets/src/chibi_2x.png new file mode 100644 index 0000000..7a8451e Binary files /dev/null and b/webgen/assets/src/chibi_2x.png differ diff --git a/webgen/assets/style.css b/webgen/assets/style.css index cb5fdef..4acf0e8 100644 --- a/webgen/assets/style.css +++ b/webgen/assets/style.css @@ -30,7 +30,7 @@ div, span, a, input { body { width: 782px; margin: 0 auto; - background: #ccc; + background: #ccc url(bg.png) no-repeat center; color: #000; font-size: 14px; font-family: Tahoma, Arial, Verdana, Meiryo, "MS Gothic", sans-serif, Lucida Sans;