From a47a1d5f74374bb2945068a70f1a3987073209e6 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 20 Feb 2013 22:22:23 -0500 Subject: [PATCH] pad tab contents properly --- main.html | 21 ++++++++++++--------- style.less | 5 +++++ 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/main.html b/main.html index fd8573b..312ef1c 100644 --- a/main.html +++ b/main.html @@ -39,19 +39,21 @@ cat style.css
Instructions
-
    -
  1. Click letter tiles to make a word (they have to touch).
  2. -
  3. Click the last letter tile again.
  4. -
+
+
1. Click letter tiles to make a word (they have to touch).
+
2. Click the last letter tile again.
+
Definition
-
When you make a word, a definition should appear here.
+
+ When you make a word, a definition should appear here. +
log
-
+
 
 
 
@@ -62,10 +64,11 @@ cat style.css
New Game
+
+

Warning: There's no undo! This will clear your score and reset the board.

-

Warning: There's no undo! This will clear your score and reset the board.

- -

New Game

+

New Game

+
diff --git a/style.less b/style.less index b78dfde..bca514e 100644 --- a/style.less +++ b/style.less @@ -8,6 +8,7 @@ @tabs-top: 120px; @tabtab-height: 20px; // also in main.coffee @tab-height: 150px; // also in main.coffee +@tab-pad: 5px; @row-pad: 10px; @copyright-height: 20px; @@ -74,6 +75,10 @@ body { padding: 0 0 0 3px; background: @tabtab-color; } + .tabbody { + height: @tab-height - @tabtab-height - @tab-pad * 2; + padding: (@tab-pad - 1) (@tab-pad - 1) @tab-pad (@tab-pad + 1); + } .selected-tab, .tab { overflow: hidden; box-shadow: 1px 1px 3px #888; -- 1.7.10.4