Changeset 551 for trunk/styles/style.css


Ignore:
Timestamp:
Mar 29, 2009, 2:10:27 PM (16 years ago)
Author:
george
Message:
  • Upraveno: Konfigurační soubor je nyní přehledněji config.php namísto db.php. Nutno si jej vytvořit zkopírováním ukázky config.sample.php a doplněním patřičných údajů.
  • Přidáno: RSS kanál všech článků.
  • Upraveno: Změna verze souboru z HTML 4 na XHTML 1.0. Nutno používat jen povolené tagy a provádět validaci.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/style.css

    r547 r551  
    1 /* CSS Document */
    2 body {
    3 height: 100%;
    4 background-image: url(../imgs/web/bg.jpg);
    5 background-repeat: repeat-x;
    6 background-color: black;
    7 margin-top: -10px;
    8         }
    9 #page      {
    10             width: 982px;
    11             min-height:100%;
    12             height:auto !important;
    13             height:100%;
    14             background-image: url(../imgs/web/middle.jpg);
    15             position: absolute;
    16             top: 0px;
    17             right: 50%;
    18             margin-right: -491px;
    19             margin-bottom: 0px;
    20             }
    21 #top       {
    22             top: 174px;
    23             height: 90px;
    24             background-image: url(../imgs/web/top_menu.jpg);
    25             }
    26 #footer     {
    27             position: absolute;
    28             top: 100%;
    29             width: 982px;
    30             height: 100px;
    31             margin-top: -100px;
    32             background-image: url(../imgs/web/bottom.jpg);
    33             z-index: 1;
    34             }
    35 #copyright    {
    36             margin-left: 140px;
    37                         font-size:12px;
    38             }
    39 #menu       {
    40             top: 200px;
    41             width: 150px;
    42             margin-left: 110px;
    43             margin-top: -50px;
    44             height: auto;
    45             text-align: justify;
    46             padding-bottom: 100px;
    47             z-index: 5;
    48             float: left;
    49             }
    50 #content    {
    51             top: 200px;
    52             width: 540px;
    53             margin-left: 60px;
    54             margin-top: -50px;
    55             height: auto;
    56             text-align: justify;
    57             padding-bottom: 100px;
    58             z-index: 5;
    59             float: left;
    60             } 
    61 #mainmenu a {
    62           display: block;
    63           width: 150px;
    64           height: 33px;
    65           line-height: 33px;
    66           margin-top: -21px;
    67           overflow: hidden;
    68           color: white;
    69           font-weight: bold;
    70           font-family: Verdana;
    71           font-size: 12px;
    72           background-image: URL('../imgs/web/deselected.jpg');
    73           text-decoration: none;
    74           text-align: center;
    75           margin-bottom: 1px;
    76           }
     1body
     2{
     3  height: 100%;
     4  background-image: url(../imgs/web/bg.jpg);
     5  background-repeat: repeat-x;
     6  background-color: black;
     7  margin-top: -10px;
     8}
     9
     10#page
     11{
     12  width: 982px;
     13  min-height:100%;
     14  height:auto !important;
     15  height:100%;
     16  background-image: url(../imgs/web/middle.jpg);
     17  position: absolute;
     18  top: 0px;
     19  right: 50%;
     20  margin-right: -491px;
     21  margin-bottom: 0px;
     22}
     23
     24#top
     25{
     26  top: 174px;
     27  height: 90px;
     28  background-image: url(../imgs/web/top_menu.jpg);
     29}
     30
     31#footer
     32{
     33  position: absolute;
     34  top: 100%;
     35  width: 982px;
     36  height: 100px;
     37  margin-top: -100px;
     38  background-image: url(../imgs/web/bottom.jpg);
     39  z-index: 1;
     40}
     41
     42#copyright
     43{
     44  margin-left: 140px;
     45        font-size:12px;
     46}
     47
     48#menu
     49{
     50  top: 200px;
     51  width: 150px;
     52  margin-left: 110px;
     53  margin-top: -50px;
     54  height: auto;
     55  text-align: justify;
     56  padding-bottom: 100px;
     57  z-index: 5;
     58  float: left;
     59}
     60
     61#content
     62{
     63  top: 200px;
     64  width: 540px;
     65  margin-left: 60px;
     66  margin-top: -50px;
     67  height: auto;
     68  text-align: justify;
     69  padding-bottom: 100px;
     70  z-index: 5;
     71  float: left;
     72
     73
     74#mainmenu a
     75{
     76  display: block;
     77  width: 150px;
     78  height: 33px;
     79  line-height: 33px;
     80  margin-top: -21px;
     81  overflow: hidden;
     82  color: white;
     83  font-weight: bold;
     84  font-family: Verdana;
     85  font-size: 12px;
     86  background-image: URL('../imgs/web/deselected.jpg');
     87  text-decoration: none;
     88  text-align: center;
     89  margin-bottom: 1px;
     90}
     91
    7792#mainmenu a:hover
    78           {
    79           color: yellow;
    80           background-image: URL('../imgs/web/selected.jpg');
    81           }
    82 input     {
    83           color: black;
    84           border: 1px solid black;
    85           background-color: transparent;
    86           }
    87 textarea  {
    88           color: black;
    89           background-color: transparent;
    90           border: 1px solid black
    91           }
    92 select  {
    93           color: black;
    94           background-color: #daaf6b;
    95           border: 1px solid black
    96           }
    97 table     {
    98           border-collapse: collapse ;
    99           border-color: rgb(48,48,48);
    100           }
     93{
     94 color: yellow;
     95 background-image: URL('../imgs/web/selected.jpg');
     96}
    10197
     98input
     99{
     100  color: black;
     101        border: 1px solid black;
     102        background-color: transparent;
     103}
     104
     105textarea
     106{
     107  color: black;
     108  background-color: transparent;
     109  border: 1px solid black
     110}
     111
     112select
     113{
     114  color: black;
     115  background-color: #daaf6b;
     116  border: 1px solid black
     117}
     118
     119table
     120{
     121  border-collapse: collapse ;
     122  border-color: rgb(48,48,48);
     123}
     124
     125#header
     126{
     127  height: 174px;
     128  background-image: url(imgs/web/headers/header'.rand(0, $num_headers - 1).'.jpg);
     129}
     130
     131a
     132{
     133  font-family: Times New Roman;
     134  color: #4c4c4c;
     135  text-decoration: none;
     136}
     137
     138a:hover
     139{
     140  font-family: Times New Roman;
     141  color: black;
     142  text-decoration: underline;
     143}
     144
     145.NewsCategoryTable
     146{
     147  border-width: 1px;
     148  border-style: solid;
     149  width: 500px;
     150  margin-left:auto;
     151  margin-right:auto;
     152  text-align:center;
     153}
     154
     155.NewsCategoryTable td
     156{
     157  text-align: center;
     158  border-width: 1px;
     159  border-style: solid;
     160}
     161
     162.NewsQuickInfoTable
     163{
     164  border-width: 1px;
     165  border-style: solid;
     166  width: 500px;
     167  margin-left:auto;
     168  margin-right:auto;
     169  text-align:center;
     170}
     171
     172.NewsQuickInfoTable td
     173{
     174  text-align: left;
     175  border-width: 1px;
     176  border-style: solid;
     177}
     178
     179.Banners
     180{
     181  text-align: center;
     182}
     183
     184.Banners img
     185{
     186  border-width: 0px;
     187}
Note: See TracChangeset for help on using the changeset viewer.