LAYOUT: fixed some css issues in the new layout
authorArun Persaud <arun@nubati.net>
Sun, 20 Nov 2011 00:01:27 +0000 (16:01 -0800)
committerArun Persaud <apersaud@lbl.gov>
Sun, 20 Nov 2011 00:01:27 +0000 (16:01 -0800)
* totals were displayed too low
* personal notes were too low
* text for points for person on the bottom was on top of the div for the card instead of at the bottom

css/standard.css
include/output.php

index 2e8567f0754eee77a480c88673e1c9eba6e9e92b..e22dafc0aa3d2940b86fa3184a318ef0be034aaa 100644 (file)
@@ -127,14 +127,12 @@ footer .left  { float:left;         font-size:smaller;}
  position: absolute;
  background-color: #fff;
  width: 20%;
- top:19em;
- left:40%;
- right:40%;
+ top: 30%;
+ margin: auto;
  text-align: center;
  z-index:22;
 }
 .total {
-    top:11em;
     width: 14%;
     left: 43%;
 }
@@ -144,6 +142,7 @@ footer .left  { float:left;         font-size:smaller;}
  left: -12em;
  top:8em;
  background-color: #eee;
+ padding: 0.3em;
  z-index:15;
 }
 .total .contra {
@@ -151,6 +150,7 @@ footer .left  { float:left;         font-size:smaller;}
  right: -14em;
  top:8em;
  background-color: #eee;
+ padding: 0.3em;
  z-index:15;
 }
 
@@ -402,13 +402,13 @@ hr {clear:both;}
   left:47%;
   right:47%;
   height: 40%;
-  text-align:center;
   z-index:30;
 }
-.vorbehalt3{
+.tricks div div.card3 .score, .vorbehalt3{
   left:45%;
   right:45%;
   width:10%;
+  height: 3em;
   text-align:center;
 }
 .tricks div div.card3 span.comment{
@@ -482,15 +482,15 @@ span.comment{
 
 .notes {
   position:absolute;
-  top:27em;
+  top:3em;
   left:0;
   margin:1em;
   margin-top:0em;
-  margin-left:3em;
+  margin-left:2em;
 
   width: 12em;
 
-  border:    2px solid gray;
+  border:  2px solid gray;
 
   padding:0.3em;
 
index 1d1a71ffd8a4fe5e061af850e4fb55ef27eb87bc..f66a1d285c203f00ad5eb35c21711757c1399322 100644 (file)
@@ -379,7 +379,7 @@ function output_header()
      <meta name="viewport" content="width=device-width; initial-scale=1.0;" />
      <link rel="shortcut icon" href="pics/edoko-favicon.png" />
      <link rel="stylesheet" href="css/normalize.css?v=1" />
-     <link rel="stylesheet" href="css/standard.css?v=38" />
+     <link rel="stylesheet" href="css/standard.css?v=39" />
      <link rel="stylesheet" href="css/dateinput.css?v=1"/>
      <script type="text/javascript" src="include/jquery.js"> </script>
      <script type="text/javascript" src="include/jquery.tablesorter.js"></script>