Commit:    7c6ab80ff11ed269f4aad0c4f6aebfe1d11360ac
Author:    Sobak <msobaczew...@gmail.com>         Thu, 13 Mar 2014 06:10:47 
+0100
Parents:   338cd0814fb6a37e0eee9044d9f5257ceba0921f
Branches:  master

Link:       
http://git.php.net/?p=web/news.git;a=commitdiff;h=7c6ab80ff11ed269f4aad0c4f6aebfe1d11360ac

Log:
CSS optimization

Changed paths:
  M  index.php
  M  style.css


Diff:
diff --git a/index.php b/index.php
index d40d833..fc0ea5b 100644
--- a/index.php
+++ b/index.php
@@ -19,7 +19,7 @@ head();
    <tr>
      <td>
       <table class="grouplist">
-       <tr class="grouplisthead">
+       <tr class="alisthead">
         <td>name</td>
         <td>messages</td>
         <td>rss</td>
diff --git a/style.css b/style.css
index aac9aba..9fc2988 100644
--- a/style.css
+++ b/style.css
@@ -4,110 +4,91 @@ body, li, th, td {
 }
 
 body { 
-       margin: 0px; 
-       background: #ffffff;
-       color: #000000; 
+       margin: 0; 
+       background: #FFF;
+       color: #000;
 }
 
 td,th { 
-       color: #000000;
+       color: #000;
 }
 
-
 img { 
-       border : 0px;
+       border: 0;
 }
 
 a:link    { 
-       color: #000099;
-}
-
-a:hover   { 
-       color: #ff0000;
+       color: #009;
 }
 
-a:active  { 
-       color: #ff0000;
+a:hover, a:active   {
+       color: red;
 }
 
-a:visited { 
+a:visited {
        color: purple;
 }
 
 .quote { 
-       color: green; 
+       color: green;
 }
 
-.signature { 
-       font-size: smaller; 
-       color: gray; 
+.signature {
+       font-size: smaller;
+       color: gray;
 }
 
-.signature a:link    { 
-       color: #9999ff; 
+.signature a:link    {
+       color: #99F;
 }
 
-.signature a:hover   { 
-       color: #ff9999; 
+.signature a:hover, .signature a:active   {
+       color: #F99; 
 }
 
-.signature a:active  { 
-       color: #ff9999; 
+.signature a:visited {
+       color: #F6F;
 }
 
-.signature a:visited { 
-       color: #ff66ff; 
-}
-
-.grouplisthead { 
-       background: #cccccc; 
-       font-weight: bold; 
-       text-align: center; 
+.alisthead {
+       background: #CCC;
+       font-weight: bold;
+       text-align: center;
 }
 
-.even { 
-       background: #eeeeee; 
+.even {
+       background: #EEE;
 }
 
-.odd  { 
-       background: #dddddd; 
+.odd  {
+       background: #DDD;
 }
 
-.grouplistmsgs { 
-       text-align: right; 
+.grouplistmsgs {
+       text-align: right;
 }
 
-.alisthead { 
-       background: #cccccc;
+.headerlabel {
+       background: #CCC;
        font-weight: bold;
-       text-align: center;
-}
-
-.activen { 
-       color: gray; 
+       text-align: right;
 }
 
-.headerlabel { 
-       background: #cccccc; 
-       font-weight: bold; 
-       text-align: right; 
+.headervalue {
+       background: #EEE;
 }
 
-.headervalue { 
-       background: #eeeeee; 
-}
-
-a.top { 
-       text-decoration: none; 
+a.top {
+       text-decoration: none;
 }
 
 tr.header {
-    background: #9999cc;
+    background: #99C;
 }
 
 tr.subheader {
-    background: #666699;
-    height : 2px;
+    background: #669;
+    height: 2px;
 }
 
 .small {
@@ -117,4 +98,4 @@ tr.subheader {
 
 .nav {
        width: 20%;
-}
+}
\ No newline at end of file


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to