Guest User

CSS

a guest
Sep 2nd, 2014
252
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     Author: Federico Ibba
  3.     Date: 19/08/2014
  4. */
  5.  
  6. /* http://meyerweb.com/eric/tools/css/reset/ 2. v2.0 | 20110126
  7.   License: none (public domain)
  8. */
  9.  
  10. html, body, div, span, applet, object, iframe,
  11. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  12. a, abbr, acronym, address, big, cite, code,
  13. del, dfn, em, img, ins, kbd, q, s, samp,
  14. small, strike, strong, sub, sup, tt, var,
  15. b, u, i, center,
  16. dl, dt, dd, ol, ul, li,
  17. fieldset, form, label, legend,
  18. table, caption, tbody, tfoot, thead, tr, th, td,
  19. article, aside, canvas, details, embed,
  20. figure, figcaption, footer, header, hgroup,
  21. menu, nav, output, ruby, section, summary,
  22. time, mark, audio, video {
  23.   margin: 0;
  24.   padding: 0;
  25.   border: 0;
  26.   font-size: 100%;
  27.   font: inherit;
  28.   vertical-align: baseline;
  29. }
  30. /* HTML5 display-role reset for older browsers */
  31. article, aside, details, figcaption, figure,
  32. footer, header, hgroup, menu, nav, section {
  33.   display: block;
  34. }
  35. body {
  36.   line-height: 1;
  37. }
  38. ol, ul {
  39.   list-style: none;
  40. }
  41. blockquote, q {
  42.   quotes: none;
  43. }
  44. blockquote:before, blockquote:after,
  45. q:before, q:after {
  46.   content: '';
  47.   content: none;
  48. }
  49. table {
  50.   border-collapse: collapse;
  51.   border-spacing: 0;
  52. }
  53.  
  54. /* GRID */
  55.  
  56. *,
  57. *:before,
  58. *:after {
  59.     -webkit-box-sizing: border-box;
  60.        -moz-box-sizing: border-box;
  61.             box-sizing: border-box;
  62. }
  63.  
  64. /* CLEARFIX */
  65.  
  66. .group:before,
  67. .group:after {
  68.   content: "";
  69.   display: table;
  70. }
  71. .group:after {
  72.   clear: both;
  73. }
  74. .group {
  75.   clear: both;
  76.   /* *zoom: 1;*/
  77. }
  78.  
  79. /* BOX MODEL */
  80.  
  81. .container {
  82.   margin: 0 auto;
  83.   padding-left: 30px;
  84.   padding-right: 30px;
  85.   width: 960px;
  86. }
  87.  
  88. /* LOGO */
  89.  
  90. .logo {
  91.     padding: 15px 0 15px 0;
  92.     text-transform: uppercase;
  93.     text-align: left;
  94.     font-size: 40px;
  95.     font-weight: 100;
  96.     letter-spacing: .5px;
  97.     color: white;
  98.     line-height: 44px;
  99. }
  100.  
  101. .logo a{
  102.      color: #fff;
  103.      text-decoration: none;
  104. }
  105.  
  106. .logo a:hover{
  107.      font-size: 45px
  108. }
  109.  
  110. /* TOPOGRAPHY */
  111.  
  112.  
  113. body {
  114.     background: #008080;
  115.     font: 300 16px/22px "Raleway", "Georgia", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  116. }
  117.  
  118. h1, h2, h3, h4 {
  119.     color: black;
  120. }
  121.  
  122. h1, h3, h4, h5, p{
  123.     margin-bottom: 22px;
  124.     margin-left: 22px;
  125. }
  126.  
  127. h1 {
  128.     font-size: 36px;
  129.     line-height: 44px;
  130. }
  131.  
  132. h2{
  133.     font-size: 24px;
  134.     line-height: 44px;
  135. }
  136.  
  137. h3{
  138.     font-size: 21px;
  139. }
  140.  
  141. h4{
  142.     font-size: 18px;
  143. }
  144.  
  145. h5{
  146.     font-size: 14px;
  147.     font-weight: 400;
  148. }
  149.  
  150. strong {
  151.     font-weight: 400;
  152. }
  153.  
  154. cite, em {
  155.     font-style: italic;
  156. }
  157.  
  158. /* HEADER */
  159.  
  160. .primary-header {
  161.     background: #DF3013;
  162.     width: 100%;
  163.     height: 128px;
  164.     padding-left: 15px;
  165. }
  166.  
  167. .primary-header ul {
  168.     margin: 0;
  169.     padding: 0;
  170. }
  171.  
  172. .primary-header li {
  173.     display: inline-block;
  174. }
  175.  
  176. .header-nav a{
  177.     color: #fff;
  178.     padding: 12px 20px;
  179.     text-decoration: none;
  180. }
  181.  
  182. .header-nav a:hover{
  183.     background: #008080;
  184.     box-shadow: inset 0 0 10px 1px rgba(0, 0, 0, .3);
  185. }
  186.  
  187. .header-nav {
  188.     text-align: right;
  189. }
  190.  
  191.  
  192. /** PAGE **/
  193.  
  194. /* ASIDE*/
  195.  
  196. .aside-nav{
  197.     float: left;
  198.     width: 25%;
  199.     padding-left: 15px;
  200.     text-transform: uppercase;
  201.     font-weight: 100;
  202. }
  203.  
  204. .aside-nav ul {
  205.     margin: 0 22px;
  206.     font-size: 25px;
  207.     color: #fff;
  208. }
  209.  
  210. li {
  211.     line-height: 50px;
  212. }
  213.  
  214. .aside-nav a{
  215.      color: #fff;
  216.      text-decoration: none;
  217. }
  218.  
  219. .aside-nav a:hover{
  220.      font-size: 30px;
  221. }
  222.  
  223.  
  224. /* SECTION */
  225.  
  226. .primary-section{
  227.     float: right;
  228.     /*background: #FEF2BE;*/
  229.     background: #fff;
  230.     display: inline-block;
  231.     margin: 0 auto;
  232.     padding: 30px 22px 30px 22px;
  233.     width: 75%;
  234. }
  235.  
  236. .img-art {
  237.     width: 250px;
  238.     height: 250px;
  239. }
  240.  
  241. .photo-article {
  242.     padding: 0 15px 15px 100px;
  243.     float: left;
  244.     display: inline-block;
  245. }
  246.  
  247. .description-article {
  248.     float: left;
  249.     display: inline-block;
  250. }
  251.  
  252. .description-article h2 {
  253.     padding: 50px 0 0 30px;
  254. }
  255.  
  256. .row {
  257.     padding: 22px 0 22px 0;
  258.     text-align: center;
  259. }
  260.  
  261. .text-art {
  262.     display: inline-block;
  263. }
  264.  
  265. /* DIV ARTICLE LIST */
  266.  
  267. .box-article{
  268.     width: 100%;
  269.     height: 120px;
  270.     border: 2px solid #DF3013;
  271.     padding: 10px 10px 10px 20px;
  272.     margin: 5px 5px 5px 5px;
  273.     display: inline-block;
  274.     float: left;
  275. }
  276.  
  277. .box-image-article{
  278.     display: inline-block;
  279.     float: left;
  280. }
  281.  
  282. .image-article{
  283.     height: 100px;
  284.     width: 100px;
  285.     padding: 5px 5px 5px 0;
  286. }
  287.  
  288. .name-article{
  289.     padding: 15px 15px 5px 20px;
  290.     width: 35%;
  291.     display: inline-block;
  292.     /*float: left;*/
  293.     vertical-align: top;
  294. }
  295.  
  296. .name-article h3{
  297.     text-transform: uppercase;
  298.     text-align: left;
  299. }
  300.  
  301. .box-price-article{
  302.     display: inline-block;
  303.     float: right;
  304.     width: 120px;
  305.     height: 120px;
  306.     padding: 20px 40px 10px 10px;
  307. }
  308.  
  309. .cart-image{
  310.     width: 50px;
  311.     height: 50px;
  312. }
  313.  
  314. .price-article{
  315.     display: inline-block;
  316.     margin-left: 0;
  317.     margin-bottom: 0;
  318. }
  319.  
  320. /* FOOTER */
  321.  
  322. .primary-footer {
  323.     clear: both;
  324.     background: #DF3013;
  325.     width: 100%;
  326.     padding: 20px 0 20px 0;
  327.     z-index: 9;
  328. }
  329.  
  330. .footer-nav {
  331.     text-align: center;
  332.     text-transform: uppercase;
  333. }
  334.  
  335. .copyright {
  336.     text-align: center;
  337.     margin: 0;
  338. }
  339.  
  340. /* REGISTER */
  341.  
  342. .register-group {
  343.     display: block;
  344. }
  345.  
  346. .register-group label{
  347.     font-weight: 400;
  348.     padding-left: 10px;
  349. }
  350.  
  351. .register-group input,
  352. .register-group select {
  353.     border: 1px solid #c6c9cc;
  354.     border-radius: 5px;
  355.     color: #888;
  356.     margin: 5px 10px 27px 5px;
  357.     padding: 5px 8px;
  358.     font-weight: 300;
  359. }
  360.  
  361. .reg-btn {
  362.     border: 1px solid #008080;
  363.     margin-left: 10px;
  364.     border-radius: 5px;
  365.     font-size: 18px;
  366.     background: #008080;
  367.     color: #fff;
  368.     text-transform: uppercase;
  369.     padding: 11px 11px;
  370. }
  371.  
  372. .reg-btn:hover {
  373.     background: #DF3013;
  374.     border: 1px solid #DF3013;
  375. }
RAW Paste Data