Revision: 6414
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6414&view=rev
Author:   dnaber
Date:     2012-02-04 12:18:14 +0000 (Sat, 04 Feb 2012)
Log Message:
-----------
[web] make the menu look more friendly

Modified Paths:
--------------
    trunk/website/include/header.php
    trunk/website/www/css/style.css

Modified: trunk/website/include/header.php
===================================================================
--- trunk/website/include/header.php    2012-02-04 11:36:09 UTC (rev 6413)
+++ trunk/website/include/header.php    2012-02-04 12:18:14 UTC (rev 6414)
@@ -1,9 +1,9 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml";>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title><?php print $title." ".$title2 ?></title>
-<link href="/css/style.css" rel="stylesheet" type="text/css" />
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title><?php print $title." ".$title2 ?></title>
+  <link href="/css/style.css?2" rel="stylesheet" type="text/css" />
 </head>
 <body>
 
@@ -16,7 +16,7 @@
        global $page;
        if ($page == $name || ($name == "." && $page == "homepage")) {
                ?>
-               <p class="activeMenuitem"><? print $visName ?></p>
+               <div class="menuitem activeMenuitem"><? print $visName ?></div>
                <?php
        } else {
                $url = $name;
@@ -30,7 +30,7 @@
                        }
                }
                ?>
-               <p class="menuitem"><a href="<?php print $url ?>"><? print 
$visName ?></a></p>
+        <a href="<?php print $url ?>"><div class="menuitem"><? print $visName 
?></div></a>
                <?php
        }
 }
@@ -61,8 +61,9 @@
                        <?php makeEntry("links", "Links &amp; Resources"); ?>
                        <?php makeEntry("http://languagetool.wikidot.com/";, 
"Wiki"); ?>
                        
-                       <br/><br/><br/>
-                       <a href="http://twitter.com/languagetoolorg";><img 
border="0" style="margin-right:5px" src="/images/twitter_link16x16.png"/>Follow 
us on twitter</a>
+                       <div style="margin-top:70px;font-size:12px">
+                         <a href="http://twitter.com/languagetoolorg";><img 
border="0" style="margin-left:10px;margin-right:5px" 
src="/images/twitter_link16x16.png"/>Follow us on twitter</a>
+            </div>
                </div>
        </td>
        <td class="content">

Modified: trunk/website/www/css/style.css
===================================================================
--- trunk/website/www/css/style.css     2012-02-04 11:36:09 UTC (rev 6413)
+++ trunk/website/www/css/style.css     2012-02-04 12:18:14 UTC (rev 6414)
@@ -132,59 +132,34 @@
 /* ------------------------------------------------- */
 
 #menu {
+    font-weight: bold;
+    text-decoration: none;
+    font-family: verdana, sans-serif;
+    font-size: 16px;
 }
 
-.activeMenuitem {
-       color: #ffffff !important;
-       text-decoration: none;
-       font-weight: bold;
-       background: #ef8701;
+.menuitem {
+    color: #464646;
+       padding-left: 10px;
+       padding-right: 10px;
+    padding-top: 3px;
+    padding-bottom: 3px;
+    margin-left: 0px;
+    margin-right: 0px;
+       margin-bottom: 10px;
 }
 
-#menu p {
-       border-bottom: 5px solid #464646;
-       color: #ef8701;
-       font-family: verdana, sans-serif;
-       font-size: 12px;
-       padding: 0px;
-       margin: 0px;
-       padding-right: 10px;
-       padding-left: 10px;
+.menuitem:hover {
+    color: #ffffff;
+       background: #ef8701;
 }
 
-#menu a:link {
-       color: #464646;
-       font-family: verdana, sans-serif;
-       font-size: 12px;
-       padding-left: 10px;
-       margin-left: 0px;
-       padding-right: 10px;
-       margin-right: 0px;
-       text-decoration: none;
-       font-weight: bold;
-}
-
-#menu a:visited {
-       color: #464646;
-       font-family: verdana, sans-serif;
-       font-size: 12px;
-       padding-left: 10px;
-       margin-left: 0px;
-       padding-right: 10px;
-       margin-right: 0px;
-       text-decoration: none;
-       font-weight: bold;
-}
-
-#menu a:hover {
+.activeMenuitem {
        color: #ffffff;
-       font-family: verdana, sans-serif;
-       font-size: 12px;
-       text-decoration: none;
-       font-weight: bold;
        background: #ef8701;
 }
 
+
 .warning {
        border-color: #ffb251;
        border-style: solid;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to