style.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* *{padding: 0;margin: 0;border: 0;}
  2. *,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
  3. :focus,:active{outline: none;}
  4. a:focus,a:active{outline: none;}
  5. nav,footer,header,aside{display: block;}
  6. html,body{height: 100%;width: 100%;font-size: 100%;line-height: 1;font-size: 14px;-ms-text-size-adjust: 100%}
  7. input,button,textarea{font-family: inherit;}
  8. input::-ms-clear{display: none;}
  9. button{cursor: pointer;}
  10. button::-moz-focus-inner{padding: 0;border: 0;}
  11. a,a:visited{text-decoration: none;}
  12. a:hover{text-decoration: none;}
  13. ul li {list-style: none;}
  14. img{vertical-align: top;}
  15. h1,h2,h3,h4,h5,h6{font-size: inherit;font-weight: inherit;} */
  16. body{
  17. font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  18. }
  19. .header{
  20. background-color: greenyellow;
  21. display: flex;
  22. }
  23. .menu {
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. padding-left: 50%;
  28. position: absolute;
  29. right: 0;
  30. }
  31. .ul-menu {
  32. display: flex;
  33. margin-top: 27px;
  34. }
  35. .logo{
  36. font-size: 40px;
  37. color: black;
  38. }
  39. a , li{
  40. text-decoration: none;
  41. list-style-type: none;
  42. color: black;
  43. font-size: 25px;
  44. padding: 0px 20px 10px 0;
  45. }
  46. .btn-buy {
  47. background-color: yellowgreen;
  48. font-size: 20px;
  49. }
  50. .log-btn {
  51. background-color: whitesmoke;
  52. color: black;
  53. text-align: center;
  54. border-radius: 5px;
  55. }
  56. #mainContainer {
  57. display: flex;
  58. max-height: 90%;
  59. position: fixed;
  60. overflow-y: auto;
  61. width: 100%;
  62. }
  63. #aside {
  64. width: 30%;
  65. min-width: 300px;
  66. }
  67. #aside > a{
  68. display: block;
  69. }
  70. #main{
  71. display: flex;
  72. flex-wrap: wrap;
  73. width: 100%;
  74. padding: 20px;
  75. }
  76. h1{
  77. width: 100%;
  78. }
  79. h5 {
  80. font-size: 1.25rem;
  81. min-height: 50px;
  82. }
  83. .subcategories{
  84. background-color: yellowgreen;
  85. color: #fff;
  86. text-decoration: none;
  87. padding: 8px;
  88. border-radius: 0.25rem;
  89. margin-right: 10px;
  90. border: 2px solid yellowgreen;
  91. }
  92. .subcategories:hover{
  93. background-color: #ffffff;
  94. color: yellowgreen;
  95. text-decoration: none;
  96. padding: 8px;
  97. border-radius: 0.25rem;
  98. margin-right: 10px;
  99. }
  100. #aside a{
  101. text-decoration: none;
  102. position: relative;
  103. display: block;
  104. margin: -0.5rem -1rem;
  105. padding: 0.5rem 1rem;
  106. }
  107. #aside a:hover{
  108. background-color: #0d6efd1c;
  109. font-weight: 600;
  110. }
  111. .inputCount{
  112. width: 35px;
  113. text-align: center;
  114. padding: 4px;
  115. margin: 0 10px;
  116. }
  117. .buttonDelete{
  118. width: 125px;
  119. margin-top: 10px;
  120. height: 20px;
  121. }