html/styl.css
author František Kučera <franta-hg@frantovo.cz>
Mon Apr 05 18:44:10 2010 +0200 (2010-04-05)
changeset 87 27ddd3691997
child 154 bf21a4abea9b
permissions -rw-r--r--
REST: nejjednodušší příklad.
     1 .chybovaHlaska {
     2     background-image: url('grafika/dialog-error.png');
     3     background-repeat: no-repeat;
     4     background-position: 8px 8px;
     5     min-height: 33px;
     6     padding-top: 15px;
     7     padding-left: 50px;
     8     margin-top: 10px;
     9     margin-bottom: 10px;
    10     border: 2px solid orange;
    11     background-color: #ffc65e;
    12 }
    13 
    14 
    15 body {
    16     color: black;
    17     background-color: white;
    18     font-family: sans-serif;
    19     text-align: center;
    20 }
    21 
    22 a {
    23     text-decoration: none;
    24 }
    25 
    26 .body {
    27     width: 1000px;
    28     text-align: left;
    29     margin: 0 auto;
    30 }
    31 
    32 #horniPruh {
    33     width: 1000px;
    34     border: 1px solid silver;
    35     background-color: #e6e6e6;
    36 }
    37 
    38 #horniPruh h1 {
    39     margin-left: 10px;
    40 }
    41 
    42 #nabidka {
    43     width: 980px;
    44     border: 1px solid silver;
    45     margin-top: 4px;
    46     margin-bottom: 4px;
    47     padding-top: 2px;
    48     padding-left: 10px;
    49     padding-right: 10px;
    50     background-image: url('grafika/pozadi-nabidky.png');
    51     height: 23px;
    52     display: block;
    53 }
    54 
    55 #nabidka li {
    56     display: inline;
    57     font-size: 14px;
    58     margin-left: 12px;
    59 }
    60 
    61 #nabidka li a {
    62     color: black;
    63     text-decoration: none;
    64 }
    65 #nabidka li a:hover {
    66     color: orange;
    67 }
    68 
    69 #prihlasenyUzivatel {
    70     color: gray;
    71 }
    72 
    73 #prepinaniJazyku {
    74     position: relative;
    75     left: 910px;
    76     top: -29px;
    77     width: 90px;
    78     margin: 0px;
    79     padding: 0px;
    80 }
    81 
    82 #prepinaniJazyku a {
    83     margin-left: 4px;
    84 }
    85 
    86 #prepinaniJazyku img {
    87     border: none;
    88 }
    89 
    90 #obsah {
    91     width: 980px;
    92     border: 1px solid silver;
    93     margin-top: -28px;
    94     margin-bottom: 4px;
    95     padding-left: 10px;
    96     padding-right: 10px;
    97 }
    98 
    99 #paticka {
   100     width: 1000px;
   101     border: 1px solid silver;
   102     background-color: #e6e6e6;
   103     font-size: smaller;
   104     padding-top: 3px;
   105     padding-bottom: 3px;
   106     text-align: center;
   107 }
   108 
   109 table {
   110     border: 1px solid gray;
   111     border-collapse: collapse;
   112 }
   113 
   114 td {
   115     border: 1px solid gray;
   116     padding: 2px 4px;
   117 }
   118 
   119 thead {
   120     background-color: silver;
   121     font-weight: bold;
   122 }
   123 
   124 .podnik h2 a {
   125     color: black;
   126 }
   127 
   128 .podnik {
   129     border-top: 1px dashed silver;
   130 }
   131 
   132 fieldset {
   133     border: none;
   134 }
   135 
   136 form {
   137     text-align: right;
   138     max-width: 400px;
   139 }
   140 
   141 input	{
   142     width:200px;
   143     margin-left: 2px;
   144 }
   145 
   146 .podnik .adresa {
   147     float: left;
   148     color: #fff;
   149     background-color: #0066B3;
   150     width: 480px;
   151 }
   152 .podnik .hlasovani {
   153     float: left;
   154     color: #fff;
   155     background-color: #E60066;
   156     width: 250px;
   157     height: 200px;
   158 }
   159 
   160 .podnik .fotky {
   161     float: left;
   162     color: #fff;
   163     background-color: #E60099;
   164     width: 250px;
   165     height: 200px;
   166 }
   167 
   168 .podnik {
   169     clear: both;
   170 }