*
*/
-/* reset CSS (taken from blueprint and modified a bit) */
-
-html, body, div, span,
-h1, h2, h3, h4, h5, h6, p,
-a,img, dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, tbody, tfoot, thead, tr, th, td {
- margin: 0;
- padding: 0;
- border: 0;
- vertical-align: baseline;
-}
-table { border-collapse: separate; border-spacing: 0; }
-caption, th, td { text-align: left; font-weight: normal; }
-table, td, th { vertical-align: middle; }
-
-/* end reset */
-
-/* some general layout */
-h1, h2, h3, h4, h5, h6, p {margin: 2px; padding: 1px;}
-
body { background-color: #ddd; }
-
/* the header, footer, etc */
header {
background-color: #fff;
text-align: center;
- height: 4em;
padding-top: 1.5em;
- margin-left: 3em;
- margin-right: 3em;
+ margin: 0em 3em;
border-bottom: 3px solid gray;
}
.main {
background-color: #fff;
- margin-left: 3em;
- margin-right: 3em;
- min-height: 40em;
+ padding: 0em 0em;
+ margin: 0em 3em;
+ padding-bottom: 1em;
}
footer {
background-color: #fff;
- margin-left: 3em;
- margin-right: 3em;
- padding:0;
+ margin: 0em 3em;
+ padding:0em 0.2em;
border-top: 2px solid gray;
- clear:both;
- height: 8em;
}
-footer .right { float:right; font-size:smaller;}
-footer .left { float:left; font-size:smaller; }
+footer .right { text-align:right; font-size:smaller;}
+footer .left { float:left; font-size:smaller;}
.status {
position:absolute;
.session {
width: 100%;
border-bottom: 1px solid #000;
+ padding: 0.5em;
text-align: center;
}
.session div.sessionrules {
}
/* all kind of message that should appear in the middle of the page/table */
-.joingame,.sickness,.poverty,.total,.message {
+.message {
position: absolute;
background-color: #fff;
width: 20%;
left:40%;
right:40%;
text-align: center;
- z-index:22
+ z-index:33;
+}
+.message >div { border: 2px solid black; }
+.message div div {
+ width: 100%;
+ text-align: right;
+ font-size: smaller;
}
+.joingame,.sickness,.poverty,.total {
+ position: absolute;
+ background-color: #fff;
+ width: 20%;
+ top:19em;
+ left:40%;
+ right:40%;
+ text-align: center;
+ z-index:22;
+}
+
+
.total {
top:11em;
width: 14%;
div.table div {
/*background-color:green;*/
position:absolute;
- width:12.5%;
+ width:10.5%;
text-align:center;
z-index:20;
}
div.table div.table0 {
top:45%;
- right:62.5%;
+ right:63.5%;
}
div.table div.table1 {
- top:0%;
- left:43.75%;
+ top:2%;
+ left:44.75%;
}
div.table div.table2 {
top:45%;
- left:62.5%;
+ left:63.5%;
}
div.table div.table3 {
- bottom:0%;
- left: 43.75%;
+ bottom:2%;
+ left: 44.75%;
}
/* display the card tricks */
}
.usermenu {
- position:absolute;
- top:10em;
- left:3em;
- margin:1em;
- margin-top:0em;
- margin-left:0em;
-
- width: 12em;
-
- border: 2px solid gray;
-
- padding:0.3em;
-
- background-color: #eee;
+ text-align: center;
+ padding:0.7em;
+ border-bottom: 1px solid black;
}
.notes {
z-index:50;
}
-.user { margin-left:25%;margin-right:5%; }
+.user {
+ margin-left:25%;
+ margin-right:5%;
+}
div.user ul {
list-style:none;
+ padding: 0px;
}
div.user ul li {
ul.loginregister li:hover {background-color: #aaa; }
.doregister {display: none;}
+.dologin label,.doregister label {float:left; width: 6em; }
+
.login fieldset{
width: 24em;
height: 4em;
border: 3px solid #aaa;
}
+div.table div img.gravatar {
+ float:left;
+}
+
div img.button {
float: right;
width: 2em;
}
+div span.numberoftricks {
+ text-align:center;
+ clear:both;
+ display:block;
+}
+
.highcall {
background-color: #fc3;
}
}
+/* special layout for mobile devices */
+@media only screen and (max-width: 900px) {
+.main {
+ background-color: #fff;
+ margin-left: 0em;
+ margin-right: 0em;
+}
+
+header, footer {
+ margin-left: 0em;
+ margin-right: 0em;
+}
+
+.lastlogin {
+ position: relative;
+ left: 0em;
+ top: 0em;
+ width: 100%;
+ text-align: center;
+ border-top: 1px solid gray;
+}
+
+.session div.sessionscore div, .status {
+ right:0em;
+}
+
+.notes {
+ position:relative;
+ top:0em;
+ left:0;
+ margin:0.1em;
+ margin-top:0em;
+ margin-left:0em;
+
+ width: 100%;
+
+ border: 2px solid gray;
+
+ padding:0.3em;
+
+ background-color: #efefef;
+
+ height:100%;
+ overflow: auto;
+ z-index:0;
+}
+
+.user { margin-left:5%;margin-right:5%; }
+
+div.table img.table {
+ width:50%;
+}
+.message {
+ position: relative;
+ background-color: #fff;
+ width: 100%;
+ top:0em;
+ left:0%;
+ right:0%;
+ text-align: center;
+ z-index:1;
+}
+.message >div { border: 2px solid black; }
+.message div div {
+ width: 100%;
+ text-align: right;
+ font-size: smaller;
+}
+}
\ No newline at end of file