From 2ff9f520289139181145fccd952800ec18cee9e5 Mon Sep 17 00:00:00 2001 From: arun Date: Fri, 24 Nov 2006 23:30:20 +0000 Subject: [PATCH] some more design changes --- index.php | 22 +++++++++++++--------- standard.css | 26 +++++++++++++++----------- 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/index.php b/index.php index a53a23c..de9d382 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ $host = "http://doko.nubati.net/index.php"; $wiki = "http://wiki.nubati.net/index.php?title=EmailDoko"; -$debug = 1; +$debug = 0; /* * end config @@ -392,9 +392,9 @@ function save_status() return; } -echo "

If you find bugs, please list them in the wiki

\n"; +echo "

If you find bugs, please list them in the wiki.

\n"; -echo "

Cards that have a green background have a comment, which you can access by hovering over the card with your mouse ;)

\n"; +echo "

Names that are underlined have a comment, which you can access by hovering over the name with your mouse ;)

\n"; $history=array(); @@ -830,15 +830,20 @@ if(sizeof($lines)<2) { $tmp = explode("->",$card); + echo "
"; + if(strlen($tmp[2])>0) - echo "
"; + echo ""; else - echo "
"; - echo $player[$hash[$tmp[0]]]["name"]."
"; - display_card($tmp[1]); + echo " "; + echo $player[$hash[$tmp[0]]]["name"]; /* check for comment */ if(strlen($tmp[2])>0) - echo "
".$tmp[2]."
\n"; + echo " ".$tmp[2].""; + echo "
\n "; + + display_card($tmp[1]); + $last = $tmp[0]; echo "
\n"; } @@ -1049,7 +1054,6 @@ who won? echo "
\n"; } /* end check for winner */ - echo "
"; /* do we still have cards? display them */ if(strlen(trim($player[$me]["cards"]))>0 ) { diff --git a/standard.css b/standard.css index 3288da4..3a08cbf 100644 --- a/standard.css +++ b/standard.css @@ -131,6 +131,18 @@ div.card3 left:140px; } +.card2 span span +{ + position:relative; + left:-80px; +} + +.card3 span span +{ + position:relative; + top:-40px; +} + span.comment { text-decoration:underline; @@ -141,6 +153,7 @@ span.comment text-decoration:none; } +/* hide comments */ .table div span span { position: absolute; @@ -161,18 +174,8 @@ span.comment display:block; } -.card2 span span -{ - position:relative; - left:-80px; -} - -.card3 span span -{ - position:relative; - top:-40px; -} +/* background image for the table */ .background0 { background:url(pics/stable0.png) no-repeat 60px 60px; @@ -189,6 +192,7 @@ span.comment { background:url(pics/stable3.png) no-repeat 60px 60px; } + div.back0 { background:url(pics/table0.png) no-repeat 100px 100px; -- 2.25.1