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 body { background-color: #ddd; }
22 /* the header, footer, etc */
24 background-color: #fff;
29 border-bottom: 3px solid gray;
37 .lastlogin span { font-size:smaller;}
40 background-color: #fff;
47 background-color: #fff;
51 border-top: 2px solid gray;
55 footer .right { float:right; font-size:smaller;}
56 footer .left { float:left; font-size:smaller; }
68 border-bottom: 1px solid #000;
71 .session div.sessionrules {
76 .session div.sessionrules div{
78 background-color: #fff;
79 border: 1px solid #000;
84 .session div.sessionrules:hover div{ display:block; }
85 .session div.sessionscore {
90 .session div.sessionscore div{
95 background-color: #fff;
96 border: 1px solid #000;
99 .session div.sessionscore:hover div{ display:block;}
100 .session img.rulesicon{ height: 1em; }
102 .session .scoretable{
106 .session table.score {
109 border-collapse:collapse;
112 /* all kind of message that should appear in the middle of the page/table */
115 background-color: #fff;
123 .message >div { border: 2px solid black; }
130 .joingame,.sickness,.poverty,.total {
132 background-color: #fff;
152 background-color: #eee;
159 background-color: #eee;
163 /* output possible rules for a new game */
164 .rules { margin-top:24em;}
173 background-color:#fff;
174 border:2px solid gray;
176 .card img { width:8em; }
178 /* display the table and the names */
186 /* border: 3px solid blue; */
191 div.table img.table {
203 /*background-color:green;*/
210 div.table div.table0 {
214 div.table div.table1 {
218 div.table div.table2 {
222 div.table div.table3 {
227 /* display the card tricks */
231 zoom:1; /* fixes an IE6 issue and hopefully doesn't mess up anything else */
237 border-bottom:1px solid #444;
239 ul.tricks a { text-decoration:none; color:#000;}
241 /*background-color:blue;*/
246 ul.tricks li.old { background-color:#fff; }
247 ul.tricks li:hover { background-color: #bbb;}
248 ul.tricks li.nohighlight:hover { background-color: #fff;}
250 ul.tricks li div.trick {
258 /* border: 2px solid red;*/
261 ul.tricks li div.trick { display:none;}
262 ul.tricks li div.trick img.arrow {
266 /* border: 5px solid blue;*/
276 #trick0 img { float:left; width: 3em; }
280 /*ul.tricks li:hover div.table{ display:block; }*/
283 ul.tricks li div div.card0 img,
284 ul.tricks li div div.card0 .score,
289 /*border: 1px solid red;*/
303 ul.tricks li div div.card0 span.comment{
307 /*border: 1px solid red;*/
315 ul.tricks li div div.card1 img,
316 ul.tricks li div div.card1 .score,
321 /*border: 1px solid red;*/
335 ul.tricks li div div.card1 span.comment{
339 /*border: 1px solid red;*/
348 ul.tricks li div div.card2 img,
349 ul.tricks li div div.card2 .score,
354 /*border: 1px solid red;*/
367 ul.tricks li div div.card2 span.comment{
371 /*border: 1px solid red;*/
380 ul.tricks li div div.card3 img,
381 ul.tricks li div div.card3 .score,
386 /*border: 1px solid red;*/
400 ul.tricks li div div.card3 span.comment{
404 /*border: 1px solid red;*/
412 border: 3px solid green;
415 word-wrap: break-word;
418 ul.tricks li div div span.comment span{
421 border-top:1px solid green;
428 border-top: 2px solid gray;
429 /* border-bottom: 2px solid green;*/
430 background-color: #faffc7;
434 .mycards img { height:6em;}
440 border:1px solid red;
441 background-color:yellow;
444 .exchange img { height:6em;}
448 border-top:2px solid gray;
459 border-top: 2px solid gray;
460 background-color: #efaaaa;
474 border: 2px solid gray;
478 background-color: #eee;
491 border: 2px solid gray;
495 background-color: #efefef;
502 .user { margin-left:25%;margin-right:5%; }
515 border-left: 2px solid #babdb6 ;
516 border-right: 2px solid #babdb6 ;
517 border-bottom: 2px solid #babdb6 ;
520 div.user ul li:first-child {
521 border-top: 2px solid #babdb6 ;
536 .user .gameshidesession {
540 .user .gameshidesession , .user .gamesshowsession {
545 .wide { margin-left:5%;margin-right:5%; }
555 border: 1px solid #000;
557 .cardinput img { width: 4em;}
558 .cardinput:hover{ background-color:red;}
562 background-color: #f57900;
566 background-color: #e9b96e ;
571 background-color: #8ae234;
574 .bigger{ font-size:larger;}
577 /* statistics using jquery*/
588 border: solid 0.2em #aeaeae;
589 -moz-border-radius: 0.5em ;
592 table.stats tbody tr.odd td { background-color:#aeaeae; }
593 table.stats tbody tr.even td { background-color:#eaeaea; }
594 table.stats td, table.stats th {
598 padding-right: 0.2em;
599 border-right: solid 0.1em #000;
601 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
602 table.stats th { border-bottom: solid 0.2em #000 }
604 table.stats thead tr .header {
605 background-image: url(bg.png);
606 background-repeat: no-repeat;
607 background-position: center right;
610 table.stats tbody td {
612 background-color: #eaeaea;
615 table.stats thead tr .headerSortUp {
616 background-image: url(asc.png);
618 table.stats thead tr .headerSortDown {
619 background-image: url(desc.png);
621 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
622 background-color: #8dbdd8;
627 /* the login window */
634 padding: 0.1em 0.1em 0.15em;
637 padding: 0.3em 0.3em 0.45em;
640 /* the login/register form */
651 ul.loginregister li {
654 border-top: 2px solid #000;
655 border-left: 2px solid #000;
656 padding: 0.5em 0.75em;
657 padding-bottom: 0.25em;
658 background-color: #eee;
661 ul.loginregister li:last-child { border-right: 2px solid #000;}
662 ul.loginregister li:hover {background-color: #aaa; }
664 .doregister {display: none;}
665 .dologin label,.doregister label {float:left; width: 6em; }
671 margin-bottom: 0.5em;
672 padding: 0.5em 0.5em 1.5em;
677 border: 2px solid #000;
678 padding: 0.5em 0.5em 0.75em;
679 background-color: #eee;
686 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
694 .login input #email, .login input #password{
699 .login .submitbutton { background-color: #fff;}
700 .login .submitbutton:hover { background-color: #aaa;}
703 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
707 table.openid td, table.openid th{
708 padding: 0.0em 0.3em;;
712 background-color: #fee;
717 background-color: #fc3;
720 div.table div img.gravatar, img.gravatar {
723 border: 3px solid #aaa;
732 div span.numberoftricks {
739 background-color: #fc3;
758 border: 1px solid black;
762 background-color: #729fcf;
765 background-color: #8ae234;
768 background-color: #e9b96e;
770 .about .translation {
771 background-color: #fce94f;
775 /* special layout for mobile devices */
776 @media only screen and (max-width: 900px) {
778 background-color: #fff;
796 border-top: 1px solid gray;
799 .session div.sessionscore div, .status {
817 border: 2px solid gray;
821 background-color: #efefef;
828 .user { margin-left:5%;margin-right:5%; }
830 div.table img.table {
836 background-color: #fff;
844 .message >div { border: 2px solid black; }