more 'rouje'
authorx2000habouzit <x2000habouzit>
Wed, 20 Oct 2004 20:04:28 +0000 (20:04 +0000)
committerx2000habouzit <x2000habouzit>
Wed, 20 Oct 2004 20:04:28 +0000 (20:04 +0000)
htdocs/css/nl.css
include/newsletter.inc.php

index 87f718a..818de05 100644 (file)
@@ -37,9 +37,9 @@ div.nl div.title {
     border: 1px black solid;
     font-size: 140%;
     text-align: center;
-    color: black;
+    color: #ff4040;
     background: #ffffb0;
-    border: 1px #ff4040 solid;
+    border: 2px #ff4040 solid;
 }
 
 div.nl div.lnk {
@@ -57,8 +57,8 @@ div.nl h1 {
     border-bottom: 1px #ff4040 solid;
 }
 
-div.nl h1 a, div.nl h1 a:hover {
-    color: black;
+div.nl h1 span {
+    color: #ff4040;
     background: #ffffb0;
     text-decoration: none;
     font-size: 140%;
@@ -75,7 +75,7 @@ div.nl h2 {
     font-size: 95%;
 }
 
-div.nl h2 a, div.nl h2 a:hover {
+div.nl h2 span {
     color: blue;
     background: #eeeeee;
     text-decoration: none;
index 9d48e43..d3b7a52 100644 (file)
@@ -18,7 +18,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: newsletter.inc.php,v 1.20 2004-10-20 15:26:26 x2000habouzit Exp $
+        $Id: newsletter.inc.php,v 1.21 2004-10-20 20:04:28 x2000habouzit Exp $
  ***************************************************************************/
 
 
@@ -202,7 +202,7 @@ class NewsLetter {
        }
 
        foreach($this->_arts as $cid=>$arts) {
-           $res .= "<h1><a id='cat$cid'>".$this->_cats[$cid].'</a></h1>';
+           $res .= "<h1><a id='cat$cid'></a><span>".$this->_cats[$cid].'</span></h1>';
            foreach($arts as $art) {
                $res .= $art->toHtml();
            }
@@ -216,8 +216,8 @@ class NewsLetter {
   <head>
     <style type="text/css">
       div.nl    { margin: auto; font-family: "Georgia","times new roman",serif; width: 60ex; text-align: justify; font-size: 10pt; }
-      div.title { margin: 2ex 0ex 2ex 0ex; padding: 1ex; width: 100%; border: 1px black solid;
-                 font-size: 140%; text-align: center; color: black; background: #ffffb0; border: 1px #ff4040 solid; }
+      div.title { margin: 2ex 0ex 2ex 0ex; padding: 1ex; width: 100%; font-size: 140%; text-align: center;
+                 color: #ff4040; background: #ffffb0; border: 2px #ff4040 solid; }
       
       a         { text-decoration: none; }
       a:hover   { text-decoration: underline; }
@@ -227,8 +227,8 @@ class NewsLetter {
       
       h1 { margin: 6ex 0ex 4ex 0ex; padding: 2px 4ex 2px 0ex; width: 60ex; font-size: 100%; border-bottom: 1px #ff4040 solid; }
       h2 { width: 100%; margin: 0ex 1ex 0ex 1ex; padding: 2px 0px 2px 0px; font-weight: bold; font-style: italic; font-size: 95%; }
-      h1 a, h1 a:hover { color: black; background: #ffffb0; text-decoration: none; font-size: 140%; padding: 2px 1ex 2px 1ex; border: 1px #ff4040 solid; }
-      h2 a, h2 a:hover { color: blue; background: #eeeeee; text-decoration: none; padding: 2px 4px 2px 4px; border: 1px #cccccc solid; }
+      h1 span { color: #ff4040; background: #ffffb0; text-decoration: none; font-size: 140%; padding: 2px 1ex 2px 1ex; border: 1px #ff4040 solid; }
+      h2 span { color: blue; background: #eeeeee; text-decoration: none; padding: 2px 4px 2px 4px; border: 1px #cccccc solid; }
       
       div.art   { padding: 2ex; margin: 0ex 1ex 2ex 1ex; width: 58ex; border-top: 1px #cccccc solid; }
       div.app   { padding: 2ex 3ex 0ex 3ex; width: 100%; margin: 0ex; text-align: left; font-size: 95%; }
@@ -293,7 +293,7 @@ class NLArticle {
     }
 
     function toHtml() {
-       $title = "<h2><a id='art{$this->_aid}'>".htmlentities($this->title()).'</a></h2>';
+       $title = "<h2><a id='art{$this->_aid}'></a><span>".htmlentities($this->title()).'</span></h2>';
        $body  = enriched_to_text($this->_body,true);
        $app   = enriched_to_text($this->_append,true);