Changeset 7

Show
Ignore:
Timestamp:
21/08/06 16:28:14 (7 years ago)
Author:
dez
Message:

Set media type to screen on css
Fixes to column boxes

Files:
5 modified

Legend:

Unmodified
Added
Removed
  • components/head.php

    r2 r7  
    2222        <script type="text/javascript" src="js/cb.js"></script> 
    2323 
    24         <link rel="stylesheet" type="text/css" href="css/sucs.css" /> 
    25         <link rel="stylesheet" type="text/css" href="css/box.css" /> 
     24        <link rel="stylesheet" type="text/css" href="css/sucs.css" media="screen" /> 
     25        <link rel="stylesheet" type="text/css" href="css/box.css" media="screen" /> 
    2626 
    2727        <meta name="author" content="Denis Walker" /> 
  • components/search.php

    r4 r7  
    22                <h3>Search SUCS</h3> 
    33                <form method="get" action="http://www.google.com/custom"> 
    4                 <div> 
    5                 <input type="text" name="q" size="16" maxlength="255" value="" /> 
     4                <div class="search"> 
     5                <input type="text" class="text" name="q" maxlength="255" value="" /><br /> 
    66                <input type="submit" name="sa" value="Search" /> 
    77                <input type="hidden" name="cof" value="S:http://sucs.org;AH:center;LH:114;L:http://sucs.org/images/title.png;LW:375;AWFID:624aceb6f2753532;" /> 
  • css/box.css

    r4 r7  
    88        background:#fff; 
    99        border:1px solid #666; 
     10        font-size: 80%; 
    1011        } 
    1112.cbb h1 { 
     
    2021.cb { 
    2122        margin:0.5em 0; 
     23        font-size: 80%; 
    2224        } 
    2325.two { 
  • css/ielt7.css

    r6 r7  
    2828} 
    2929 
     30/* -------------------------------------------------- 
     31    Menu 
     32   -------------------------------------------------- */ 
     33 
    3034#navigationC ul li { 
    3135        line-height: 0; 
     
    4347        background-image: url('../images/menu-bottom-right.gif'); 
    4448} 
     49 
     50#navigationC ul ul li a span { 
     51        background-image: url('../images/menu-bottom-right.gif'); 
     52} 
     53 
     54/* -------------------------------------------------- 
     55    Search box 
     56   -------------------------------------------------- */ 
     57 
     58.search input.text { 
     59        width: 95%; 
     60} 
  • css/sucs.css

    r6 r7  
    22        font-family: Arial, sans-serif; 
    33        background: #fff; 
     4        min-width: 600px; 
    45} 
    56 
     
    8788 
    8889 
    89 #navigationC { 
    90         padding-left: 0; 
     90#primary { 
     91        float: left; 
     92        width: 66%; 
     93        text-align: justify; 
     94        padding: 0; 
    9195} 
     96 
     97#primaryC { 
     98} 
     99 
     100#secondary { 
     101        float: right; 
     102        width: 31%; 
     103        padding-top: 0.5em; 
     104        padding-right: 0.5em; 
     105} 
     106 
     107.clear { 
     108        clear: both; 
     109        height: 0; 
     110        margin: 0; 
     111        padding: 0; 
     112} 
     113 
     114#footer { 
     115        background: url('../images/orangefade-bottom.png') top repeat-x #ffc62b; 
     116        margin: 0; 
     117        margin-bottom: 0.5em; 
     118} 
     119 
     120 
     121#footer p { 
     122        margin: 0; 
     123        text-align: center; 
     124        font-size: 80%; 
     125        padding: 0.5em; 
     126} 
     127 
     128/* -------------------------------------------------- 
     129    Menu 
     130   -------------------------------------------------- */ 
    92131 
    93132#navigationC ul { 
     
    96135        list-style-type: none; 
    97136} 
    98  
    99137 
    100138#navigationC ul li a { 
     
    110148} 
    111149 
    112 #navigationC ul ul { 
    113         margin: 0; 
    114         list-style-type: none; 
     150#navigationC ul li a:hover { 
     151        background-color: #d45e08; 
    115152} 
    116153 
     
    120157        padding-left: 1.3em; 
    121158        background: #ffc62b; 
    122         color: #e76808; 
     159        color: #d45e08; 
    123160} 
    124161 
    125 #navigationC ul ul li:last-child a { 
    126         background: #ffc62b url('../images/menu-bottom-right.png') no-repeat bottom right; 
     162#navigationC ul li li a:hover { 
     163        background-color: #ffb505; 
     164} 
     165 
     166#navigationC ul ul li a span { 
     167        background: url('../images/menu-bottom-right.png') no-repeat bottom right; 
    127168} 
    128169 
     
    132173} 
    133174 
     175/* -------------------------------------------------- 
     176    Search box 
     177   -------------------------------------------------- */ 
    134178 
    135 #primary { 
    136         float: left; 
    137         width: 66%; 
    138         text-align: justify; 
    139         padding: 0; 
     179.search input.text { 
     180        width: 100%; 
    140181} 
    141  
    142 #primaryC { 
    143 } 
    144  
    145 #secondary { 
    146 float: right; width: 31%; padding-top: 0.5em; padding-right: 0.5em; 
    147 } 
    148  
    149 .clear { 
    150 clear: both; height: 0; margin: 0; padding: 0; 
    151 } 
    152  
    153 #footer { 
    154         background: url('../images/orangefade-bottom.png') top repeat-x #ffc62b; 
    155         margin: 0; 
    156         margin-bottom: 0.5em; 
    157 } 
    158  
    159  
    160 #footer p { 
    161 margin: 0; text-align: center; font-size: 80%; padding: 0.5em; 
    162 }