style.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. nav {
  9. display: flex;
  10. justify-content: space-around;
  11. .logo-box img:last-child {
  12. width: 35%;
  13. margin-left: 10px;
  14. }
  15. ul {
  16. margin: 0;
  17. padding: 0;
  18. display: flex;
  19. list-style: none;
  20. li {
  21. margin: 20px;
  22. }
  23. }
  24. }
  25. header {
  26. margin: 30px 0;
  27. display: flex;
  28. align-items: center;
  29. justify-content: space-around;
  30. @media (max-width: 767px) {
  31. flex-direction: column;
  32. }
  33. }
  34. .logo {
  35. display: flex;
  36. align-items: center;
  37. justify-content: end;
  38. img:first-child {
  39. width: 30%;
  40. margin-right: 20px;
  41. }
  42. img:last-child {
  43. width: 40%;
  44. }
  45. // a {
  46. // text-decoration: none;
  47. // font-weight: bold;
  48. // h2 {
  49. // margin: 0;
  50. // color: #4653a2;
  51. // font-size: 50px;
  52. // text-shadow: 0px 0px 3px #fde301;
  53. // }
  54. // span {
  55. // color: #e7380d;
  56. // }
  57. // p {
  58. // margin: 0;
  59. // color: #009844;
  60. // font-size: 17px;
  61. // letter-spacing: 4px;
  62. // }
  63. // }
  64. }
  65. .banner {
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. flex-direction: column;
  70. img {
  71. width: 60%;
  72. height: auto;
  73. @media (max-width: 991px) {
  74. width: 90%;
  75. }
  76. }
  77. section {
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. img {
  82. width: 50px;
  83. height: 100%;
  84. }
  85. p {
  86. margin-left: 15px;
  87. color: #0076a5;
  88. font-size: 45px;
  89. font-weight: bold;
  90. @media (max-width: 767px) {
  91. font-size: 30px;
  92. }
  93. }
  94. }
  95. }
  96. .directions {
  97. margin: 0 10%;
  98. max-width: 900px;
  99. font-weight: bold;
  100. @media (max-width: 767px) {
  101. margin: 0 5%;
  102. }
  103. p {
  104. margin: 0;
  105. color: #0076a5;
  106. }
  107. ul {
  108. margin: 0;
  109. padding: 0;
  110. list-style: none;
  111. li {
  112. line-height: 1.5;
  113. letter-spacing: 1px;
  114. }
  115. }
  116. .keyboard {
  117. display: flex;
  118. align-items: center;
  119. img {
  120. width: 13%;
  121. height: 100%;
  122. margin-right: 10px;
  123. margin-top: -10px;
  124. }
  125. }
  126. }
  127. .content {
  128. padding: 0 10%;
  129. @media (max-width: 767px) {
  130. padding: 0 5%;
  131. }
  132. img {
  133. width: 50%;
  134. height: auto;
  135. @media (max-width: 991px) {
  136. width: 100%;
  137. }
  138. }
  139. .video {
  140. width: 100%;
  141. height: 540px;
  142. margin-top: 35px;
  143. background-color: #000;
  144. }
  145. .box {
  146. width: 100%;
  147. display: flex;
  148. align-items: center;
  149. margin: 20px 0;
  150. @media (max-width: 991px) {
  151. flex-direction: column;
  152. &:nth-child(even) {
  153. flex-direction: column-reverse;
  154. }
  155. }
  156. p {
  157. width: 50%;
  158. margin: 0 50px;
  159. font-weight: bold;
  160. letter-spacing: 1px;
  161. line-height: 1.5;
  162. @media (max-width: 991px) {
  163. width: 100%;
  164. margin: 20px 0;
  165. }
  166. }
  167. }
  168. }
  169. footer {
  170. margin: auto;
  171. margin-top: 30px;
  172. img {
  173. width: 100%;
  174. margin-bottom: -15px;
  175. }
  176. // h2 {
  177. // font-size: 70px;
  178. // color: #fff100;
  179. // text-shadow: 0px 0px 2px #000;
  180. // @media (max-width: 991px) {
  181. // margin: 0;
  182. // }
  183. // }
  184. // .logo {
  185. // margin: 0 15px;
  186. // @media (max-width: 991px) {
  187. // margin: 15px 0;
  188. // }
  189. // a h2 {
  190. // font-size: 40px;
  191. // }
  192. // }
  193. // .text-box {
  194. // display: flex;
  195. // align-items: center;
  196. // @media (max-width: 991px) {
  197. // flex-direction: column;
  198. // }
  199. // p {
  200. // margin: 0;
  201. // }
  202. // p:first-child {
  203. // color: #4553a3;
  204. // font-weight: bold;
  205. // font-size: 20px;
  206. // }
  207. // p:last-child {
  208. // font-weight: bold;
  209. // letter-spacing: 1px;
  210. // }
  211. // }
  212. }
  213. }