Web page of meissner-wohnen.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

298 lines
4.5 KiB

11 years ago
  1. /* global styles */
  2. body {
  3. font-family: Verdana, Geneva, sans-serif;
  4. background: #e8e8e8;
  5. margin: 0;
  6. padding: 0;
  7. }
  8. a {
  9. text-decoration: none;
  10. }
  11. p {
  12. padding: 0.25em;
  13. }
  14. h1, h2, h3, p {
  15. margin: 0;
  16. clear: both;
  17. }
  18. ul {
  19. list-style-type: none;
  20. }
  21. table th {
  22. text-align: left;
  23. padding-right: 1em;
  24. padding-bottom: 0.5em;
  25. }
  26. span.cursive {
  27. font-family: cursive;
  28. font-size: larger;
  29. }
  30. /* page area styles */
  31. #wrapper {
  32. background: #fff;
  33. width: 960px;
  34. margin: 15px auto;
  35. overflow: hidden;
  36. box-shadow: 0px 0px 6px 2px #bbb;
  37. }
  38. /* header styles */
  39. #header {
  40. position: relative;
  41. margin: 8px 8px 0 8px;
  42. padding: 0;
  43. }
  44. #header h1 {
  45. position: absolute;
  46. left: 10px;
  47. bottom: 10px;
  48. color: #fff;
  49. /*text-shadow: -0.06em -0.06em 0.06em black,
  50. 0.04em 0.04em 0.06em white;*/
  51. text-shadow: .05em .05em .05em #000;
  52. }
  53. #header img {
  54. display: block;
  55. }
  56. /* navigation bar */
  57. #nav {
  58. margin: 8px 8px 0 8px;
  59. overflow: hidden;
  60. }
  61. #nav ul {
  62. margin: 0;
  63. padding: 0;
  64. }
  65. #nav ul li {
  66. float: left;
  67. width: 20%;
  68. }
  69. #nav ul li a {
  70. display: block;
  71. padding: .5em 0.25em;
  72. border-right: 1px solid black;
  73. background-color: darkolivegreen;
  74. color: white;
  75. text-transform: uppercase;
  76. text-shadow: #666 .1em .1em .1em;
  77. font-weight: bold;
  78. text-align: center;
  79. }
  80. #nav ul li a.nav-right {
  81. border-right: none;
  82. }
  83. #nav ul li a:hover {
  84. color: #ddd;
  85. background-color: green;
  86. }
  87. #nav ul li a.active {
  88. background-color: seagreen;
  89. }
  90. /* content styles */
  91. #content {
  92. overflow: hidden;
  93. clear: left;
  94. margin: 8px 8px 0 8px;
  95. padding: 0 15px 15px 15px;
  96. }
  97. #content h2 {
  98. color: darkolivegreen;
  99. padding: .65em 0 .25em 0;
  100. }
  101. #content h3 {
  102. padding: 0.5em 0 0.4em 0;
  103. }
  104. #content p {
  105. padding: 0.25em 0em;
  106. }
  107. #content a {
  108. color: black;
  109. border-bottom: dotted 1px black;
  110. }
  111. #content a:hover {
  112. color: #666;
  113. }
  114. #content #maps {
  115. padding: 10px 0;
  116. }
  117. #content #index-img {
  118. margin 0 auto;
  119. padding-left: 10px;
  120. }
  121. #content #index-img img {
  122. padding: 30px;
  123. vertical-align: middle;
  124. }
  125. #content #index-img img.img-left {
  126. -webkit-transform: rotate(-5deg);
  127. -moz-transform: rotate(-5deg);
  128. -o-transform: rotate(-5deg);
  129. -ms-transform: rotate(-5deg);
  130. transform: rotate(-5deg);
  131. }
  132. #content #index-img img.img-right {
  133. -webkit-transform: rotate(5deg);
  134. -moz-transform: rotate(5deg);
  135. -o-transform: rotate(5deg);
  136. -ms-transform: rotate(5deg);
  137. transform: rotate(5deg);
  138. }
  139. #content #content-left {
  140. float: left;
  141. width: 68%;
  142. }
  143. #content #content-right {
  144. float: right;
  145. width: 30%
  146. }
  147. #content #content-right ul {
  148. padding-left: 1em;
  149. margin: 0.5em 0;
  150. list-style-type: square;
  151. }
  152. #img-gallery {
  153. float: left;
  154. width: 540px;
  155. padding: 0;
  156. margin: 15px 0;
  157. }
  158. #gallery-big {
  159. margin-bottom: 5px;
  160. float: left;
  161. }
  162. #img-gallery img.gallery-small {
  163. background: url(../images/transparent.png) center no-repeat;
  164. width: 125px;
  165. height: 100px;
  166. float: left;
  167. padding: 5px;
  168. margin: 0;
  169. border: 0px solid #D9D9D9;
  170. }
  171. #img-gallery img.gallery-small.gallery-left {
  172. padding-left: 0;
  173. }
  174. #img-gallery a {
  175. margin: 0;
  176. padding: 0;
  177. }
  178. #img-gallery a span {
  179. background: #fff;
  180. display: none;
  181. }
  182. #img-gallery a:hover {
  183. background: #fff;
  184. padding: 0;
  185. margin:0;
  186. }
  187. #img-gallery a:hover span {
  188. margin: 0;
  189. display: block;
  190. position: relative;
  191. top: 0;
  192. left: 0;
  193. height: 398px;
  194. padding: 0;
  195. border: 0 solid #D9D9D9;
  196. z-index: 100;
  197. background: no-repeat;
  198. }
  199. a#wohnung0:hover span {
  200. background-image: url(../images/wohnung1.jpg);
  201. }
  202. a#wohnung1:hover span {
  203. background-image: url(../images/wohnung2.jpg);
  204. }
  205. a#wohnung2:hover span {
  206. background-image: url(../images/wohnung3.jpg);
  207. }
  208. a#wohnung3:hover span {
  209. background-image: url(../images/wohnung4.jpg);
  210. }
  211. a#wohnung4:hover span {
  212. background-image: url(../images/wohnung5.jpg);
  213. }
  214. a#wohnung5:hover span {
  215. background-image: url(../images/wohnung6.jpg);
  216. }
  217. a#wohnung6:hover span {
  218. background-image: url(../images/wohnung7.jpg);
  219. }
  220. a#wohnung7:hover span {
  221. background-image: url(../images/wohnung8.jpg);
  222. }
  223. /* footer styles */
  224. #footer {
  225. clear: both;
  226. margin: 8px;
  227. padding-top: 7px;
  228. border-top: solid 2px #bbb;
  229. overflow: hidden;
  230. font-size: small;
  231. }
  232. #footer-left {
  233. float: left;
  234. }
  235. #footer-right {
  236. float: right;
  237. }
  238. #footer-right a {
  239. padding-left: 1em;
  240. color: black;
  241. }
  242. #footer-right a:hover {
  243. color: #666;
  244. }