style.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  5. img {
  6. image-rendering: -webkit-optimize-contrast;
  7. }
  8. header {
  9. display: flex;
  10. align-items: center;
  11. justify-content: space-around;
  12. @media (max-width: 767px) {
  13. flex-direction: column;
  14. }
  15. }
  16. .logo a {
  17. text-decoration: none;
  18. font-weight: bold;
  19. h2 {
  20. margin: 0;
  21. color: #4653a2;
  22. font-size: 50px;
  23. text-shadow: 0px 0px 3px #fde301;
  24. }
  25. span {
  26. color: #e7380d;
  27. }
  28. p {
  29. margin: 0;
  30. color: #009844;
  31. font-size: 17px;
  32. letter-spacing: 4px;
  33. }
  34. }
  35. .banner {
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. flex-direction: column;
  40. img {
  41. width: 60%;
  42. height: auto;
  43. @media (max-width: 991px) {
  44. width: 90%;
  45. }
  46. }
  47. section {
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. img {
  52. width: 50px;
  53. height: 100%;
  54. }
  55. p {
  56. margin-left: 15px;
  57. color: #0076a5;
  58. font-size: 45px;
  59. font-weight: bold;
  60. @media (max-width: 767px) {
  61. font-size: 30px;
  62. }
  63. }
  64. }
  65. }
  66. .directions {
  67. margin: 0 10%;
  68. max-width: 900px;
  69. font-weight: bold;
  70. @media (max-width: 767px) {
  71. margin: 0 5%;
  72. }
  73. p {
  74. margin: 0;
  75. color: #0076a5;
  76. }
  77. ul {
  78. margin: 0;
  79. padding: 0;
  80. list-style: none;
  81. li {
  82. line-height: 1.5;
  83. letter-spacing: 1px;
  84. }
  85. }
  86. .keyboard {
  87. display: flex;
  88. align-items: center;
  89. img {
  90. width: 13%;
  91. height: 100%;
  92. margin-right: 10px;
  93. margin-top: -10px;
  94. }
  95. }
  96. }
  97. .content {
  98. padding: 0 10%;
  99. @media (max-width: 767px) {
  100. padding: 0 5%;
  101. }
  102. img {
  103. width: 50%;
  104. height: auto;
  105. @media (max-width: 991px) {
  106. width: 100%;
  107. }
  108. }
  109. .video {
  110. width: 100%;
  111. height: 540px;
  112. margin-top: 35px;
  113. background-color: #000;
  114. }
  115. .box {
  116. width: 100%;
  117. display: flex;
  118. align-items: center;
  119. margin: 20px 0;
  120. @media (max-width: 991px) {
  121. flex-direction: column;
  122. &:nth-child(even) {
  123. flex-direction: column-reverse;
  124. }
  125. }
  126. p {
  127. width: 50%;
  128. margin: 0 50px;
  129. font-weight: bold;
  130. letter-spacing: 1px;
  131. line-height: 1.5;
  132. @media (max-width: 991px) {
  133. width: 100%;
  134. margin: 20px 0;
  135. }
  136. }
  137. }
  138. }
  139. footer {
  140. margin: auto;
  141. h2 {
  142. font-size: 70px;
  143. color: #fff100;
  144. text-shadow: 0px 0px 2px #000;
  145. @media (max-width: 991px) {
  146. margin: 0;
  147. }
  148. }
  149. .logo {
  150. margin: 0 15px;
  151. @media (max-width: 991px) {
  152. margin: 15px 0;
  153. }
  154. a h2 {
  155. font-size: 40px;
  156. }
  157. }
  158. .text-box {
  159. display: flex;
  160. align-items: center;
  161. @media (max-width: 991px) {
  162. flex-direction: column;
  163. }
  164. p {
  165. margin: 0;
  166. }
  167. p:first-child {
  168. color: #4553a3;
  169. font-weight: bold;
  170. font-size: 20px;
  171. }
  172. p:last-child {
  173. font-weight: bold;
  174. letter-spacing: 1px;
  175. }
  176. }
  177. }
  178. }