style.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. #mainContainer {
  2. display: flex;
  3. text-align: center;
  4. background-color: rgb(236, 235, 233);
  5. }
  6. #aside {
  7. display: flex;
  8. flex-direction: column;
  9. background-color: #8d9de7;
  10. padding: 20px;
  11. width: 20%;
  12. height: 100vh;
  13. font-size: 24px;
  14. font-family: 'Courier New', Courier, monospace;
  15. border: 2px solid black;
  16. margin-right: 20px;
  17. }
  18. #aside a {
  19. color: rgb(53, 115, 185);
  20. margin: 15px 0;
  21. transition: all 0.5s;
  22. color: rgb(73, 80, 165);
  23. }
  24. #aside a:hover {
  25. border: 1px solid black;
  26. text-align: center;
  27. color: #454747;
  28. background-color: rgb(230, 231, 209);
  29. }
  30. #main {
  31. display: flex;
  32. flex-wrap: wrap;
  33. flex-direction: row;
  34. width: 100%;
  35. height: 100%;
  36. }
  37. #main section {
  38. display: flex;
  39. flex-wrap: wrap;
  40. flex-direction: row;
  41. }
  42. #main div {
  43. width: 70%;
  44. height: 80%;
  45. border: 2px solid rgb(110, 108, 108);
  46. border-radius: 20px;
  47. margin-bottom: 20px;
  48. margin-left: 20px;
  49. text-align: center;
  50. padding: 20px;
  51. margin-top: 80px;
  52. background-color: rgb(199, 197, 194);
  53. cursor: pointer;
  54. }
  55. #main div:hover {
  56. background-color: rgb(215, 216, 213);
  57. }
  58. #main a {
  59. width: 50%;
  60. font-size: 25px;
  61. text-decoration: none;
  62. font-family: 'Courier New', Courier, monospace;
  63. margin-top: 20px;
  64. margin-bottom: 20px;
  65. color: black;
  66. }
  67. #main p {
  68. padding-left: 25px;
  69. padding-right: 25px;
  70. font-family: 'Courier New', Courier, monospace;
  71. }
  72. #main h5 {
  73. font-size: 25px;
  74. color: rgb(86, 93, 189);
  75. }
  76. #main span {
  77. border: 2px solid rgb(110, 108, 108);
  78. border-radius: 20px;
  79. padding: 20px;
  80. margin-top: 20px;
  81. background-color: white;
  82. }
  83. #main img {
  84. margin-top: 20px;
  85. background-color: white;
  86. border-radius: 20px;
  87. width: 350px;
  88. }
  89. #main button {
  90. cursor: pointer;
  91. margin-left: 5px;
  92. margin-right: 5px;
  93. background-color: #4c66af;
  94. border: none;
  95. color: white;
  96. padding: 7px 14px;
  97. text-align: center;
  98. text-decoration: none;
  99. display: inline-block;
  100. font-size: 16px;
  101. }
  102. #main button:hover {
  103. background-color: #8ca4e2;
  104. }
  105. #cart {
  106. position: relative;
  107. color: #000;
  108. margin-right: 20px;
  109. }
  110. #cart span {
  111. position: absolute;
  112. top: 0;
  113. right: -5px;
  114. border: 1px solid #000;
  115. background-color: #fff;
  116. border-radius: 10px;
  117. padding: 0 5px;
  118. font-size: 14px;
  119. text-align: center;
  120. }
  121. #thecart {
  122. display: flex;
  123. align-items: center;
  124. position: absolute;
  125. right: 10px;
  126. justify-content: end;
  127. border: 3px solid rgb(77, 86, 170);
  128. border-radius: 10px;
  129. background-color: rgb(186, 186, 224);
  130. padding: 5px;
  131. }
  132. #thecart a {
  133. color: rgb(86, 93, 189);
  134. font-size: 18px;
  135. margin: 0 5px;
  136. transition: all 0.3s;
  137. }
  138. #thecart a:hover {
  139. color: rgb(65, 69, 141);
  140. }
  141. #thecart button:hover {
  142. box-shadow: none;
  143. color: rgb(160, 162, 204);
  144. }
  145. #thecart span {
  146. font-weight: 600;
  147. text-transform: uppercase;
  148. }
  149. #thecart p {
  150. color: rgb(86, 93, 189);
  151. padding-right: 10px;
  152. text-transform: uppercase;
  153. }
  154. div h3{
  155. color: rgb(86, 93, 189);
  156. font-family: 'Courier New', Courier, monospace;
  157. font-size: 22px;
  158. }
  159. #password {
  160. margin-left: 16px;
  161. margin-right: 5px;
  162. }