1 /* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
3 * This file is part of e-DoKo.
5 * e-DoKo is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * e-DoKo is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with e-DoKo. If not, see <http://www.gnu.org/licenses/>.
20 /* reset CSS (taken from blueprint and modified a bit) */
22 html, body, div, span,
23 h1, h2, h3, h4, h5, h6, p,
24 a,img, dl, dt, dd, ol, ul, li,
25 fieldset, form, label, legend,
26 table, tbody, tfoot, thead, tr, th, td {
30 vertical-align: baseline;
32 table { border-collapse: separate; border-spacing: 0; }
33 caption, th, td { text-align: left; font-weight: normal; }
34 table, td, th { vertical-align: middle; }
38 /* some general layout */
39 h1, h2, h3, h4, h5, h6, p {margin: 2px; padding: 1px;}
41 body { background-color: #ddd; }
44 /* the header, footer, etc */
46 background-color: #fff;
52 border-bottom: 3px solid gray;
60 .lastlogin span { font-size:smaller;}
63 background-color: #fff;
70 background-color: #fff;
74 border-top: 2px solid gray;
78 footer .right { float:right; font-size:smaller;}
79 footer .left { float:left; font-size:smaller; }
91 border-bottom: 1px solid #000;
94 .session div.sessionrules {
99 .session div.sessionrules div{
101 background-color: #fff;
102 border: 1px solid #000;
107 .session div.sessionrules:hover div{ display:block; }
108 .session div.sessionscore {
113 .session div.sessionscore div{
118 background-color: #fff;
119 border: 1px solid #000;
122 .session div.sessionscore:hover div{ display:block;}
123 .session img.rulesicon{ height: 1em; }
125 .session .scoretable{
129 .session table.score {
132 border-collapse:collapse;
135 /* all kind of message that should appear in the middle of the page/table */
136 .joingame,.sickness,.poverty,.total,.message {
138 background-color: #fff;
157 background-color: #eee;
164 background-color: #eee;
168 /* output possible rules for a new game */
169 .rules { margin-top:24em;}
178 background-color:#fff;
179 border:2px solid gray;
181 .card img { width:8em; }
183 /* display the table and the names */
191 /* border: 3px solid blue; */
196 div.table img.table {
208 /*background-color:green;*/
215 div.table div.table0 {
219 div.table div.table1 {
223 div.table div.table2 {
227 div.table div.table3 {
232 /* display the card tricks */
236 zoom:1; /* fixes an IE6 issue and hopefully doesn't mess up anything else */
242 border-bottom:1px solid #444;
244 ul.tricks a { text-decoration:none; color:#000;}
246 /*background-color:blue;*/
251 ul.tricks li.old { background-color:#fff; }
252 ul.tricks li:hover { background-color: #bbb;}
253 ul.tricks li.nohighlight:hover { background-color: #fff;}
255 ul.tricks li div.trick {
263 /* border: 2px solid red;*/
266 ul.tricks li div.trick { display:none;}
267 ul.tricks li div.trick img.arrow {
271 /* border: 5px solid blue;*/
281 #trick0 img { float:left; width: 3em; }
285 /*ul.tricks li:hover div.table{ display:block; }*/
288 ul.tricks li div div.card0 img,
289 ul.tricks li div div.card0 .score,
294 /*border: 1px solid red;*/
308 ul.tricks li div div.card0 span.comment{
312 /*border: 1px solid red;*/
320 ul.tricks li div div.card1 img,
321 ul.tricks li div div.card1 .score,
326 /*border: 1px solid red;*/
340 ul.tricks li div div.card1 span.comment{
344 /*border: 1px solid red;*/
353 ul.tricks li div div.card2 img,
354 ul.tricks li div div.card2 .score,
359 /*border: 1px solid red;*/
372 ul.tricks li div div.card2 span.comment{
376 /*border: 1px solid red;*/
385 ul.tricks li div div.card3 img,
386 ul.tricks li div div.card3 .score,
391 /*border: 1px solid red;*/
405 ul.tricks li div div.card3 span.comment{
409 /*border: 1px solid red;*/
417 border: 3px solid green;
420 word-wrap: break-word;
423 ul.tricks li div div span.comment span{
426 border-top:1px solid green;
433 border-top: 2px solid gray;
434 /* border-bottom: 2px solid green;*/
435 background-color: #faffc7;
439 .mycards img { height:6em;}
445 border:1px solid red;
446 background-color:yellow;
449 .exchange img { height:6em;}
453 border-top:2px solid gray;
464 border-top: 2px solid gray;
465 background-color: #efaaaa;
479 border: 2px solid gray;
483 background-color: #eee;
496 border: 2px solid gray;
500 background-color: #efefef;
507 .user { margin-left:25%;margin-right:5%; }
519 border-left: 2px solid #babdb6 ;
520 border-right: 2px solid #babdb6 ;
521 border-bottom: 2px solid #babdb6 ;
524 div.user ul li:first-child {
525 border-top: 2px solid #babdb6 ;
540 .user .gameshidesession {
544 .user .gameshidesession , .user .gamesshowsession {
549 .wide { margin-left:5%;margin-right:5%; }
559 border: 1px solid #000;
561 .cardinput img { width: 4em;}
562 .cardinput:hover{ background-color:red;}
566 background-color: #f57900;
570 background-color: #e9b96e ;
575 background-color: #8ae234;
578 .bigger{ font-size:larger;}
581 /* statistics using jquery*/
592 border: solid 0.2em #aeaeae;
593 -moz-border-radius: 0.5em ;
596 table.stats tbody tr.odd td { background-color:#aeaeae; }
597 table.stats tbody tr.even td { background-color:#eaeaea; }
598 table.stats td, table.stats th {
602 padding-right: 0.2em;
603 border-right: solid 0.1em #000;
605 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
606 table.stats th { border-bottom: solid 0.2em #000 }
608 table.stats thead tr .header {
609 background-image: url(bg.png);
610 background-repeat: no-repeat;
611 background-position: center right;
614 table.stats tbody td {
616 background-color: #eaeaea;
619 table.stats thead tr .headerSortUp {
620 background-image: url(asc.png);
622 table.stats thead tr .headerSortDown {
623 background-image: url(desc.png);
625 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
626 background-color: #8dbdd8;
631 /* the login window */
638 padding: 0.1em 0.1em 0.15em;
641 padding: 0.3em 0.3em 0.45em;
644 /* the login/register form */
655 ul.loginregister li {
658 border-top: 2px solid #000;
659 border-left: 2px solid #000;
660 padding: 0.5em 0.75em;
661 padding-bottom: 0.25em;
662 background-color: #eee;
665 ul.loginregister li:last-child { border-right: 2px solid #000;}
666 ul.loginregister li:hover {background-color: #aaa; }
668 .doregister {display: none;}
673 margin-bottom: 0.5em;
674 padding: 0.5em 0.5em 1.5em;
679 border: 2px solid #000;
680 padding: 0.5em 0.5em 0.75em;
681 background-color: #eee;
688 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
696 .login input #email, .login input #password{
701 .login .submitbutton { background-color: #fff;}
702 .login .submitbutton:hover { background-color: #aaa;}
705 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
709 table.openid td, table.openid th{
710 padding: 0.0em 0.3em;;
714 background-color: #fee;
719 background-color: #fc3;
722 div.table div img.gravatar, img.gravatar {
725 border: 3px solid #aaa;
734 background-color: #fc3;
753 border: 1px solid black;
757 background-color: #729fcf;
760 background-color: #8ae234;
763 background-color: #e9b96e;
765 .about .translation {
766 background-color: #fce94f;