main.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. #wrapper {
  2. width: 100%;
  3. overflow: hidden;
  4. min-height: 100vh;
  5. display: flex;
  6. flex-direction: column;
  7. }
  8. #header {
  9. padding: 15px 0;
  10. background:rgb(216, 186, 53);
  11. }
  12. main {
  13. display: flex;
  14. flex-grow: 1;
  15. }
  16. .header_content nav {
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. }
  21. nav .items {
  22. display: flex;
  23. padding: 35px 20px;
  24. }
  25. nav .items li {
  26. list-style-type: none;
  27. margin-left: 10px;
  28. font-size: 23px;
  29. }
  30. nav img {
  31. display: flex;
  32. width: 250px;
  33. padding: 27px 20px;
  34. }
  35. .content {
  36. display: flex;
  37. flex-direction: column;
  38. text-align: center;
  39. width: 100%;
  40. max-width: 1380px;
  41. margin: 0 auto;
  42. padding-right: 40px;
  43. }
  44. .content p {
  45. font-size: 27px;
  46. padding: 35px;
  47. text-align: center;
  48. }
  49. h1 {
  50. font-size: 35px;
  51. text-align: center;
  52. }
  53. .list {
  54. display: flex;
  55. flex-wrap: wrap;
  56. list-style: none;
  57. width: 100%;
  58. align-items: stretch;
  59. justify-content: space-between;
  60. }
  61. .list li {
  62. display: flex;
  63. width: calc(100% / 3);
  64. padding: 10px;
  65. }
  66. .list_box {
  67. display: flex;
  68. border: 2px solid black;
  69. border-radius: 10% 10%;
  70. flex-direction: column;
  71. width: 100%;
  72. padding: 15px;
  73. }
  74. .list_body {
  75. flex-grow: 1;
  76. }
  77. .list_box img {
  78. align-self: center;
  79. width: 130px;
  80. border-radius: 50% 50%;
  81. border: 14px solid #c8b8b8;
  82. overflow: hidden;
  83. }
  84. .list_body p {
  85. font-size: 20px;
  86. }
  87. h2 {
  88. margin-bottom: -30px;
  89. }
  90. .list_box a {
  91. padding: 10px 30px;
  92. align-self: center;
  93. border-radius: 20px;
  94. text-decoration: none;
  95. background: #7a6586;
  96. color: white;
  97. }
  98. .list_box a:hover {
  99. background: #fd644c;
  100. }
  101. aside {
  102. width: 210px;
  103. text-align: center;
  104. padding: 10px;
  105. font-size: 20px;
  106. }
  107. .one {
  108. order: -1;
  109. background: rgb(216, 148, 176);
  110. }
  111. .two {
  112. background: rgb(95, 161, 223);
  113. }
  114. .holder {
  115. display: flex;
  116. flex-wrap: wrap;
  117. width: 500px;
  118. height: 150px;
  119. border: 2px solid black;
  120. border-radius: 30px 30px 0 0;
  121. overflow: hidden;
  122. margin: 50px auto 0px;
  123. }
  124. .item {
  125. display: flex;
  126. justify-content: center;
  127. flex-direction: column;
  128. text-align: center;
  129. }
  130. .item:first-child {
  131. width: 50%;
  132. background: #fd644c;
  133. order: -2;
  134. }
  135. .item:nth-child(2) {
  136. background: #2977b3;
  137. order: 1;
  138. }
  139. .item:nth-child(3) {
  140. background: #663498;
  141. }
  142. .item:nth-child(2), .item:nth-child(3), .item:nth-child(4) {
  143. width: calc(100% / 3);
  144. }
  145. .item:nth-child(4) {
  146. background: #057c1f;
  147. order: 2;
  148. }
  149. .item:last-child {
  150. width: 50%;
  151. background: #fda524;
  152. order: -1;
  153. }
  154. footer {
  155. display: block;
  156. margin-top: auto;
  157. height: 50px;
  158. text-align: center;
  159. background:rgb(99, 233, 66);
  160. }
  161. h4 {
  162. font-size: 20px;
  163. }