From fa4df59d0e8a0eb84598e4b037617c534dbb0004 Mon Sep 17 00:00:00 2001 From: jonobr1 Date: Tue, 25 Jan 2011 17:19:16 -0700 Subject: [PATCH] fixed x-height --- demo/demo.css | 3 ++- demo/demo.js | 2 +- index.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/demo/demo.css b/demo/demo.css index b4a6489..de418d3 100644 --- a/demo/demo.css +++ b/demo/demo.css @@ -18,7 +18,7 @@ h1 { font-weight: 800; text-transform: lowercase; line-height: 80px; - margin: 20px 0 20px 0; + margin: 20px 0 0 0; } h1 a:link, h1 a:visited, h1 a:hover, h1 a:active { @@ -31,6 +31,7 @@ h1 img { height: 45px; -moz-border-radius: 9px; border-radius: 9px; + margin-bottom: 20px; } pre { diff --git a/demo/demo.js b/demo/demo.js index 2e4c70a..58c179a 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -25,6 +25,6 @@ function draw() { g.fillRect(0, 0, width, height); g.fillStyle = "#222"; - g.fillText(controllableObject.pageTitle, 0, height); + g.fillText(controllableObject.pageTitle, 0, 80); } \ No newline at end of file diff --git a/index.html b/index.html index a64cbe6..fb683f1 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@ -

GUI-DAT flaggui-dat

+

GUI-DAT flaggui-dat

is a super-light javascript library for making GUI elements. It is inspired by controlP5.