all.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. body {
  2. font: 18px/25px 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  3. }
  4. *,
  5. *:before,
  6. *:after {
  7. box-sizing: border-box;
  8. }
  9. header {
  10. display: flex;
  11. justify-content: space-between;
  12. background-color: yellow;
  13. max-height: 15vh;
  14. align-items: center;
  15. }
  16. .logo img {
  17. max-height: 10vh;
  18. }
  19. nav ul li {
  20. display: inline;
  21. padding-right: 20px;
  22. }
  23. nav ul li a:hover {
  24. color: red;
  25. }
  26. nav ul li a {
  27. text-decoration: none;
  28. }
  29. footer {
  30. background-color: green;
  31. text-align: center;
  32. }
  33. .wrapper {
  34. display: flex;
  35. min-height: 100vh;
  36. }
  37. .aside1, .aside2 {
  38. width: 210px;
  39. text-align: center;
  40. padding-top: 10px;
  41. }
  42. .aside1 {
  43. order: 1;
  44. background-color: palevioletred;
  45. }
  46. .aside2 {
  47. order: 3;
  48. background-color: grey;
  49. }
  50. .center {
  51. display: flex;
  52. padding: 5px;
  53. order: 2;
  54. flex-direction: column;
  55. align-items: center;
  56. flex-grow: 1;
  57. }
  58. .square1,
  59. .square2,
  60. .square3,
  61. .square4,
  62. .square5,
  63. .square6 {
  64. width: 300px;
  65. border: solid 2px;
  66. border-radius: 35px;
  67. display: flex;
  68. flex-direction: column;
  69. align-items: center;
  70. margin: 20px 0 20px 0;
  71. padding: 10px;
  72. text-align: center;
  73. }
  74. .bigsquare {
  75. display: flex;
  76. flex-wrap: wrap;
  77. justify-content: space-around;
  78. align-content: space-between;
  79. }
  80. .bigsquare img {
  81. border-radius: 50%;
  82. max-width: 15vh;
  83. padding: 20px;
  84. }
  85. h3+p {
  86. display: flex;
  87. flex-grow: 1;
  88. }
  89. button {
  90. border-radius: 30px 30px;
  91. color: white;
  92. background-color: violet;
  93. padding: 15px 32px ;
  94. margin: 4px 2px;
  95. }
  96. button:hover {
  97. color: blue;
  98. transition: all 0.5s ease-in-out;
  99. transform: translateY(-20px);
  100. }
  101. .holder {
  102. display: flex;
  103. flex-wrap: wrap;
  104. height: 250px;
  105. width: 500px;
  106. border: solid 3px;
  107. border-radius: 38px 38px 0 0;
  108. }
  109. .item {
  110. display: flex;
  111. align-items: center;
  112. justify-content: center;
  113. }
  114. .item:first-child {
  115. background-color: #f00;
  116. order: 1;
  117. flex-grow:2;
  118. width: 50%;
  119. border-radius: 35px 0 0 0;
  120. }
  121. .item:nth-child(2) {
  122. background-color: blue;
  123. order: 4;
  124. flex-grow:1;
  125. height: 50%;
  126. }
  127. .item:nth-child(3) {
  128. background-color: magenta;
  129. order: 3;
  130. flex-grow:1;
  131. height: 50%;
  132. }
  133. .item:nth-child(4) {
  134. background-color: green;
  135. order: 5;
  136. flex-grow:1;
  137. height: 50%;
  138. }
  139. .item:nth-child(5) {
  140. background-color: greenyellow);
  141. order: 2;
  142. flex-grow:1;
  143. height: 50%;
  144. }
  145. .item:last-child {
  146. background-color: orange;
  147. order: 2;
  148. flex-grow:2;
  149. height: 50%;
  150. width: 50%;
  151. border-radius: 0 35px 0 0;
  152. }