vitomanue

Ejemplo CSS

Oct 10th, 2016
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * {
  2.     margin: 0;
  3.     padding: 0;
  4. }
  5.  
  6. body {
  7. background: #39342C url(images/content.png) repeat;
  8. font-family: Arial, Helvetica, sans-serif;
  9. font-size: 13px;
  10. line-height: 20px;
  11. color: #222;
  12. }
  13.  
  14. a {
  15. text-decoration: none;
  16. color: #FFBE62;
  17. font-size: 14px;
  18. }
  19. a:hover {
  20. text-decoration: underline;
  21. color: #EEBFA8;
  22. }
  23.  
  24. p {
  25. background: #39342C url(images/content.png) repeat;
  26. }
  27.  
  28. .content {
  29. margin: 20px 20px 20px 20px;
  30. text-align: justify;
  31. color: #FFFFFA;
  32. }
  33.  
  34.  
  35. #wrap {
  36. margin: 20px auto;
  37. width: 800px;
  38.  
  39. }
  40.  
  41. #header {
  42. height: 100px;
  43. background: #554d42 url(images/header.jpg) no-repeat;
  44. }
  45. #header h1 {
  46. font-size: 28px;
  47. letter-spacing: -1px;
  48. padding: 29px 0 0 20px;
  49. color: #FFBE62;
  50. }
  51. #header h1 a {
  52. color: #fff;
  53. text-decoration: none;
  54. font-weight: 100;
  55. letter-spacing: -2px;
  56. }
  57. #header h1 a:hover {
  58. color: #fff;
  59. }
  60. #header h2 {
  61. font-size: 19px;
  62. color: #fff;
  63. padding: 5px 0 0 20px;
  64. letter-spacing: -1px;
  65. font-weight: 100;
  66. }
  67.  
  68. #menu {
  69. height: 20px;
  70. line-height: 20px;
  71. background:  #FFEFB2 url(images/menu.jpg) no-repeat;
  72. }
  73. #menu ul {
  74. list-style-type: none;
  75. padding-left: 30px;
  76. }
  77. #menu ul li {
  78. display: inline;
  79. float: left;
  80. }
  81. #menu ul li a {
  82. color: #39342C;
  83. padding: 0 20px 0 0;
  84. text-decoration: none;
  85. font-weight: 600;
  86. font-size: 14px;
  87. }
  88.  
  89. #menu ul li a:hover {
  90. color: #000;
  91. text-decoration: none;
  92. }
  93.  
  94. #content {
  95. background: #39342C url(images/content.jpg) repeat-y;
  96. padding: 1em 2em 3em 4em;
  97. }
  98.  
  99. form { 
  100.  
  101. font-size: 1.2em;
  102. padding-left: 2em;
  103.  }
  104.  
  105. .alt-form a {
  106. float: left;
  107. outline: none;
  108. background: #222222;
  109. font-size: 50px;
  110. font-weight: bolder;
  111. font-family: 'Lobster', cursive;
  112. text-align: center;
  113. text-transform: uppercase;
  114. text-shadow: 2px 2px 4px #2d2f2d;
  115.  
  116. }  
  117.  
  118. .alt-form a:hover {
  119. padding-left: 10px;
  120. }  
  121.  
  122. label {
  123. display: block;
  124. padding: .2em 0 0 0;
  125. margin: .2em 0 0 0;
  126. }
  127. textarea {
  128. resize: none;
  129. }  
  130. .btn {
  131. display: block;
  132. margin: .2em 0 0 0;
  133.  
  134. }
  135.  
  136.  
  137. /* fondo */
  138.  
  139.  
  140. #listado {
  141. font-family: Verdana;
  142. font-size: 1.2em;
  143. font-weight: bold;
  144. margin-left: 30px;
  145. }
  146.  
  147.  
  148. h2 {
  149. color: #ccc;
  150. font-size: 18px;
  151. padding: 0 0 10px 9px;
  152. font-weight: 100;
  153. }
  154.  
  155. h3 {
  156. color: #ccc;
  157. font-size: 16px;
  158. font-weight: 100;
  159. padding: 0 0 2px 11px;
  160. letter-spacing: 1px;
  161. text-align: center;
  162. }
  163.  
  164.  
  165. .right {
  166. float: right;
  167. width: 580px;
  168. text-align: justify;
  169. padding-top: 5px;
  170. }
  171. .right h2 {
  172. font-size: 18px;
  173. font-weight: 100;
  174. padding: 15px 0 7px 0;
  175. }
  176.  
  177. .left {
  178. float: left;
  179. width: 160px;
  180. padding-top: 10px;
  181. }
  182. .left h2 {
  183. margin: 10px 0 0 0;
  184. padding-left: 10px;
  185. height: 24px;
  186. line-height: 24px;
  187. background: #413326;
  188. color: #fff;
  189. font-size: 13px;
  190. }
  191.  
  192.  
  193. .center {
  194. float: center;
  195. }
  196.  
  197.  
  198. #bottom {
  199. background: #fff url(images/bottom.jpg) no-repeat;
  200. padding: 10px 0;
  201. }
  202.  
  203. #footer {
  204. text-align: center;
  205. font-size: 11px;
  206. color: #fff;
  207. }
  208. #footer a {
  209. color: #fff; }
RAW Paste Data