index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title> SHOP </title>
  5. <meta charset='utf8' />
  6. <style>
  7. body{
  8. font-size: medium;
  9. font-family: serif;
  10. margin: 10px;
  11. padding: 10px;
  12. color: rgb(6, 58, 55);
  13. background-color: rgb(204, 241, 255);
  14. }
  15. h1{
  16. color: rgb(19, 98, 104)
  17. }
  18. span {
  19. color: rgb(19, 98, 104)
  20. }
  21. strong{
  22. text-align: center;
  23. font-size: bold;
  24. background:#feffc4;
  25. color: #051d05;
  26. padding: 3px;
  27. margin: 50px 0;
  28. text-align: center;
  29. }
  30. #mainContainer {
  31. display: flex;
  32. background-color: rgba(255, 255, 255, 0.76);
  33. }
  34. #aside {
  35. width: 30%;
  36. }
  37. #aside > a{
  38. display: block;
  39. }
  40. .btn {
  41. display: inline-block;
  42. vertical-align: middle;
  43. float: right;
  44. background-color: rgb(236, 206, 245);
  45. border-radius: 10px;
  46. padding: 20px;
  47. margin-left: 10px
  48. }
  49. img{
  50. width: 40%;
  51. height: 40%;
  52. }
  53. a{
  54. font-weight: bold;
  55. display: flex;
  56. flex-direction: column;
  57. flex-wrap: wrap;
  58. color: rgb(53, 40, 40);
  59. text-decoration: none;
  60. padding-bottom: 2px;
  61. }
  62. a:hover{
  63. border-bottom: 4px solid rgb(130, 30, 180);
  64. text-decoration: underline;
  65. color: rgb(95, 23, 131);
  66. }
  67. input {
  68. display: flex;
  69. flex-direction: column;
  70. border: 2px solid rgb(9, 52, 71);
  71. border-radius: 4px;
  72. margin: 10px;
  73. padding: 10px;
  74. }
  75. input[type=text]:focus {
  76. background-color: rgb(131, 187, 206);
  77. }
  78. button {
  79. margin: 10px;
  80. padding: 10px;
  81. cursor: pointer;
  82. border-radius: 50px;
  83. text-align: center;
  84. background-color: rgb(156, 255, 153);
  85. }
  86. button:hover {
  87. box-shadow: 0 12px 16px 0 rgba(31, 240, 12, 0.452);
  88. }
  89. button.deleteBtn{
  90. background-color: rgb(185, 31, 25);
  91. color:white;
  92. }
  93. .deleteBtn:hover {
  94. box-shadow: 0 12px 16px 0 rgba(240, 12, 12, 0.452);
  95. }
  96. .cart{
  97. /* display: flex;
  98. flex-direction: row;
  99. justify-content: flex-start;
  100. margin: 20px;
  101. padding: 15px; */
  102. margin-bottom: 20px;
  103. }
  104. .forCart{
  105. width: 30%;
  106. height: 30%;
  107. }
  108. .count{
  109. display: inline-flex;
  110. width:10%;
  111. height: 10%;
  112. }
  113. .order{
  114. width: 100%;
  115. }
  116. .clear{
  117. background-color: rgb(66, 70, 73);
  118. color:white;
  119. }
  120. .clear:hover {
  121. box-shadow: 0 12px 16px 0 rgba(63, 59, 59, 0.452);
  122. }
  123. </style>
  124. </head>
  125. <body>
  126. <header>
  127. <div id='cartIcon'></div>
  128. <a id="signIn" class ="btn" href = "#/login/" > Sign In </a>
  129. <a id = "register" class="btn" href = "#/register/" > Register</a>
  130. <a id = "logOut" class="btn" href = "#/logout/" > Log Out</a>
  131. <a id = "cart" class="btn" href = "#/cart/" > Cart </a>
  132. <a id = "dashboard" class="btn" href = "#/dashboard/" > Dashboard </a>
  133. </header>
  134. <div id='mainContainer'>
  135. <aside id='aside'>
  136. Категории
  137. </aside>
  138. <main id='main'>
  139. Контент
  140. </main>
  141. </div>
  142. <script src="index.js"></script>
  143. </body>
  144. </html>