grysom

Untitled

May 3rd, 2011
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.09 KB | None | 0 0
  1. /* CSS Document */
  2. /*všeobecne definicie*/
  3.  
  4. *{
  5. margin:0;
  6. padding:0;
  7. }
  8.  
  9. body {
  10. margin-left:auto;
  11. margin-right:auto;
  12. width:800px;
  13. font-size: 80%;
  14. font-family: ARIAL,Times New Roman;
  15. background:#fff;
  16. }
  17.  
  18. a {
  19. color:#000;
  20. font-weight:bold;
  21. }
  22.  
  23. a:hover{
  24. text-decoration: none;
  25. }
  26.  
  27. h1, h2, h3, h4, h5, h5 {
  28. color:#000;
  29. font-family: 'Arial';
  30. font-size:14px;
  31. }
  32.  
  33. /*hlavicka*/
  34.  
  35. h1 a, h1 span{
  36. display:block;
  37. height: 610px;
  38. width:100%;
  39. }
  40.  
  41. h1 a{
  42. background: #fff url('images/hlavicka.png') left top no-repeat;
  43. color: #fff;
  44. position: relative;
  45. line-height: 610px;
  46. text-align:left;
  47. }
  48.  
  49. h1 span{
  50. position: absolute;
  51. top:0;
  52. left:0;
  53. cursor:pointer;
  54. }
  55.  
  56. h1 a span{
  57. background: url('images/hlavicka.png') left top no-repeat;
  58. }
  59.  
  60. h1 a:hover{
  61. color: #000;
  62. }
  63.  
  64. /*border*/
  65. #ramec {
  66. background: #fff url('images/border.gif') left top no-repeat;
  67. width:100%;
  68. height:10px;
  69. margin: 0 0 0px 0;
  70. }
  71.  
  72.  
  73. /*o mne*/
  74. #omne{
  75. display:inline;
  76. width:350px;
  77. height:215px;
  78. background: #fff  url('images/o_mne.gif') left top no-repeat;
  79. margin: 30px 39px 30px 30px;
  80. float: left;
  81. }
  82.  
  83. #omne h2{
  84. margin: 20px 0 0px 40px;
  85. font-size:150%;
  86. clear:right;
  87. }
  88.  
  89. #omne p {
  90. display:block;
  91. margin: 10px 40px 0px 40px;;
  92. color: #000;
  93. position: auto;
  94. max-width:350px;
  95. height:215px;  
  96. font-size: 1.2em;
  97. }
  98.  
  99.  
  100. /* kontakt*/
  101. #kontakt{
  102. background: #fff  url('images/o_mne.gif') left top no-repeat;
  103. display:inline;
  104. width:350px;
  105. height:215px;
  106. margin:30px 30px 30px 0px;
  107. float:left;
  108. }
  109.  
  110. #kontakt  h2{
  111. float:none;
  112. width:130px;
  113. max-height:130px;
  114. margin: 20px 0 -55px 40px;
  115. *margin: 20px 0 -53px 40px;
  116. font-size:150%;
  117. }
  118.  
  119. #kontakt p  {
  120. display:block;
  121. margin: 65px 40px 0px 40px;
  122. color: #000;
  123. position: auto;
  124. max-width:350px;
  125. height:215px;  
  126. font-size: 1.2em;
  127. }
  128.  
  129.  
  130.  
  131. /* referencie*/
  132. #referencie{
  133. padding: 30px 0 0 24px;
  134. width:739px;
  135. height:300px;
  136. background: #fff  url('images/referencie.gif') left top no-repeat;
  137. margin: 0px 0px 0px 30px;
  138. clear:both;
  139. }
  140.  
  141. #referencie h2{
  142. margin: 20px 0 0px 16px;
  143. font-size:150%;
  144. clear:right;
  145. }
  146.  
  147. #referencie ul li {
  148. display: inline;
  149. float:left;
  150. width: 196px;
  151. height: 154px;
  152. margin: 10px 17px 0px 16px;
  153. }
  154.  
  155. #referencie ul li a img{
  156. border: 0px;
  157. padding: 0 0 0 0;
  158. display:block;
  159. width: 196px;
  160. height: 154px;
  161. text-decoration:none;
  162. color:transparent;
  163. cursor:pointer;
  164. list-style-type: none;
  165. }
  166.  
  167. #referencie ul li a p{
  168. visibility:hidden;
  169.  
  170. }                  
  171.  
  172. #referencie ul li a:hover p{
  173. position:absolute;
  174. margin:-154px 0 0 0 ;
  175. display:block;
  176. width: 196px;
  177. height: 154px;
  178. visibility:visible;
  179. background: transparent  url('images/ahover.png') left top no-repeat;
  180. padding: 100px 0px 10px 15px;
  181. }                  
  182.  
  183. #referencie ul li a:hover p #praca{
  184. font-weight: normal;
  185. float:left;
  186. color: #fff;
  187. max-height: 20px;
  188. width:100px;
  189. }
  190.  
  191. #referencie ul li a:hover p #stranka{
  192. margin: 10px 30px 0px 0;
  193. font-weight: normal;
  194. float:right;
  195. color: #fff;
  196. }
  197.  
  198. /*paticka*/
  199. #paticka{
  200. display:block;
  201. background: #fff;
  202. width:100%
  203. clear:both;
  204. height:20px;
  205. background: transparent;
  206. color:#9AA099;
  207. font-size:95%;
  208. line-height:2em;
  209. margin:
  210. }
Advertisement
Add Comment
Please, Sign In to add comment