Changeset 1871

Show
Ignore:
Timestamp:
01/26/07 17:02:15 (2 years ago)
Author:
whmoseley
Message:

Rest of updates for css.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish_website/README

    r1819 r1871  
    3434 
    3535 
     36Requirements 
     37------------ 
     38 
     39    Swish-e must be installed on the system and the program 
     40    swish-config must be in the path -- this is used to find where 
     41    helpers (e.g. perl modules) are installed. 
     42 
     43 
    3644Building the site 
    3745----------------- 
  • trunk/swish_website/lib/config/map

    r1869 r1871  
    198198            view_cvs    = { 
    199199                name        = 'browse repo' 
    200                 xternal    = site.url.repo_view 
     200                external    = site.url.repo_view 
    201201                tooltip     = 'Browse the source code repository' 
    202202            } 
  • trunk/swish_website/lib/page/footer.html

    r1853 r1871  
    1 <!-- ##### Footer ##### --> 
    21<!-- noindex --> 
     2<span class="doNotPrint"> 
     3    Swish-e is distributed with <strong>no warranty</strong> under the terms of the <br /> 
     4    <a href='/license.html'>Swish-e License</a>.<br /> 
     5    Questions may be posted to the  
     6    [% link_to_page('discuss', 'Swish-e Discussion list') %]. 
     7</span> 
    38 
    4 <div id="footer"> 
    5     <span class="doNotPrint"> 
    6         Swish-e is distributed with <strong>no warranty</strong> under the terms of the <br /> 
    7         <a href='/license.html'>Swish-e License</a>.<br /> 
    8         Questions may be posted to the  
    9         [% link_to_page('discuss', 'Swish-e Discussion list') %]. 
    10     </span> 
     9<p> 
     10<script type='text/javascript' src='http://www.ohloh.net/projects/3196;badge_js'></script> 
     11</p> 
    1112 
    12     <p> 
    13     <SCRIPT type='text/javascript' language='JavaScript' 
    14              src='http://www.ohloh.net/projects/3196;badge_js'></SCRIPT> 
    15     </p> 
     13<p> 
     14    <strong>URI &raquo;</strong> http://swish-e.org/  
     15    &bull; <strong>Updated &raquo;</strong> [% Date.format(template.modtime) %] 
    1616 
    17     <p> 
    18         <strong>URI &raquo;</strong> http://swish-e.org/  
    19         &bull; <strong>Updated &raquo;</strong> [% Date.format(template.modtime) %] 
    20  
    21         [%- 
    22             IF template.author; 
    23                 matches = template.author.match('\$Author:\s+(\w+)' ); 
    24                 "by ${matches.0}" IF matches.0; 
    25             END; 
    26         -%] 
    27     </p> 
    28 </div> 
     17    [%- 
     18        IF template.author; 
     19            matches = template.author.match('\$Author:\s+(\w+)' ); 
     20            "by ${matches.0}" IF matches.0; 
     21        END; 
     22    -%] 
     23</p> 
    2924<!-- index --> 
  • trunk/swish_website/lib/page/layout.html

    r1606 r1871  
    44[% PROCESS page/searchform.html %] 
    55 
    6 [% IF page.podfile %] 
    7     <div id="side-bar"> 
    8 [% ELSE %] 
    9     <div id="side-bar" class="floating"> 
    10 [% END %] 
    11     [% INCLUDE menu/ul_nest  menu = site.map %] 
    12 </div> 
     6<div id="body-area" class="clearfix"> 
    137 
    14 <div id="main-copy"> 
    15     [% # INCLUDE menu/prevnext %] 
    16     [% i# INCLUDE menu/trail trail = page.trail %] 
    17     [% this.toc %] 
    18     [% content %] 
    19 </div> 
     8    <div id="content-area"> 
    209 
    21 [% PROCESS page/footer.html %] 
     10        <div id="main-copy"> 
     11            [% # INCLUDE menu/prevnext %] 
     12            [% # INCLUDE menu/trail trail = page.trail %] 
     13            [% this.toc %] 
     14            [% content %] 
     15        </div><!-- /#main-copy  --> 
    2216 
     17    </div><!-- /#content-area --> 
     18 
     19 
     20    <div id="side-bar"[% ' class="floating"' UNLESS page.podfile %]> 
     21        [% INCLUDE menu/ul_nest  menu = site.map %] 
     22    </div><!-- /#side-bar --> 
     23 
     24 
     25</div><!-- /#body-area --> 
     26 
     27 
     28 
     29<div id="footer"> 
     30    [% PROCESS page/footer.html %] 
     31</div><!-- /#footer --> 
     32 
  • trunk/swish_website/src/swish.css

    r1869 r1871  
    2323 
    2424 
    25 /* ##### Common Styles ##### */ 
     25.clearfix:after { 
     26    content: "."; 
     27    display: block; 
     28    height: 0; 
     29    font-size: 0; 
     30    clear: both; 
     31    visibility: hidden; 
     32
     33 
     34.clearfix {display: inline-block;} 
     35 
     36 
    2637 
    2738body { 
     
    3142  padding: 0; 
    3243} 
     44 
     45 
     46/* Hides from IE5/Mac \*/ 
     47* html .clearfix {height: 1px;} 
     48.clearfix {display: block;} 
     49/* End hide from IE5/Mac */ 
     50 
     51 
     52 
     53/* ----- layout -------- */ 
     54 
     55/* wraps side-bar and content-area */ 
     56#body-area { 
     57    width: 100%; 
     58    margin: 0; 
     59    padding: 0; 
     60    margin-top: 1em; 
     61} 
     62 
     63/* wraps main-copy */ 
     64#content-area { 
     65    float: right; 
     66    width: 80%; 
     67    margin: 0; 
     68    padding: 0; 
     69} 
     70 
     71 
     72#side-bar { 
     73    float: right; 
     74    width: 19%; 
     75    margin: 0; 
     76    padding: 0; 
     77} 
     78 
     79#main-copy { 
     80    margin-left: 1em; 
     81    margin-right: 1em; 
     82} 
     83 
     84/* ------------------ */ 
     85 
    3386 
    3487 
     
    228281 
    229282 
     283 
    230284/* ##### Side Menu ##### */ 
    231285 
    232 #side-bar { 
    233   color: rgb(204,204,204); 
    234   background-color: transparent; 
    235   list-style-type: square; 
    236   list-style-position: inside; 
    237   width: 12em; 
    238   margin: 0; 
    239   /* padding: 1ex 0; */ 
    240   border: 1px solid rgb(204,204,204); 
    241   position: absolute; 
    242   left: 1.5ex; 
    243   top: 13em; 
    244   /* top: 9em; */ 
     286#side-bar ul { 
     287 
     288    color: rgb(204,204,204); 
     289    background-color: transparent; 
     290    list-style-type: square; 
     291    list-style-position: inside; 
     292    border: 1px solid rgb(204,204,204); 
     293    margin: 0 5px 15px 0; 
     294
     295 
     296#side-bar ul ul { 
     297    border: none; 
    245298} 
    246299 
     
    366419 
    367420 
    368 /* ##### Main Copy ##### */ 
    369  
    370 #main-copy { 
    371   text-align: left; 
    372   margin: -0.5ex 1em 1em 13.5em; 
    373   padding: 0.5em 10px; 
    374   clear: left; 
    375 
     421/* ##### Main Copy content ##### */ 
     422 
    376423 
    377424#main-copy h1 { 
     
    401448 
    402449#main-copy p.quote { 
    403    
    404450  line-height: 1em; 
    405   margin: 1em 0 1.5em 0; 
    406451  padding: 1ex; 
     452  margin: 0; 
     453  padding: 1em 2em; 
    407454  background-color: rgb(239,239,239);; 
    408    
    409455} 
    410456 
     
    439485  text-align: center; 
    440486  line-height: 1.25em; 
    441   margin: 2em 0 0 0; 
    442487  padding: 1ex 10px; 
    443   clear: left
     488  clear: both
    444489} 
    445490