changeset 3:9b9d095c5d2c

Changed some CSS styles, other cosmetic issues.
author Atul Varma <varmaa@toolness.com>
date Mon, 30 Mar 2009 16:53:35 -0700
parents a008ec979183
children 24152e820405
files index.css index.html open-web-challenges.js
diffstat 3 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/index.css	Mon Mar 30 16:43:47 2009 -0700
+++ b/index.css	Mon Mar 30 16:53:35 2009 -0700
@@ -1,8 +1,9 @@
 body {
-    font-family: helvetica;
-    font-size: 9pt;
+    font-family: palatino,georgia,verdana,serif;
+    font-size: 14pt;
     color: black;
     background-color: white;
+    text-align: center;
 }
 
 a {
@@ -11,8 +12,15 @@
     color: black;
 }
 
+.hint-button {
+    font-style: italic;
+    padding: 2em;
+}
+
 #current-challenge {
     display: none;
+    width: 40em;
+    margin: 0 auto;
 }
 
 #messages {
@@ -22,4 +30,3 @@
 .challenge {
     display: none;
 }
-
--- a/index.html	Mon Mar 30 16:43:47 2009 -0700
+++ b/index.html	Mon Mar 30 16:53:35 2009 -0700
@@ -14,6 +14,7 @@
   <div id="messages">
     <div id="msg-show-first-hint">Click here to display a hint.</div>
     <div id="msg-show-another-hint">Click here to display another hint.</div>
+    <div id="msg-no-more-hints">All hints are displayed below.</div>
     <div id="msg-success">You got it!</div>
   </div>
   <div id="challenge-1" class="challenge">
--- a/open-web-challenges.js	Mon Mar 30 16:43:47 2009 -0700
+++ b/open-web-challenges.js	Mon Mar 30 16:53:35 2009 -0700
@@ -8,7 +8,7 @@
         if (hints.find('p:hidden').length)
           $(this).text($('#msg-show-another-hint').text());
         else
-          $(this).slideUp();
+          $(this).text($('#msg-no-more-hints').text());
       });
     return hintButton;
   },