products.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. ul.product-list {
  2. list-style: none;
  3. text-align: center;
  4. }
  5. ul.product-list li {
  6. display: inline-block;
  7. width: 30%;
  8. vertical-align: top;
  9. padding: 10px;
  10. }
  11. li.product-details {
  12. width: 30%;
  13. float: left;
  14. }
  15. a.product-link {
  16. opacity: 0.75;
  17. text-decoration: none;
  18. color: #000;
  19. transition: ease-in 0.2s;
  20. }
  21. a.product-link:hover {
  22. opacity: 1;
  23. }
  24. .product-name {
  25. text-transform: uppercase;
  26. letter-spacing: 1px;
  27. font-size: 12px;
  28. margin-bottom: 5px;
  29. }
  30. .product-container {
  31. width: 80%;
  32. margin: 0 auto;
  33. }
  34. .product-description {
  35. font-size: 12px;
  36. opacity: 0.5
  37. }
  38. @media screen and (max-width: 47.2em) {
  39. li.product-details {
  40. width: 100%;
  41. float: left;
  42. }
  43. }
  44. .category-item a {
  45. margin: 15px 15px;
  46. font-size: 14px;
  47. letter-spacing: 1px;
  48. padding: 0px;
  49. }
  50. .product-short-desc img {
  51. width: 150px;
  52. height: 150px;
  53. display: block;
  54. margin: 0px auto;
  55. background-color: #ccc;
  56. }
  57. .product-short-desc p {
  58. font-size: 13px;
  59. text-align: justify;
  60. margin-bottom: 0px;
  61. color: #4a4a4a;
  62. padding: 0 40px;
  63. }
  64. .product-short-desc a {
  65. text-transform: uppercase;
  66. font-weight: 600;
  67. color: #888;
  68. opacity: 0.8;
  69. transition: ease-in 0.2s;
  70. text-decoration: none;
  71. padding: 0 40px;
  72. }
  73. .product-short-desc a:hover {
  74. opacity: 1;
  75. }