Changeset 1120 for www


Ignore:
Timestamp:
Sep 28, 2006, 2:53:55 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Big improvements to the web page.
Location:
www
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • www/.htaccess

    r934 r1120  
    2424
    2525# Redirects for disallowed stuff
    26 RewriteRule ^.svn/.* /.svn/ [R=permanent,L]
    27 RewriteRule (.*)/.svn/.* /$1/.svn/ [R=permanent,L]
     26RewriteRule ^.svn/.* /.svn/ [L]
     27RewriteRule (.*)/.svn/.* /$1/.svn/ [L]
    2828
     29# Redirects for manual
     30RewriteRule ^manual/ /manual.html?page=index [L]
     31RewriteRule ^manual/(.*)[.]html /manual.html?page=$1 [L]
     32
  • www/index.html

    r1119 r1120  
    1919<body>
    2020
    21 <div class="main">
     21<?php include($_SERVER["DOCUMENT_ROOT"]."header.inc"); ?>
    2222
    2323<img src="logo-caca.png" width="128" height="128"
    2424     alt="libcaca logo" style="margin: 20px; float: right;" />
    2525
    26 <h1> libcaca - Colour AsCii Art library </h1>
    27 
    28 <p style="text-align: right;"> <i>it’s da shit!</i> </p>
     26<h2> Introduction </h2>
    2927
    3028<p> The libcaca library is a graphics library that outputs text instead of
     
    402400</p></blockquote>
    403401
    404 <p><small><code><?php echo '$Id$ Host: ' . $_SERVER['REMOTE_ADDR'];?></code></small></p>
    405 
    406 </div>
     402<?php include($_SERVER["DOCUMENT_ROOT"]."footer.inc"); ?>
    407403
    408404</body>
  • www/main.css

    r1119 r1120  
    2222}
    2323
    24 div.main {
     24div.main, div.logo {
    2525  width: 720px;
    2626  display: table;
     
    3131  border-color: #449933;
    3232  margin: 0 auto 0 auto;
     33  text-align: justify;
     34}
     35
     36div.links {
     37  text-align: center;
     38  background-color: #bbdd99;
     39  border-style: solid;
     40  border-width: 1px 0 1px 0;
     41  border-color: #449933;
     42  padding: 0px;
    3343}
    3444
     
    5161p {
    5262  text-indent: 1em;
    53   text-align: justify;
     63  text-align: inherit;
    5464}
    5565
    56 a:link    { color: #225599; background-color: inherit; }
    57 a:visited { color: #002266; background-color: inherit; }
    58 a:active  { color: #88ff77; background-color: inherit; }
     66a.menu {
     67  background-color: white;
     68  text-decoration: none;
     69  border: solid #449922 1px;
     70  padding: 4px 15px 4px 15px;
     71  margin: 0 10px 0 10px;
     72}
    5973
     74a.menu:hover {
     75  background-color: #ddeebb;
     76}
     77
     78a:link    { color: #225599; }
     79a:visited { color: #002266; }
     80a:active  { color: #88ff77; }
     81
Note: See TracChangeset for help on using the changeset viewer.