Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. * {
  2.     font-family: sans-serif;
  3. }
  4.  
  5. body {
  6.     margin: 0;
  7.     min-width: 840px;
  8. }
  9.  
  10. .wrapper {
  11.     width: 800px;
  12.     padding: 10px 20px;
  13.     margin: 0px auto;
  14. }
  15.  
  16. /* .sticky {
  17.     position: -webkit-sticky;
  18.     position: sticky;    
  19.     top: 0px;
  20.     background-color: #222222;
  21. } */
  22.  
  23. .inline {
  24.     display: inline-block;
  25. }
  26.  
  27. .center {
  28.     text-align: center;
  29. }
  30.  
  31. /* HEADER */
  32. .header {
  33.     background-color: #222222;
  34.     color: #ffffff;
  35.     /* display: inline; */
  36. }
  37.  
  38. /* LOGO */
  39. .logo a {
  40.     color: #2fdfff;
  41.     font-weight: bold;
  42.     font-size: 28px;
  43.     text-decoration: none;
  44. }
  45.  
  46. /* MENU */
  47. .menu {
  48.     width: 100%;
  49.     vertical-align: 20%;
  50. }
  51.  
  52. .menu ul {
  53.     margin: 0px 20px;
  54.     padding: 0;
  55.     overflow: hidden;
  56. }
  57.  
  58. .menu li {
  59.     display: inline;
  60.     list-style-type: none;
  61.     margin: 0px 10px;
  62.     font-size: 14px;
  63. }
  64.  
  65. .menu li a,
  66. .menu li a.dropdown-button {
  67.     text-decoration: none;
  68.     color: #ffffff;
  69. }
  70.  
  71. .menu li a.current {
  72.     font-weight: bolder;
  73. }
  74.  
  75. .menu li a:hover,
  76. .menu li.dropdown:hover a.dropdown-button {
  77.     border-bottom: 2px solid #ffffff;
  78. }
  79.  
  80. .dropdown-content {
  81.     display: none;
  82.     position: absolute;
  83.     background-color: #f5f5f5;
  84.     min-width: 160px;
  85.     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  86.     z-index: 1;
  87. }
  88.  
  89. #nav-produk .dropdown-content {
  90.     width: 300px;
  91. }
  92.  
  93. #nav-produk .left {
  94.     float: left;
  95.     width: 50%;
  96. }
  97.  
  98. #nav-produk .right {
  99.     float: right;
  100.     width: 50%;
  101. }
  102.  
  103. .dropdown:hover .dropdown-content {
  104.     display: inline-block;
  105. }
  106.  
  107. .dropdown-content .title {
  108.     font-weight: bolder;
  109. }
  110.  
  111. .dropdown-content a.dropdown-list {
  112.     color: #222222;
  113.     text-decoration: none;
  114.     display: block;
  115.     text-align: left;
  116.     transition: 5ms;
  117. }
  118.  
  119. .dropdown-content a.dropdown-list:hover {
  120.     border-bottom: 2px solid #222222;
  121. }
  122.  
  123. /* SEARCHBOX */
  124. .searchbox {
  125.     vertical-align: 26.5%;
  126.     margin-left: 20px;
  127. }
  128.  
  129. .searchbox input{
  130.     border: 1px solid #ffffff;
  131.     padding: 5px;
  132.     background-color: #ffffff;
  133.     margin: 0px;
  134.     outline: none;
  135.     width: 420px;
  136. }
  137.  
  138. .searchbox button {
  139.     background-color: #ffffff;
  140.     color: #222222;
  141.     margin: -5px;
  142.     border-top: 1px solid #ffffff;
  143.     border-left: none;
  144.     border-bottom: 1px solid #ffffff;
  145.     border-right: 1px solid #ffffff;
  146.     padding: 5px 10px;
  147.     cursor: pointer;
  148.     width: 38px;
  149. }
  150.  
  151. /* CUSTOMER */
  152. .customer {
  153.     vertical-align: 20%;
  154. }
  155.  
  156. .customer ul {
  157.     padding: 0;
  158. }
  159.  
  160. .customer li {
  161.     display: inline;
  162.     list-style-type: none;
  163.     margin-left: 20px;
  164. }
  165.  
  166. .customer li a {
  167.     text-decoration: none;
  168.     color: #ffffff;
  169.     padding: 5px;
  170. }
  171.  
  172. /* MAIN */
  173. .main {
  174.     background-color: #ffffff;
  175.     color: #222222;
  176. }
  177.  
  178. img.banner{
  179.     margin: 20px 0;
  180.     width: 800px;
  181. }
  182.  
  183. .container {
  184.     display: flex;
  185.     align-items: center;
  186.     flex-wrap: wrap;
  187.     justify-content: space-between;
  188. }
  189.  
  190. .container h2 {
  191.     margin-top: 0px;
  192.     padding-bottom: 5px;
  193.     text-align: left;
  194.     border-bottom: 2px solid #222222;
  195.     border-radius: 2px;
  196. }
  197.  
  198. .container .blank {
  199.     width: 200px;
  200. }
  201.  
  202. .container .col-4 {
  203.     flex-basis: 25%;
  204.     max-width: 180px;
  205.     margin: 0px 10px 25px 10px;
  206.     transition: 0.5s;
  207. }
  208.  
  209. .category img {
  210.     width: 100%;
  211.     height: 240px;
  212. }
  213.  
  214. .category {
  215.     position: relative;
  216.     text-align: center;
  217.     color: white;
  218. }
  219.  
  220. .category:hover {
  221.     transform: scale(1.11, 1.14);
  222.     transition: 0.8s;
  223. }
  224.  
  225. .category .text {
  226.     position: absolute;
  227.     bottom: 4px;
  228.     width: 100%;
  229.     height: 30%;
  230.     font-size: 20px;
  231.     line-height: 50px;
  232.     color: #ffffff;
  233.     background-color: rgba(0, 0, 0, 0.832);
  234. }
  235.  
  236. .product-preview img {
  237.     width: 100%;
  238.     height: 180px;
  239. }
  240.  
  241. .product-preview .text{
  242.     margin: 10px;
  243. }
  244.  
  245. .product-preview h3,
  246. .product-preview p {
  247.     margin: 0px;
  248. }
  249.  
  250. .product-preview .title {
  251.     display: flex;
  252. }
  253.  
  254. .product-preview .title .left {
  255.     width: 158.67px;
  256. }
  257.  
  258. .product-preview .title .right {
  259.     width: 21.33px;
  260.     height: 21.33px;
  261.     line-height: 22.33px;
  262.     display: inline-block;
  263.     text-align: right;
  264.     cursor: pointer;
  265. }
  266.  
  267. .product-preview .price-before {
  268.     font-size: smaller;
  269.     text-decoration: line-through;
  270.     color: rgb(0, 70, 102, 0.632);
  271. }
  272.  
  273. .product-preview .price-after {
  274.     color: #004666;
  275. }
  276.  
  277. .product-preview:hover {
  278.     transform: translateY(-8px);
  279. }
  280.  
  281. .product-preview button {
  282.     color: #ffffff;
  283.     background-color: #222222;
  284.     border: none;
  285.     width: 100%;
  286.     margin-top: 5px;
  287.     padding: 8px 5px 8px 5px;
  288.     font-weight: bolder;
  289.     cursor: pointer;
  290. }
  291.  
  292. .product-preview button i {
  293.    margin-right: 10px;
  294. }
  295.  
  296. .product-preview button:hover{
  297.     color: #ffffff;
  298.     background-color: rgba(0, 0, 0, 0.632);
  299. }
  300.  
  301. /* .container .col-4 .category .background:hover {
  302.     background-color: rgba(0, 0, 0, 0.332);
  303. } */
  304.  
  305. /* .container .col-4 .category .text {
  306.     position: absolute;
  307.     top: 50%;
  308.     left: 50%;
  309.     transform: translate(-50%, -50%);
  310.     width: 100%;
  311.     color: #ffffff;
  312. } */
  313.  
  314. /* FOOTER */
  315. .footer {
  316.     background-color: #222222;
  317.     text-align: center;
  318.     margin-top: 20px;
  319. }
  320.  
  321. .social-media {
  322.     color: #ffffff;
  323. }
  324.  
  325. .social-media ul {
  326.     margin: 10px 0px 30px 0px;
  327.     padding: 0px;
  328. }
  329.  
  330. .social-media li {
  331.     display: inline;
  332.     list-style-type: none;
  333.     margin: 0px 5px;
  334. }
  335.  
  336. .social-media a {
  337.     width: 32px;
  338.     height: 32px;
  339.     text-decoration: none;
  340.     color: #222222;
  341.     background-color: #ffffff;
  342.     line-height: 33px;
  343.     border-radius: 50%;
  344.     transition: all 0.5s;
  345.     text-align: center;
  346.     display: inline-block;
  347. }
  348.  
  349. .social-media a:hover {
  350.     background-color: #2fdfff;
  351. }
  352.  
  353. .copyright {
  354.     color: #ffffff;
  355.     /* margin-bottom: 10px; */
  356. }
  357.