From 9f3a7ca806638f6f33387ab80d85fff5a019cc3b Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 9 Nov 2011 03:01:51 -0800 Subject: tutorial pagination --- css/page.css | 4 +- css/tutorial.css | 4 ++ pages/howtoplay.php | 4 +- pages/tutorial.php | 151 ++++++++++++++++++++++++++++++++-------------------- 4 files changed, 100 insertions(+), 63 deletions(-) diff --git a/css/page.css b/css/page.css index f4fb112..31c0647 100644 --- a/css/page.css +++ b/css/page.css @@ -1,8 +1,8 @@ html { - font-family: Helvetica, sans-serif; + font-family: Helvetica, Arial, sans-serif; } html.wf-active { - font-family: Cantarell, Helvetica, sans-serif; + font-family: Cantarell, Helvetica, Arial, sans-serif; } body { diff --git a/css/tutorial.css b/css/tutorial.css index 269ff52..5c7e9ae 100644 --- a/css/tutorial.css +++ b/css/tutorial.css @@ -1,3 +1,7 @@ +#tut-wrapper { + text-align: center; +} + table.padded td:first-child { padding-right: 5px; } diff --git a/pages/howtoplay.php b/pages/howtoplay.php index bfad879..a1e07c4 100644 --- a/pages/howtoplay.php +++ b/pages/howtoplay.php @@ -110,13 +110,13 @@ $tpmap = displaymap(GenerateMapByCode($tpcode), 3, 'example'); + - - -
-

-
-The point of this game is to create the longest path between the start and the finish -
Press Go! -
-
-
+
+
+

+ The point of this game is to create the longest path between the start and the finish. +

+ Press Go! +

+
Previous | Next "; //Prepare maps. $example1[] = "sraoorooof"; @@ -199,25 +224,33 @@ $myparams['teleports'] = 1; $myparams['walls'] = 5; $map5 = GenerateShapedMap($challenge5, $myparams); - //Display maps. -echo "
Target: 35 moves."; +echo ''; ?> + +
+ + +
- - - + + + -- cgit v1.2.3