Fix header css on pages
Fix header css on pages

--- a/css/gitphp.css
+++ b/css/gitphp.css
@@ -21,10 +21,7 @@
 	background-color:#edece6;
 }
 div.title a.title {
-	font-weight:bold; text-decoration:none; color:#000000;
-}
-div.title a.title:hover {
-	color:#880000; text-decoration: underline;
+	display: block; font-weight:bold; text-decoration:none; color:#000000;
 }
 div.title:hover { background-color: #d9d8d1; }
 div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; }

--- a/templates/blame.tpl
+++ b/templates/blame.tpl
@@ -28,7 +28,7 @@
      <br /><br />
    {/if}
  </div>
- <div>
+ <div class="title">
    {if $fullnav}
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hashbase}" class="title">{$title}
      {if $hashbaseref}

--- a/templates/blob.tpl
+++ b/templates/blob.tpl
@@ -28,7 +28,7 @@
      <br /><br />
    {/if}
  </div>
- <div>
+ <div class="title">
    {if $fullnav}
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hashbase}" class="title">{$title}
      {if $hashbaseref}

--- a/templates/commitdiff.tpl
+++ b/templates/commitdiff.tpl
@@ -15,7 +15,7 @@
  <div>
    <br /><br />
  </div>
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}" class="title">{$title}{if $commitref} <span class="tag">{$commitref}</span>{/if}</a>
  </div>
  <div class="page_body">

--- a/templates/heads.tpl
+++ b/templates/heads.tpl
@@ -1,5 +1,5 @@
 {*
- *  heads_nav.tpl
+ *  heads.tpl
  *  gitphp: A PHP git repository browser
  *  Component: Head view template
  *
@@ -13,7 +13,7 @@
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary">summary</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=shortlog">shortlog</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=log">log</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$head}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commitdiff&h={$head}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=tree&hb={$head}">tree</a>
    <br /><br />
  </div>
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary" class="title">&nbsp;</a>
  </div>
  <table cellspacing="0">

--- a/templates/history.tpl
+++ b/templates/history.tpl
@@ -13,7 +13,7 @@
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary">summary</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=shortlog">shortlog</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=log">log</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commitdiff&h={$hash}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=tree&h={$tree}&hb={$hash}">tree</a>
    <br /><br />
  </div>
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}" class="title">{$title}
    {if $hashbaseref}
      <span class="tag">{$hashbaseref}</span>
@@ -37,8 +37,8 @@
    {* Display each history line *}
    {section name=history loop=$historylines}
      <tr class="{cycle values="light,dark"}">
-       <td title="{$historylines[history].agestringage}"><i>{$historylines[history].agestringdate}</i></td>
-       <td><i>{$historylines[history].authorname}</i></td>
+       <td title="{$historylines[history].agestringage}"><em>{$historylines[history].agestringdate}</em></td>
+       <td><em>{$historylines[history].authorname}</em></td>
        <td><a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$historylines[history].commit}" class="list"><b>{$historylines[history].title}{if $historylines[history].commitref} <span class="tag">{$historylines[history].commitref}</span>{/if}</b></a></td>
        <td class="link"><a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$historylines[history].commit}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commitdiff&h={$historylines[history].commit}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=blob&hb={$historylines[history].commit}&f={$historylines[history].file}">blob</a>{if $historylines[history].blob && $historylines[history].blobparent} | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=blobdiff&h={$historylines[history].blob}&hp={$historylines[history].blobparent}&hb={$historylines[history].commit}&f={$historylines[history].file}">diff to current</a>{/if}
        </td>

--- a/templates/log.tpl
+++ b/templates/log.tpl
@@ -32,7 +32,7 @@
    <br />
  </div>
  {if $norevlist}
-   <div>
+   <div class="title">
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary" class="title">&nbsp</a>
    </div>
    <div class="page_body">
@@ -42,7 +42,7 @@
  {/if}
  {* Display each commit *}
  {section name=log loop=$commitlines}
-   <div>
+   <div class="title">
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$commitlines[log].commit}" class="title"><span class="age">{$commitlines[log].agestring}</span>{$commitlines[log].title}
        {if $commitlines[log].commitref}
          <span class="tag">{$commitlines[log].commitref}</span>

--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -31,7 +31,7 @@
   {/if}
   <br />
 </div>
-<div>
+<div class="title">
   <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}" class="title">{$title}</a>
 </div>
 <table cellspacing="0">

--- a/templates/searchfiles.tpl
+++ b/templates/searchfiles.tpl
@@ -31,7 +31,7 @@
   {/if}
   <br />
 </div>
-<div>
+<div class="title">
   <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}" class="title">{$title}</a>
 </div>
 <table cellspacing="0">

--- a/templates/shortlog.tpl
+++ b/templates/shortlog.tpl
@@ -31,7 +31,7 @@
    {/if}
    <br />
  </div>
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary" class="title">&nbsp;</a>
  </div>
  <table cellspacing="0">

--- a/templates/tag.tpl
+++ b/templates/tag.tpl
@@ -14,7 +14,7 @@
    <br /><br />
  </div>
  {* Tag data *}
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hash}" class="title">{$tag->GetName()}</a>
  </div>
  <div class="title_text">

--- a/templates/tags.tpl
+++ b/templates/tags.tpl
@@ -13,7 +13,7 @@
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary">summary</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=shortlog">shortlog</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=log">log</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$head}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commitdiff&h={$head}">commitdiff</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=tree&hb={$head}">tree</a>
    <br /><br />
  </div>
- <div>
+ <div class="title">
    <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary" class="title">&nbsp;</a>
  </div>
  {* Display tags *}

--- a/templates/tree.tpl
+++ b/templates/tree.tpl
@@ -13,7 +13,7 @@
    <div class="page_nav">
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=summary">summary</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=shortlog&h={$hashbase}">shortlog</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=log&h={$hashbase}">log</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hashbase}">commit</a> | <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commitdiff&h={$hashbase}">commitdiff</a> | tree<br /><br />
    </div>
-   <div>
+   <div class="title">
      <a href="{$SCRIPT_NAME}?p={$project->GetProject()}&a=commit&h={$hashbase}" class="title">{$title}
        {if $hashbaseref}
          <span class="tag">{$hashbaseref}</span>

comments