]> jspc29.x-matter.uni-frankfurt.de Git - trb3web.git/commitdiff
switched to html 5, cleaned up stylesheet
authorJan Michel <j.michel@gsi.de>
Sun, 12 May 2013 15:16:22 +0000 (17:16 +0200)
committerJan Michel <j.michel@gsi.de>
Sun, 12 May 2013 15:16:22 +0000 (17:16 +0200)
frame.pm
styleold.css

index d20877f1111180dd87701f703b9f08dcbc679b45..6c4b40bd61a6bf43a730b31cc78894e801269060 100755 (executable)
--- a/frame.pm
+++ b/frame.pm
@@ -20,14 +20,13 @@ $menu = $menuselect->{$select} if exists $menuselect->{$select};
 \r
 \r
 print <<HDOC;\r
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
-<html>\r
+<!DOCTYPE html>\r
+<html lang="en">\r
 \r
 <head>\r
  <title>TRB Readout Platform</title>\r
  <link rel="stylesheet" type="text/css" href="styleold.css">\r
- <meta http-equiv="Content-Language" content="en">\r
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
+ <meta  charset="UTF-8"/>\r
 </head>\r
 \r
 <body>\r
@@ -46,7 +45,7 @@ while (my ($k) = each @toplink) {
 print <<HDOC;\r
 </ul>\r
 \r
-<a href="/trb"><div id="logo"><img src="logo.png" alt="Logo"></div></a>\r
+<div id="logo"><a href="/trb"><img src="logo.png" alt="Logo"></a></div>\r
 \r
 <h2 class="header">the ultimate read-out platform</h2>\r
 </div>\r
index 5dfaeede80c8bac2eac87c4342b659b4ecaf1a03..ad02700ee314e3bb19198e98bfc8acb848d4cee4 100644 (file)
@@ -25,7 +25,6 @@ body {
   height:100%;
   font-family: Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif;
   color:#474756;  
-  /*margin: 100px 140px  5px 190px;*/
   text-align: center;
 }
 
@@ -41,18 +40,20 @@ body {
 
 #logo {
    left:19px;
-   top:10px;
+   top:5px;
    height:134px;
    background:#b2c979;
    border:solid white;
    border-width:2px 2px 2px 2px;
    position:absolute;
    z-index:23;
-   _float:left;
    }   
+
+#logo img, #logo img {
+  border:none;
+}
    
 .header {
-   /*margin:-90px -140px 0 -190px;*/
    display:block;
    overflow:hidden;
    text-align:left;
@@ -60,10 +61,8 @@ body {
    background:#405774;
    z-index:21;
    position:absolute;
-   _width:100%;
    right:0;
-   _float:left;
-   font-family: Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif;
+   font-family: DejaVu Sans, Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif;
    color:#ffe;
    margin:0;
    line-height:100%;
@@ -77,7 +76,6 @@ body>#head>.header {
 h1.header {
    top:25px;
    padding:12px 0 3px 200px;
-   _height:45px;
    font-size:25px;
    border-width:1px 0 0 0;
    }
@@ -85,7 +83,6 @@ h1.header {
 h2.header {
    top:70px;
    padding:10px 0 0 200px;
-   _height:40px;
    border-width:0 0 1px 0;
    font-weight:normal;
    font-size:20px;
@@ -132,11 +129,9 @@ h2.header {
  *****************************/        
 
 #content { 
-  _float:left;
   padding: 0px;
   text-align: left;
   margin:110px 20px 35px 200px;
-  _margin-top:130px;
   line-height:140%;
   overflow: auto;
   text-align:justify;
@@ -147,7 +142,6 @@ h2.header {
   }
 
 #main {
-   _float:left;
    margin:0;
    padding:0 0 20px 0;
    z-index:2;
@@ -184,11 +178,8 @@ a:hover {
    background:#ddeaf4;/*rgb(217,229,239); d9e5ef*/
    width:170px;
    float:left;
-   /height:100%;
    margin-top:-15px;
-   _margin-top:0px;
    margin-left:11px;
-   _margin-left:6px;
    padding-top:180px;
    padding-bottom:100px;
    border:solid black;
@@ -291,6 +282,6 @@ table th {
   border-bottom: 1px solid #ccc;
 }
 
-table td {
+table td, table th {
   padding:2px 10px;
 }   
\ No newline at end of file