fixed x-height

This commit is contained in:
jonobr1 2011-01-25 17:19:16 -07:00
parent aeb24b86ae
commit fa4df59d0e
3 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ h1 {
font-weight: 800; font-weight: 800;
text-transform: lowercase; text-transform: lowercase;
line-height: 80px; 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 { h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
@ -31,6 +31,7 @@ h1 img {
height: 45px; height: 45px;
-moz-border-radius: 9px; -moz-border-radius: 9px;
border-radius: 9px; border-radius: 9px;
margin-bottom: 20px;
} }
pre { pre {

View File

@ -25,6 +25,6 @@ function draw() {
g.fillRect(0, 0, width, height); g.fillRect(0, 0, width, height);
g.fillStyle = "#222"; g.fillStyle = "#222";
g.fillText(controllableObject.pageTitle, 0, height); g.fillText(controllableObject.pageTitle, 0, 80);
} }

View File

@ -62,7 +62,7 @@
</script> </script>
</head> </head>
<body> <body>
<h1><a href = "http://twitter.com/guidat"><img src = "demo/assets/favicon.gif" border = "0" alt = "GUI-DAT flag" /></a><canvas id = "helvetica-demo" height = "80" width = "500">gui-dat</canvas></h1> <h1><a href = "http://twitter.com/guidat"><img src = "demo/assets/favicon.gif" border = "0" alt = "GUI-DAT flag" /></a><canvas id = "helvetica-demo" width = "500" height = "100">gui-dat</canvas></h1>
<p> <p>
is a super-light javascript library for making GUI elements. It is inspired by <a href = "http://www.sojamo.de/libraries/controlP5/">controlP5</a>. is a super-light javascript library for making GUI elements. It is inspired by <a href = "http://www.sojamo.de/libraries/controlP5/">controlP5</a>.
</p> </p>