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;
28 border-bottom: 3px solid gray;
36 .lastlogin span { font-size:smaller;}
39 background-color: #fff;
46 background-color: #fff;
49 border-top: 2px solid gray;
51 footer .right { text-align:right; font-size:smaller;}
52 footer .left { float:left; font-size:smaller;}
64 border-bottom: 1px solid #000;
68 .session div.sessionrules {
73 .session div.sessionrules div{
75 background-color: #fff;
76 border: 1px solid #000;
81 .session div.sessionrules:hover div{ display:block; }
82 .session div.sessionscore {
87 .session div.sessionscore div{
92 background-color: #fff;
93 border: 1px solid #000;
96 .session div.sessionscore:hover div{ display:block;}
97 .session img.rulesicon{ height: 1em; }
103 .session table.score {
106 border-collapse:collapse;
109 /* all kind of message that should appear in the middle of the page/table */
112 background-color: #fff;
120 .message >div { border: 2px solid black; }
127 .joingame,.sickness,.poverty,.total {
129 background-color: #fff;
149 background-color: #eee;
156 background-color: #eee;
160 /* output possible rules for a new game */
161 .rules { margin-top:24em;}
170 background-color:#fff;
171 border:2px solid gray;
173 .card img { width:8em; }
175 /* display the table and the names */
183 /* border: 3px solid blue; */
188 div.table img.table {
200 /*background-color:green;*/
207 div.table div.table0 {
211 div.table div.table1 {
215 div.table div.table2 {
219 div.table div.table3 {
224 /* display the card tricks */
228 zoom:1; /* fixes an IE6 issue and hopefully doesn't mess up anything else */
234 border-bottom:1px solid #444;
236 ul.tricks a { text-decoration:none; color:#000;}
238 /*background-color:blue;*/
243 ul.tricks li.old { background-color:#fff; }
244 ul.tricks li:hover { background-color: #bbb;}
245 ul.tricks li.nohighlight:hover { background-color: #fff;}
247 ul.tricks li div.trick {
255 /* border: 2px solid red;*/
258 ul.tricks li div.trick { display:none;}
259 ul.tricks li div.trick img.arrow {
263 /* border: 5px solid blue;*/
273 #trick0 img { float:left; width: 3em; }
277 /*ul.tricks li:hover div.table{ display:block; }*/
280 ul.tricks li div div.card0 img,
281 ul.tricks li div div.card0 .score,
286 /*border: 1px solid red;*/
300 ul.tricks li div div.card0 span.comment{
304 /*border: 1px solid red;*/
312 ul.tricks li div div.card1 img,
313 ul.tricks li div div.card1 .score,
318 /*border: 1px solid red;*/
332 ul.tricks li div div.card1 span.comment{
336 /*border: 1px solid red;*/
345 ul.tricks li div div.card2 img,
346 ul.tricks li div div.card2 .score,
351 /*border: 1px solid red;*/
364 ul.tricks li div div.card2 span.comment{
368 /*border: 1px solid red;*/
377 ul.tricks li div div.card3 img,
378 ul.tricks li div div.card3 .score,
383 /*border: 1px solid red;*/
397 ul.tricks li div div.card3 span.comment{
401 /*border: 1px solid red;*/
409 border: 3px solid green;
412 word-wrap: break-word;
415 ul.tricks li div div span.comment span{
418 border-top:1px solid green;
425 border-top: 2px solid gray;
426 /* border-bottom: 2px solid green;*/
427 background-color: #faffc7;
431 .mycards img { height:6em;}
437 border:1px solid red;
438 background-color:yellow;
441 .exchange img { height:6em;}
445 border-top:2px solid gray;
456 border-top: 2px solid gray;
457 background-color: #efaaaa;
464 border-bottom: 1px solid black;
477 border: 2px solid gray;
481 background-color: #efefef;
504 border-left: 2px solid #babdb6 ;
505 border-right: 2px solid #babdb6 ;
506 border-bottom: 2px solid #babdb6 ;
509 div.user ul li:first-child {
510 border-top: 2px solid #babdb6 ;
525 .user .gameshidesession {
529 .user .gameshidesession , .user .gamesshowsession {
534 .wide { margin-left:5%;margin-right:5%; }
544 border: 1px solid #000;
546 .cardinput img { width: 4em;}
547 .cardinput:hover{ background-color:red;}
551 background-color: #f57900;
555 background-color: #e9b96e ;
560 background-color: #8ae234;
563 .bigger{ font-size:larger;}
566 /* statistics using jquery*/
577 border: solid 0.2em #aeaeae;
578 -moz-border-radius: 0.5em ;
581 table.stats tbody tr.odd td { background-color:#aeaeae; }
582 table.stats tbody tr.even td { background-color:#eaeaea; }
583 table.stats td, table.stats th {
587 padding-right: 0.2em;
588 border-right: solid 0.1em #000;
590 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
591 table.stats th { border-bottom: solid 0.2em #000 }
593 table.stats thead tr .header {
594 background-image: url(bg.png);
595 background-repeat: no-repeat;
596 background-position: center right;
599 table.stats tbody td {
601 background-color: #eaeaea;
604 table.stats thead tr .headerSortUp {
605 background-image: url(asc.png);
607 table.stats thead tr .headerSortDown {
608 background-image: url(desc.png);
610 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
611 background-color: #8dbdd8;
616 /* the login window */
623 padding: 0.1em 0.1em 0.15em;
626 padding: 0.3em 0.3em 0.45em;
629 /* the login/register form */
640 ul.loginregister li {
643 border-top: 2px solid #000;
644 border-left: 2px solid #000;
645 padding: 0.5em 0.75em;
646 padding-bottom: 0.25em;
647 background-color: #eee;
650 ul.loginregister li:last-child { border-right: 2px solid #000;}
651 ul.loginregister li:hover {background-color: #aaa; }
653 .doregister {display: none;}
654 .dologin label,.doregister label {float:left; width: 6em; }
660 margin-bottom: 0.5em;
661 padding: 0.5em 0.5em 1.5em;
666 border: 2px solid #000;
667 padding: 0.5em 0.5em 0.75em;
668 background-color: #eee;
675 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
683 .login input #email, .login input #password{
688 .login .submitbutton { background-color: #fff;}
689 .login .submitbutton:hover { background-color: #aaa;}
692 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
696 table.openid td, table.openid th{
697 padding: 0.0em 0.3em;;
701 background-color: #fee;
706 background-color: #fc3;
709 div.table div img.gravatar, img.gravatar {
712 border: 3px solid #aaa;
714 div.table div img.gravatar {
724 div span.numberoftricks {
731 background-color: #fc3;
750 border: 1px solid black;
754 background-color: #729fcf;
757 background-color: #8ae234;
760 background-color: #e9b96e;
762 .about .translation {
763 background-color: #fce94f;
767 /* special layout for mobile devices */
768 @media only screen and (max-width: 900px) {
770 background-color: #fff;
786 border-top: 1px solid gray;
789 .session div.sessionscore div, .status {
803 border: 2px solid gray;
807 background-color: #efefef;
814 .user { margin-left:5%;margin-right:5%; }
816 div.table img.table {
822 background-color: #fff;
830 .message >div { border: 2px solid black; }