diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-06-21 13:22:59 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-06-21 13:23:46 -0400 |
commit | 6e8f7774235ecd00f94071374838c17f48378a7a (patch) | |
tree | 3ad17b272561cf96ddcf616a45c4121edf16950b /www/index.css | |
parent | b1a157e58e0a4732853418a6305640cade500566 (diff) | |
download | html5ks-6e8f7774235ecd00f94071374838c17f48378a7a.tar.xz html5ks-6e8f7774235ecd00f94071374838c17f48378a7a.zip |
working
Diffstat (limited to 'www/index.css')
-rw-r--r-- | www/index.css | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/www/index.css b/www/index.css index 6dfb166..e39fa2a 100644 --- a/www/index.css +++ b/www/index.css @@ -1,15 +1,17 @@ -body { - margin: 0; - padding: 0; - overflow: hidden; - background: gray; -} @font-face { font-family: "Playtime"; /* src: url("playtime.ttf"); */ + src: url("playtime-webfont.svg"); src: url("playtime-webfont.ttf"); src: url("playtime-webfont.woff"); } +body { + margin: 0; + padding: 0; + overflow: hidden; + background: gray; + font: 22px/27px Playtime, sans-serif; +} #container { width: 800px; height: 600px; @@ -35,7 +37,12 @@ body { height: 600px; } #say { - font: 22px/27px Playtime; color: white; width: 750px; height: 90px; position: absolute; top: 493px; left: 28px; + color: white; + width: 750px; + height: 90px; + position: absolute; + top: 493px; + left: 28px; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; @@ -46,18 +53,20 @@ body { top: 440px; left: 0; } -#noscript { - width: 100%; - height: 100%; - background-color: gray; - opacity: 0.5; -} noscript { + position: absolute; + top: 20%; + width: 600px; + left: 50%; + margin-left: -300px; display: block; + cursor: auto; +} +#noscript { margin: auto; - width: auto; + background-color: gray; } #notwork { - font-size: 200%; + font: 44px/46px Playtime; font-weight: bold; } |