style.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. background-color: azure;
  8. }
  9. #mainContainer {
  10. padding: 10px;
  11. display: flex;
  12. }
  13. #aside {
  14. width: 350px;
  15. }
  16. #aside > a{
  17. color: black;
  18. font-size: 25px;
  19. text-decoration: none;
  20. display: block;
  21. }
  22. #aside > a:hover {
  23. color: crimson;
  24. }
  25. #login,
  26. #cartIcon {
  27. padding: 5px;
  28. }
  29. #login:hover, #cartIcon:hover {
  30. background-color: azure;
  31. transition: all 0.5s ease;
  32. border-radius: 10px;
  33. }
  34. #logo {
  35. width: 70%;
  36. }
  37. .logo img {
  38. margin: 5px;
  39. width: 70px;
  40. height: 70px;
  41. }
  42. .logo img:hover {
  43. scale: 1.2;
  44. }
  45. header {
  46. height: 100px;
  47. position: sticky;
  48. padding: 10px;
  49. top: 0;
  50. right: 0;
  51. display: flex;
  52. justify-content: space-between;
  53. background-color:rgb(49, 184, 184);
  54. }
  55. h1 {
  56. margin-left: 10px;
  57. }
  58. h1::first-letter {
  59. text-transform: capitalize;
  60. }
  61. td {
  62. border: 2px solid black;
  63. padding: 5px;
  64. text-align: center;
  65. }
  66. #main img {
  67. max-width: 300px;
  68. max-height: 300px;
  69. }
  70. button {
  71. cursor: pointer;
  72. text-align:center;
  73. font-size:13px;
  74. text-decoration: none;
  75. font-weight: 700;
  76. padding: 3px 6px;
  77. background: #eaeef1;
  78. display:block;
  79. min-width:100px;
  80. background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.1));
  81. border-radius: 3px;
  82. color: rgba(0,0,0,.6);
  83. text-shadow: 0 1px 1px rgba(255,255,255,.7);
  84. box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.2), inset 0 1px 2px rgba(255,255,255,.7);
  85. }
  86. button:hover, button.hover {
  87. background: white;
  88. }