about.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. // 關於我頁面
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: 微軟正黑體;
  7. }
  8. $desktop: 1025px;
  9. $table: 1024px;
  10. $moblie: 767px;
  11. $Font-color: #fff;
  12. $title-color: #646464;
  13. $bgcolor: #f4fffc;
  14. $navbgcolor: #a9d0c5;
  15. body {
  16. position: relative;
  17. background: url(../img/about/banner/banner.webp), linear-gradient(180deg, transparent 10%, #363636 49%);
  18. background-size: 120vw;
  19. background-repeat: no-repeat;
  20. @media screen and(max-width:$moblie) {
  21. background: #363636;
  22. }
  23. .arrow {
  24. position: fixed;
  25. right: 30px;
  26. bottom: 30px;
  27. width: 45px;
  28. height: 40px;
  29. z-index: 10;
  30. background-color: #e06649;
  31. &:hover {
  32. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  33. }
  34. @media screen and(max-width:$moblie) {
  35. position: absolute;
  36. bottom: 80px;
  37. }
  38. }
  39. }
  40. #Navigation {
  41. background: rgba(112, 112, 112, 0.5);
  42. height: 4.5vw;
  43. width: 100vw !important;
  44. // position: fixed;
  45. z-index: 10;
  46. @media screen and(max-width:$table) {
  47. height: 8vw;
  48. }
  49. @media screen and(max-width:$moblie) {
  50. height: 15vw;
  51. position: fixed;
  52. z-index: 5;
  53. background: rgba(0, 0, 0, 0.8);
  54. }
  55. #nav {
  56. width: 100vw;
  57. margin: 0 auto;
  58. }
  59. // rwd要注意高度
  60. #logo {
  61. padding-top: 0.5vw;
  62. @media screen and(max-width:$moblie) {
  63. padding-top: 0;
  64. }
  65. img {
  66. width: 120px;
  67. }
  68. }
  69. #link {
  70. text-align: right;
  71. padding: 1.5vw 3vw;
  72. @media screen and(max-width:$table) {
  73. padding-top: 2vw;
  74. }
  75. @media screen and(max-width:$moblie) {
  76. display: none;
  77. }
  78. a {
  79. text-decoration: none;
  80. color: $Font-color;
  81. letter-spacing: 1px;
  82. font-size: 0.9rem;
  83. font-weight: 600;
  84. cursor: pointer;
  85. padding: 5px;
  86. position: relative;
  87. img {
  88. object-fit: cover;
  89. }
  90. }
  91. }
  92. #menu-btn1 {
  93. position: absolute;
  94. right: 1vw;
  95. top: 1vw;
  96. width: 18vw;
  97. z-index: 6;
  98. @media screen and(min-width:$desktop) {
  99. display: none;
  100. }
  101. @media screen and(min-width:768px) {
  102. display: none;
  103. }
  104. }
  105. }
  106. #Navigation2 {
  107. background: rgba(112, 112, 112, 0.75);
  108. height: 4.5vw;
  109. width: 100vw !important;
  110. position: fixed;
  111. bottom: 0px;
  112. z-index: 10;
  113. @media screen and(min-width:$desktop) {
  114. display: none;
  115. }
  116. @media screen and(max-width:$table) {
  117. height: 8vw;
  118. }
  119. @media screen and(max-width:$moblie) {
  120. height: 15vw;
  121. position: fixed;
  122. z-index: 5;
  123. background: rgba(0, 0, 0, 0.8);
  124. }
  125. #nav {
  126. width: 90vw;
  127. margin: 0 auto;
  128. display: grid;
  129. grid-template-columns: repeat(5, 1fr);
  130. text-align: center;
  131. a {
  132. text-decoration: none;
  133. color: $Font-color;
  134. letter-spacing: 1px;
  135. font-size: 0.9rem;
  136. font-weight: 600;
  137. cursor: pointer;
  138. position: relative;
  139. img {
  140. margin: 10px auto;
  141. object-fit: cover;
  142. }
  143. }
  144. }
  145. // rwd要注意高度
  146. }
  147. #banner {
  148. @media screen and(max-width:$moblie) {
  149. background-image: url(../img/about/banner/banner-m2.png);
  150. background-size: 110vw;
  151. background-repeat: no-repeat;
  152. }
  153. #banner-container {
  154. width: 90vw;
  155. @media screen and(max-width:$moblie) {
  156. width: 95vw;
  157. }
  158. .banner-des-about {
  159. @media screen and(max-width:$moblie) {
  160. display: none;
  161. }
  162. .banner-2 {
  163. img {
  164. @media screen and(max-width:$moblie) {
  165. display: none;
  166. }
  167. }
  168. }
  169. }
  170. .banner-m {
  171. padding-top: 50vw;
  172. @media screen and(min-width:$desktop) {
  173. display: none;
  174. }
  175. .bannerm-1 {
  176. @media screen and(max-width:$moblie) {
  177. margin: 0;
  178. }
  179. background: rgba(141, 194, 31, 0.8);
  180. .banner1-1 {
  181. font-size: 18px;
  182. }
  183. }
  184. }
  185. ul {
  186. text-align: center;
  187. background: rgba(141, 194, 31, 0.8);
  188. @media screen and(max-width:$moblie) {
  189. margin-top: 5vw;
  190. }
  191. .nav-item {
  192. padding: 10px;
  193. @media screen and(max-width:$moblie) {
  194. padding: 6px;
  195. }
  196. .nav-item2{
  197. position: relative;
  198. &:after {
  199. content:url(../img/about/sec01/item-arrow.png);
  200. display: block;
  201. width: 80%;
  202. height: 5px;
  203. position: absolute;
  204. left: 12%;
  205. bottom: 0;
  206. transition: all 0.3s;
  207. opacity: 0;
  208. }
  209. // &:active:after,
  210. // &:focus:after{
  211. // opacity: 1;
  212. // }
  213. .after-nav{
  214. opacity: 1;
  215. }
  216. &:focus:after
  217. {
  218. width: 80%;
  219. opacity: 1;
  220. }
  221. }
  222. }
  223. }
  224. // 公司簡介
  225. .tab-content {
  226. // 公司簡介
  227. .condition {
  228. padding: 24px;
  229. font-size: 14px;
  230. padding-bottom: 10vw;
  231. @media screen and(max-width:$moblie) {
  232. padding: 18px;
  233. }
  234. }
  235. .idea {
  236. padding: 24px;
  237. font-size: 14px;
  238. padding-bottom: 10vw;
  239. background-size: contain;
  240. background-repeat: no-repeat;
  241. background-blend-mode: overlay;
  242. }
  243. .contact {
  244. padding-bottom: 10vw;
  245. padding: 24px;
  246. font-size: 12px;
  247. background-size: contain;
  248. background-repeat: no-repeat;
  249. background-blend-mode: overlay;
  250. word-break: break-all;
  251. a{
  252. text-decoration: none;
  253. color:#fff;
  254. }
  255. @media screen and(max-width:$moblie) {
  256. padding: 18px;
  257. }
  258. }
  259. // 個案賞析
  260. .sec02,
  261. .sec04 {
  262. .col-lg-4 {
  263. position: relative;
  264. background: rgb(128, 171, 41);
  265. transition: 0.3s ease-in-out;
  266. cursor: pointer;
  267. .sec02-p-m,.sec03-p-m{
  268. color:#fff;
  269. text-align: center;
  270. font-size: 14px;
  271. transition: 0.3s;
  272. transition: 0.3s ease-in-out;
  273. @media screen and(min-width:$desktop) {
  274. position: absolute;
  275. top:100px;
  276. left:20px;
  277. font-size: 16px;
  278. opacity: 0;
  279. }
  280. }
  281. .sec03-p-m{
  282. @media screen and(min-width:$desktop) {
  283. position: absolute;
  284. top:50px;
  285. left:10px;
  286. background-size: contain;
  287. opacity: 0;
  288. }
  289. }
  290. &:hover{
  291. .sec02-p-m,.sec03-p-m{
  292. opacity: 1;
  293. }
  294. img{
  295. opacity: 0.2;
  296. @media screen and(max-width:$moblie) {
  297. opacity: 1;
  298. }
  299. }
  300. }
  301. @media screen and(max-width:$moblie) {
  302. background: none;
  303. }
  304. img {
  305. object-fit: cover;
  306. width: 432px !important;
  307. height: 280px !important;
  308. opacity: 1;
  309. transition: 0.3s ease-in-out;
  310. }
  311. }
  312. }
  313. .sec04 {
  314. background: rgba(0, 0, 0, 0.8);
  315. text-align: center;
  316. height: 600px;
  317. @media screen and(max-width:$moblie) {
  318. height: 300px;
  319. }
  320. p {
  321. letter-spacing: 5px;
  322. }
  323. }
  324. }
  325. }
  326. }
  327. // 頁尾 footer
  328. #footer {
  329. background: #363636;
  330. text-align: center;
  331. width: 80vw;
  332. margin: 0 auto !important;
  333. @media screen and(max-width:$moblie) {
  334. width: 95vw;
  335. padding-bottom: 30vw;
  336. }
  337. p {
  338. color: #fff;
  339. }
  340. }