diff --git a/text.html b/text.html index fc3cbfb..13871de 100644 --- a/text.html +++ b/text.html @@ -17,10 +17,10 @@ body { #text { color: #fff; text-align: center; - font-family: 'Menlow Regular'; + font-family: Menlo; font-variant: small-caps; //text-transform: uppercase; - font-weight: bold; + //font-weight: bold; text-shadow: 2px 4px 3px black; } #text2 { @@ -57,7 +57,8 @@ function onLoad() { } function handleFontSize() { // Set base font-size to 10% of window height - //document.body.style.fontSize = (window.innerHeight * 0.1) + "px"; + document.body.style.fontSize = (window.innerHeight * 0.05) + "px"; + /* var fontSize = window.innerHeight * 0.1; text.style.position = 'absolute'; @@ -70,6 +71,7 @@ function handleFontSize() { } while (text.getBoundingClientRect().width < (window.innerWidth - padding)); text.style.position = ''; text.style.paddingLeft = '0'; + */ } window.addEventListener("load", onLoad, false); window.addEventListener("resize", handleFontSize, false);