first commit

This commit is contained in:
ericli1018
2024-03-13 10:43:39 +08:00
commit 1caae33c43
677 changed files with 105611 additions and 0 deletions

6
public/assets/css/all.min.css vendored Normal file

File diff suppressed because one or more lines are too long

7
public/assets/css/animate.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,328 @@
/*========================================================
首頁 carousel-intro
=========================================================*/
/* 首頁 carousel-intro */
.carousel-intro {
position: relative;
}
.carousel-intro .carousel-item {
position: relative;
}
/* 文字 */
.carousel-intro .carousel-caption {
position : absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 9;
color: #fff;
text-align: center;
padding: 15px 0;
width: 70%;
}
.carousel-intro .carousel-caption h2 {
display: inline-block;
color: #fff;
font-size: 1rem;
/* text-shadow: 1px 1px 1px #fff;*/
font-weight: bold;
margin: 0 0 20px 0;
padding: 0;
line-height: 24px;
}
.carousel-intro .carousel-caption p {
color: #fff;
font-size: 0.6rem;
/* text-shadow: 1px 1px 1px #333; */
font-weight: normal;
margin: 0 0 20px 0;
padding: 0;
line-height: 16px;
}
.carousel-intro .carousel-caption a {
display: inline-block;
background: linear-gradient(to bottom, #2fe49e 0%,#2087a3 100%);
color: #fff;
padding: 2px 30px;
border-radius: 15px;
font-size: 0.7rem;
line-height: 20px;
}
.carousel-intro .carousel-caption a:hover {
background: linear-gradient(to bottom, #24afc0 0%,#1f68a4 100%);
}
/*========================================================
按鈕設定
=========================================================*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
display: inline-block;
width: 30px;
height: 30px;
background: rgba(255,255,255,0.3) no-repeat center center;
background-size: 50% 50%;
border-radius: 50%;
}
.carousel-control-prev-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}
.carousel-indicators li {
/*
width: 15px;
background-color: #fff;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
opacity: 1;
border-radius: 50%;
*/
opacity: 1;
height: 5px;
}
.carousel-indicators .active {
opacity: 1;
background-color: #e27a14;
}
/*========================================================
動畫設定
=========================================================*/
@-webkit-keyframes animatedBackground {
0% {transform: scale(1.0);}
100% {transform: scale(1.1);}
}
@-o-keyframes animatedBackground {
0% {transform: scale(1.0);}
100% {transform: scale(1.1);}
}
@-moz-keyframes animatedBackground {
0% {transform: scale(1.0);}
100% {transform: scale(1.1);}
}
@keyframes animatedBackground {
0% {transform: scale(1.0);}
100% {transform: scale(1.1);}
}
/* 只設定電腦版有效果 */
/*
.carousel-intro img {
animation: animatedBackground 12s infinite alternate;
-moz-animation: animatedBackground 12s infinite alternate;
-webkit-animation: animatedBackground 12s infinite alternate;
-ms-animation: animatedBackground 12s infinite alternate;
-o-animation: animatedBackground 12s infinite alternate;
}
*/
/*========================================================
尺寸設定
=========================================================*/
@media (max-width: 479px) {
.carousel-intro .carousel-item img {
height: 240px;
}
}
@media (min-width: 480px) and (max-width: 767px) {
.carousel-intro .carousel-item img {
height: 320px;
}
}
@media (max-width: 767px) {
.carousel-intro .carousel-item img {
object-fit: cover;
object-position: center center;
}
.carousel-intro .carousel-caption p {
display: none;
}
}
@media (min-width: 768px) {
.carousel-intro .carousel-caption h2 {
font-size: 1.4rem;
line-height: 28px;
}
.carousel-intro .carousel-caption p {
font-size: 0.8rem;
line-height: 20px;
}
.carousel-intro .carousel-caption a {
padding: 10px 30px;
border-radius: 30px;
}
}
@media (min-width: 992px) {
.carousel-intro .carousel-caption {
top: 50%;
left: 20%;
transform: translate(-20%,-50%);
text-align: left;
width: 40%;
}
.carousel-intro .carousel-caption h2 {
font-size: 1.4rem;
line-height: 30px;
}
.carousel-intro .carousel-caption p {
font-size: 0.8rem;
line-height: 24px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
width: 40px;
height: 40px;
}
}
@media (min-width: 1200px) {
.carousel-intro .carousel-caption h2 {
font-size: 1.8rem;
line-height: 36px;
}
.carousel-intro .carousel-caption p {
font-size: 0.9rem;
line-height: 24px;
}
}
@media (min-width: 1600px) {
.carousel-intro .carousel-caption {
width: 25%;
}
.carousel-intro .carousel-caption h2 {
font-size: 2.2rem;
line-height: 40px;
}
.carousel-intro .carousel-caption p {
font-size: 1rem;
line-height: 28px;
}
.carousel-indicators {
bottom: 5%;
}
}
/*========================================================
內頁banner設定
=========================================================*/
.page-banner {
position: relative;
overflow: hidden;
}
.page-banner img {
width: 100%;
vertical-align: bottom;
/* animation: animatedBackground 12s infinite alternate;
-moz-animation: animatedBackground 12s infinite alternate;
-webkit-animation: animatedBackground 12s infinite alternate;
-ms-animation: animatedBackground 12s infinite alternate;
-o-animation: animatedBackground 12s infinite alternate;*/
}
.page-banner-caption {
position : absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9;
color: #fff;
text-align: center;
width: 100%;
}
.page-banner-caption h2 {
color: #fff;
font-size: 2rem;
text-shadow: 1px 1px 2px #666, 1px 1px 2px #666;
font-weight: 600;
margin: 0;
padding-bottom: 15px;
line-height: 30px;
font-family: 'Noto Serif TC', serif;
}
.page-banner-caption p {
color: #fff;
font-size: 1.1rem;
text-shadow: 1px 1px 2px #666, 1px 1px 2px #666;
font-weight: normal;
margin: 0;
padding: 0;
line-height: 16px;
font-family: Arial, "微軟正黑體", Verdana, Helvetica, sans-serif;
}
@media (max-width: 767px) {
.page-banner > img {
height: 320px;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
.page-banner > img {
height: 400px;
}
}
@media (max-width: 991px) {
.page-banner > img {
object-fit: cover;
}
}
@media (min-width: 768px) {
.carousel-intro .carousel-caption h2 {
font-size: 1.6rem;
}
}
@media (min-width: 992px) {
.page-banner-caption {
left: 16vw;
transform: translateY(-50%);
z-index: 9;
text-align: left;
}
.page-banner-caption h2 {
font-size: 1.8rem;
padding-bottom: 5px;
}
.page-banner-caption p {
font-size: 1rem;
}
}
@media (min-width: 1200px) {
.page-banner-caption h2 {
font-size: 2.2rem;
padding-bottom: 10px;
}
.page-banner-captionp {
font-size: 1.1rem;
}
}
@media (min-width: 1600px) {
.page-banner-caption h2 {
font-size: 2.6rem;
padding-bottom: 15px;
}
.page-banner-caption p {
font-size: 1.2rem;
}
}

9887
public/assets/css/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

7
public/assets/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

9913
public/assets/css/fonts.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,246 @@
/*========================================================
聯絡訊息
=========================================================*/
footer {
background-color: #fff;
font-size: 0.9rem;
}
footer a {
color: #111;
}
footer a:hover {
color: #111;
text-decoration: underline;
}
.footer-main {
padding-top: 60px;
padding-bottom: 20px;
color: #111;
}
/* 聯絡資訊 */
.footer-contacts {
margin-bottom: 30px;
}
.footer-contacts-logo {
font-size: 0.9rem;
}
.footer-contacts-logo img {
height: 40px;
vertical-align: bottom;
}
.footer-contacts-info {
margin: 15px 0 0 0;
}
.footer-contacts-info ul {
list-style: none;
margin: 0;
padding: 0;
}
.footer-contacts-info ul li {
font-size: 1rem;
line-height: 28px;
}
/* 電話直撥&地圖導航 */
.footer-contacts-btn {
padding: 20px 0 20px;
}
.footer-contacts-btn a {
font-size: 1rem;
color: #fff !important;
margin: 0 10px;
padding: 7px 15px 7px 20px;
background-color: #266835;
border: 1px solid #266835;
}
.footer-contacts-btn a:hover {
background-color: #1c4e27;
border: 1px solid #1c4e27;
color: #fff !important;
text-decoration: none;
}
/* footer選單 */
.footer-nav {
}
.footer-nav-item {
display: inline-block;
vertical-align: top;
margin-bottom: 30px;
}
.footer-nav-item h4 {
font-size: 1.2rem;
padding-bottom: 16px;
font-weight: bold;
margin: 0;
}
.footer-nav-item ul {
list-style: none;
margin: 0;
padding: 0;
}
.footer-nav-item ul li {
font-size: 0.9rem;
line-height: 24px;
}
/* 尺寸設定 */
@media (max-width: 479px) {
.footer-contacts-logo img {
height: 32px;
vertical-align: bottom;
}
}
@media (max-width: 767px) {
.footer-contacts-info {
margin: 10px 0 10px 0;
}
.footer-nav .footer-nav-item:first-of-type {
margin-right: 60px;
}
}
@media (min-width: 768px) {
.footer-nav {
display: flex;
justify-content: space-between;
}
}
@media (min-width: 1200px) {
.footer-main {
padding-bottom: 30px;
}
.footer-contacts-logo img {
height: 44px;
}
.footer-contacts-info {
margin-left: 0px;
}
.footer-nav-item {
margin-left: 30px;
}
}
@media (min-width: 1600px) {
.footer-contacts-logo img {
height: 54px;
}
}
/*========================================================
footer-copyright
=========================================================*/
.footer-copyright {
border-top: 1px solid #cfcfcf;
color: #111;
position: relative;
padding: 20px 0;
font-size: 0.9rem;
text-align: left;
}
.footer-copyright a {
color: #111;
}
.footer-copyright span {
display: inline-block;
margin-left: 10px;
}
/*
@media (min-width: 992px) {
.footer-copyright {
text-align: right;
}
}
*/
/*========================================================
其他設定
=========================================================*/
.footer-nav-item a .fa-linkedin {
margin-top: 20px;
font-size: 2.4rem;
color: #0e76a8;
}
.footer-nav-item a:hover .fa-linkedin {
color: #d33120;
}
.footer-nav-item .custom-checkbox {
margin: 10px 0;
}
.footer-nav-item .custom-control-label::before,
.footer-nav-item .custom-control-label::after {
top: 0.5rem;
}
/*========================================================
cookies
=========================================================*/
#cookies-box {
position: fixed;
left: 0;
bottom: 0;
z-index: 9999999;
background-color: rgba(0,0,0,0.9);
padding: 40px 50px;
width: 100%;
font-size: 0.9rem;
line-height: 36px;
color: #fff;
/* display: none;*/
}
#cookies-box h4 {
font-size: 1.2rem;
font-weight: bold;
}
#cookies-box p {
margin: 0;
}
#cookies-box a {
color: #fff;
border-bottom: 2px solid #1392b6;
padding: 2px 5px;
margin: 0;
}
#cookies-box a:hover {
background-color: #1392b6;
text-decoration: none;
}
#cookies-box .cookies-btn {
margin-top: 10px;
text-align: center;
}
#cookies-box .cookies-btn a {
display: inline-block;
width: 140px;
border: 1px solid #fff;
color: #fff;
text-decoration: none;
text-align: center;
}
#cookies-box .cookies-btn a:hover {
background-color: #1392b6;
border-color: #1392b6;
}
@media (min-width: 992px) {
#cookies-box .cookies-btn {
margin-top: -5px;
margin-left: 50px;
}
}

View File

@ -0,0 +1,280 @@
/*========================================================
基本設定
=========================================================*/
body {
font-family: Arial, Verdana, Helvetica, sans-serif;
/* font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;*/
font-weight: 400;
line-height: 32px;
padding-top: 56px;
font-size: 1rem;
color: #111;
}
/*
@media (max-width: 991px) {
body {
padding-bottom: 79px;
}
}
*/
/*========================================================
header設定
=========================================================*/
/* 選單列*/
.rd-navbar-main-outer {
margin-top: 40px;
}
.rd-navbar-main-outer .rd-navbar-inner {
padding-top: 20px;
padding-bottom: 20px;
max-width: 1480px;
}
.rd-navbar-nav {
margin: 0;
}
.brand1 {
display: block;
}
.brand2 {
display: none;
}
/* logo設定 */
.rd-navbar-brand img {
}
/* header下拉時設定 */
.rd-navbar-static.rd-navbar--is-stuck,
.rd-navbar-static.rd-navbar--is-clone,
.rd-navbar-fullwidth.rd-navbar--is-stuck,
.rd-navbar-fullwidth.rd-navbar--is-clone {
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-inner,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-inner {
padding-top: 15px;
padding-bottom: 15px;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-main-outer {
margin-top: 0px;
}
.rd-navbar-static.rd-navbar--is-stuck .brand1 {
display: none;
}
.rd-navbar-static.rd-navbar--is-stuck .brand2 {
display: block;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-info {
display: none;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a,
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li.focus > a,
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li.opened > a,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li.focus > a,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li.opened > a,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li.focus > a,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li.opened > a,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li.focus > a,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li.opened > a {
color: #000;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a:hover,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a:hover {
color: #000;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a:before,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a:before {
content: "";
position: absolute;
z-index: -1;
left: 0;
right: 100%;
bottom: 0;
background: #000;
height: 2px;
-webkit-transition: right 0.3s ease-out;
transition: right 0.3s ease-out;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover:before,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a:hover:before {
right: 0;
}
/* 手機版header背景色調整 */
.rd-navbar-fixed .rd-navbar-panel:before {
/* background: #fff;*/
}
.rd-navbar-toggle span:after,
.rd-navbar-toggle span:before,
.rd-navbar-toggle span,
.rd-navbar-sidebar-toggle span:after,
.rd-navbar-sidebar-toggle span:before,
.rd-navbar-sidebar-toggle span {
background-color: #000;
}
.rd-navbar-fixed .rd-navbar-nav > li:first-of-type a {
border-top: 1px solid #ededed;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type a {
display: inline-block;
padding: 11px 0;
margin-left: 10px;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type a:first-of-type {
margin-left: 16px;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type:hover > a,
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type.active > a,
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type.opened > a {
background-color: transparent;
color: #222;
}
/* 尺寸設定 */
@media (max-width: 991px) {
.rd-navbar-fixed .rd-navbar-brand img {
max-width: 300px;
}
}
@media (max-width: 1199px) {
.brand1 {
display: none;
}
.brand2 {
display: block;
}
.other-link {
list-style: none;
margin: 15px 0 5px;
padding: 0;
text-align: center;
}
.other-link {
display: none;
}
}
@media (min-width: 1200px) {
body {
padding-top: 0;
}
.rd-navbar-brand img {
height: 50px;
}
.rd-navbar-nav > li:first-of-type {
display: none;
}
.rd-navbar-static .rd-navbar-nav > li + li {
margin-left: 0;
}
.rd-navbar-static .rd-navbar-nav > li > a,
.rd-navbar-fullwidth .rd-navbar-nav > li > a {
font-size: 1.1rem;
padding-left: 10px;
padding-right: 10px;
color: #fff;
font-weight: bold;
transition: all .3s;
top: 0;
text-transform: capitalize;
margin: 0 10px;
}
.rd-navbar-static .rd-navbar-nav > li > a:hover,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:hover {
color: #fff;
}
.rd-navbar-static .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:before {
content: "";
position: absolute;
z-index: -1;
left: 0;
right: 100%;
bottom: 0;
background: #fff;
height: 2px;
-webkit-transition: right 0.3s ease-out;
transition: right 0.3s ease-out;
}
.rd-navbar-static .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:hover:before {
right: 0;
}
.rd-navbar-static .rd-navbar-nav > li.focus > a,
.rd-navbar-static .rd-navbar-nav > li.opened > a,
.rd-navbar-fullwidth .rd-navbar-nav > li.focus > a,
.rd-navbar-fullwidth .rd-navbar-nav > li.opened > a {
color: #fff;
}
.rd-navbar-static .rd-navbar-nav > li > .rd-navbar-submenu-toggle,
.rd-navbar-fullwidth .rd-navbar-nav > li > .rd-navbar-submenu-toggle {
display: none;
}
.rd-navbar-static .rd-navbar-nav > li:nth-of-type(6) > a,
.rd-navbar-fullwidth .rd-navbar-nav > li:nth-of-type(6) > a {
display: none;
}
/* 上方選單 */
.rd-navbar-info {
position: absolute;
right: calc(0% + 46px);
top: -30px;
z-index: 2;
width: 100%;
text-align: right;
}
.other-link {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: end;
color: #fff;
}
.other-link li {
margin-left: 15px;
}
.other-link li a {
display: inline-block;
color: #fff;
font-size: 0.8rem;
}
.rd-navbar--is-stuck .other-link {
color: #000;
}
}
@media (min-width: 1600px) {
.rd-navbar-brand img {
height: 65px;
}
.rd-navbar-static .rd-navbar-nav > li > a,
.rd-navbar-fullwidth .rd-navbar-nav > li > a {
margin: 0 20px;
}
}

View File

@ -0,0 +1,235 @@
/*========================================================
基本設定
=========================================================*/
body {
font-family: 'Open Sans', Verdana, Arial, sans-serif, Microsoft YaHei, Microsoft JhengHei;
/* font-family: Arial, Verdana, Helvetica, sans-serif;*/
/* font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;*/
font-weight: 400;
line-height: 28px;
padding-top: 56px;
font-size: 0.9rem;
color: #111;
}
/*========================================================
header設定
=========================================================*/
/* 選單列*/
.rd-navbar-main-outer {
margin-top: 40px;
}
.rd-navbar-main-outer .rd-navbar-inner {
padding-top: 20px;
padding-bottom: 20px;
max-width: 1480px;
}
.rd-navbar-nav {
margin: 0;
}
/* logo設定 */
.rd-navbar-brand img {
}
/* header下拉時設定 */
.rd-navbar-static.rd-navbar--is-stuck,
.rd-navbar-static.rd-navbar--is-clone,
.rd-navbar-fullwidth.rd-navbar--is-stuck,
.rd-navbar-fullwidth.rd-navbar--is-clone {
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-inner,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-inner {
padding-top: 15px;
padding-bottom: 15px;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-main-outer {
margin-top: 0px;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-info {
display: none;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a:before,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a:before {
content: "";
position: absolute;
z-index: -1;
left: 0;
right: 100%;
bottom: 0;
background: #000;
height: 2px;
-webkit-transition: right 0.3s ease-out;
transition: right 0.3s ease-out;
}
.rd-navbar-static.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover:before,
.rd-navbar-static.rd-navbar--is-clone .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth.rd-navbar--is-stuck .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth.rd-navbar--is-clone .rd-navbar-nav > li > a:hover:before {
right: 0;
}
/* 手機版header背景色調整 */
.rd-navbar-fixed .rd-navbar-panel:before {
/* background: #fff;*/
}
.rd-navbar-toggle span:after,
.rd-navbar-toggle span:before,
.rd-navbar-toggle span,
.rd-navbar-sidebar-toggle span:after,
.rd-navbar-sidebar-toggle span:before,
.rd-navbar-sidebar-toggle span {
background-color: #000;
}
.rd-navbar-fixed .rd-navbar-nav > li:first-of-type a {
border-top: 1px solid #ededed;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type a {
display: inline-block;
padding: 11px 0;
margin-left: 10px;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type a:first-of-type {
margin-left: 16px;
}
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type:hover > a,
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type.active > a,
.rd-navbar-fixed .rd-navbar-nav > li:last-of-type.opened > a {
background-color: transparent;
color: #222;
}
/* 尺寸設定 */
@media (max-width: 991px) {
.rd-navbar-fixed .rd-navbar-brand img {
max-width: 300px;
}
}
@media (max-width: 1199px) {
.other-link {
list-style: none;
margin: 15px 0 5px;
padding: 0;
text-align: center;
}
.other-link {
display: none;
}
}
@media (min-width: 992px) {
body {
padding-top: 130px;
}
.rd-navbar-brand img {
height: 50px;
}
.rd-navbar-nav > li:first-of-type {
display: none;
}
.rd-navbar-static .rd-navbar-nav > li + li {
margin-left: 0;
}
.rd-navbar-static .rd-navbar-nav > li > a,
.rd-navbar-fullwidth .rd-navbar-nav > li > a {
font-size: 1.1rem;
padding-left: 10px;
padding-right: 10px;
color: #000;
font-weight: bold;
transition: all .3s;
top: 0;
text-transform: capitalize;
margin: 0 10px;
}
.rd-navbar-static .rd-navbar-nav > li > a:hover,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:hover {
color: #000;
}
.rd-navbar-static .rd-navbar-nav > li > a:before,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:before {
content: "";
position: absolute;
z-index: -1;
left: 0;
right: 100%;
bottom: 0;
background: #000;
height: 2px;
-webkit-transition: right 0.3s ease-out;
transition: right 0.3s ease-out;
}
.rd-navbar-static .rd-navbar-nav > li > a:hover:before,
.rd-navbar-fullwidth .rd-navbar-nav > li > a:hover:before {
right: 0;
}
.rd-navbar-static .rd-navbar-nav > li.focus > a,
.rd-navbar-static .rd-navbar-nav > li.opened > a,
.rd-navbar-fullwidth .rd-navbar-nav > li.focus > a,
.rd-navbar-fullwidth .rd-navbar-nav > li.opened > a {
color: #000;
}
.rd-navbar-static .rd-navbar-nav > li > .rd-navbar-submenu-toggle,
.rd-navbar-fullwidth .rd-navbar-nav > li > .rd-navbar-submenu-toggle {
display: none;
}
.rd-navbar-static .rd-navbar-nav > li:nth-of-type(6) > a,
.rd-navbar-fullwidth .rd-navbar-nav > li:nth-of-type(6) > a {
display: none;
}
/* 上方選單 */
.rd-navbar-info {
position: absolute;
right: calc(0% + 36px);
top: -30px;
z-index: 2;
width: 100%;
text-align: right;
}
.other-link {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: end;
color: #000;
}
.other-link li {
margin-left: 15px;
}
.other-link li a {
display: inline-block;
color: #000;
font-size: 0.8rem;
}
}
@media (min-width: 1600px) {
body {
padding-top: 145px;
}
.rd-navbar-brand img {
height: 65px;
}
.rd-navbar-static .rd-navbar-nav > li > a,
.rd-navbar-fullwidth .rd-navbar-nav > li > a {
margin: 0 20px;
}
.rd-navbar-info {
right: calc(0% + 46px);
}
}

962
public/assets/css/index.css Normal file
View File

@ -0,0 +1,962 @@
@import url("../fonts/flaticon/flaticon.css");
@import url("../fonts/thin/thin.css");
@import url("../css/all.min.css");
@import url("revise.css");
@import url("header-index.css");
@import url("footer.css");
@import url("banner.css");
/*========================================================
標題設定
=========================================================*/
.h2-title {
font-size: 1.8rem;
font-weight: bold;
text-align: center;
margin-bottom: 0px;
position: relative;
color: #000;
font-family: 'Noto Serif TC', serif;
}
.h2-title+p {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 1.2rem;
text-align: center;
margin-bottom: 30px;
color: #e3c4a2;
}
@media (min-width: 992px) {
.h2-title {
font-size: 2rem;
}
.h2-title+p {
font-size: 1.6rem;
margin-bottom: 40px;
}
}
/*========================================================
按鈕設定
=========================================================*/
.btn-more {
width: 100%;
}
.btn-more {
text-align: center;
color: #000;
text-transform: uppercase;
position: relative;
padding: 30px;
display: block;
}
.btn-more a {
color: #000;
}
.btn-more a::before {
content: "+";
font-family: FontAwesome;
position: absolute;
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid #da9c2d;
color: #da9c2d;
bottom: 25px;
left: 49.5%;
-webkit-transform: translate(-50%, 100%);
transform: translate(-50%, 100%);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-weight: 600;
font-size: 20px;
}
.btn-more a:hover {
color: #da9c2d;
-webkit-animation: upDown 1.2s ease-in-out infinite;
animation: upDown 1.2s ease-in-out infinite;
}
.btn-more a:hover::before {
background-color: #da9c2d;
color: #fff;
}
/*========================================================
關於我們
=========================================================*/
.about-wrap {
background: #fff url("../img/index/about-bg.jpg") no-repeat left bottom;
background-size: 100% auto;
padding-top: 60px;
padding-bottom: 60px;
}
.about-info h2 {
font-weight: bold;
}
.about-info p {
margin-top: 30px;
margin-bottom: 30px;
}
.about-btn a {
display: inline-block;
background: linear-gradient(to bottom, #24afc0 0%,#1f68a4 100%);
color: #fff;
padding: 3px 20px;
border-radius: 20px;
}
.about-btn a:hover {
background: linear-gradient(to bottom, #2fe49e 0%,#2087a3 100%);
}
@media (min-width: 1200px) {
.about-wrap {
padding-top: 100px;
}
}
/*========================================================
服務項目
=========================================================*/
.service-wrap {
padding-top: 0px;
padding-bottom: 60px;
}
.service-info h2 {
font-weight: bold;
}
.service-info h2 span {
display: block;
font-weight: normal;
padding-left: 20px;
font-size: 0.9rem;
color: #333;
}
.service-info p {
margin-top: 30px;
margin-bottom: 30px;
}
.service-btn a {
display: inline-block;
background: linear-gradient(to bottom, #24afc0 0%,#1f68a4 100%);
color: #fff;
padding: 2px 15px;
border-radius: 15px;
font-size: 0.9rem;
}
.service-btn a:hover {
background: linear-gradient(to bottom, #2fe49e 0%,#2087a3 100%);
}
@media (min-width: 1200px) {
.service-wrap {
padding-top: 100px;
}
}
/*========================================================
消息與媒體
=========================================================*/
.news-wrap {
padding: 0 0 60px;
overflow: hidden;
}
.news-box h3 {
font-weight: bold;
margin-bottom: 40px;
}
.news-box h3 span {
display: block;
font-weight: normal;
padding-left: 20px;
font-size: 0.9rem;
color: #333;
}
.news-item {
padding: 10px;
border-bottom: 1px solid #b4b4b4;
font-size: 0.9rem;
line-height: 28px;
}
.news-item time {
color: #3368cb;
font-weight: bold;
}
.news-item h4 a {
display: block;
font-size: 1.1rem;
color: #000;
font-weight: bold;
}
.news-item p {
margin: 0;
color: #333;
}
.news-item p a {
display: block;
color: #000;
font-weight: bold;
position: relative;
padding-right: 60px;
}
.news-item p a:after {
font-family: 'Font Awesome 5 free';
content: "\f0a9";
font-weight: 900;
display: block;
position: absolute;
top: 10%;
right: 0;
transform: translateY(-10%);
z-index: 9;
color: #2bb39b;
font-size: 1.8rem;
}
.news-item p a:hover:after {
color: #3363cb;
}
.news-item h4 a:hover,
.news-item p a:hover {
color: #123c82;
}
.news-btn {
margin-top: 20px;
text-align: right;
}
.news-btn a {
display: inline-block;
background: linear-gradient(to bottom, #1fa3bb 0%,#1f68a4 100%);
color: #fff;
border-radius: 15px;
padding: 3px 20px;
font-weight: bold;
font-size: 0.9rem;
}
.news-btn a:hover {
background: linear-gradient(to bottom, #2fe49e 0%,#2087a3 100%);
}
@media (min-width: 1200px) {
.news-wrap {
padding-top: 100px;
}
}
/*========================================================
聯絡我們
=========================================================*/
.contact-wrap {
position: relative;
}
.contact-inner {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -60%);
z-index: 2;
text-align: center;
color: #fff;
}
.contact-inner h3 {
font-size: 2.6rem;
font-weight: bold;
}
.contact-inner p {
font-size: 1.1rem;
font-weight: bold;
margin-top: 20px;
margin-bottom: 30px;
}
.contact-btn a {
display: inline-block;
background: linear-gradient(to bottom, #05c69f 0%,#2e8bdb 100%);
color: #fff;
border-radius: 30px;
padding: 10px 50px;
font-weight: bold;
}
.contact-btn a:hover {
background: linear-gradient(to bottom, #1fa3bb 0%,#1f68a4 100%);
}
@media (max-width: 1199px) {
.contact-wrap > img {
object-fit: cover;
height: 400px;
}
}
@media (min-width: 1200px) {
.contact-inner h3 {
font-size: 3rem;
}
.contact-inner p {
font-size: 1.2rem;
}
}
/*========================================================
甜品介紹
=========================================================*/
.products-wrap {
padding: 0px;
position: relative;
overflow: hidden;
width: 100%;
background-image: url("../img/index/products_bg.jpg");
background-attachment: fixed;
background-size: cover;
background-position: left bottom;
background-repeat: no-repeat;
}
@media (max-width: 1180px) {
.products-wrap {
background-attachment: unset;
background-size: cover;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
height: auto;
padding: 0 0 0px;
}
}
@media (max-width: 1023px) {
.products-wrap {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.products-wrap .products-info {
position: absolute;
top: 0;
left: 0;
max-width: 655px;
height: 490px;
width: 100%;
}
@media (max-width: 1536px) {
.products-wrap .products-info {
max-width: unset;
width: 555px;
}
}
@media (max-width: 1180px) {
.products-wrap .products-info {
position: unset;
width: 50%;
max-width: unset;
height: auto;
}
}
@media (max-width: 1023px) {
.products-wrap .products-info {
width: 100%;
}
}
.products-wrap .products-info > div {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 118px 80px;
z-index: 2;
background-color: #fff;
}
@media (max-width: 1536px) {
.products-wrap .products-info > div {
padding: 54px;
}
}
@media (max-width: 1180px) {
.products-wrap .products-info > div {
padding: 40px;
}
}
@media (max-width: 767px) {
.products-wrap .products-info > div {
padding: 60px 40px;
}
}
.products-wrap .products-info > div h2 {
color: #000;
font-size: 2rem;
font-weight: bold;
letter-spacing: 0.5px;
text-align: center;
margin: 0;
font-family: 'Noto Serif TC', serif;
}
.products-wrap .products-info > div h3 {
color: #e3c4a2;
font-size: 2rem;
letter-spacing: 0.5px;
margin-top: 10px;
font-weight: bold;
text-align: center;
}
.products-wrap .products-info > div p {
color: #000;
display: block;
letter-spacing: 0.5px;
margin-top: 20px;
font-size: 1rem;
text-align: center;
font-weight: bold;
}
.products-wrap .products-info > div .more {
width: 100%;
}
.products-wrap .products-info > div .more a {
text-align: center;
color: #000;
text-transform: uppercase;
position: relative;
padding: 30px;
display: block;
}
.products-wrap .products-info > div .more a::before {
content: "+";
font-family: FontAwesome;
position: absolute;
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid #da9c2d;
color: #da9c2d;
bottom: 25px;
left: 49.5%;
-webkit-transform: translate(-50%, 100%);
transform: translate(-50%, 100%);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-weight: 600;
font-size: 20px;
}
.products-wrap .products-info > div .more a:hover {
color: #da9c2d;
-webkit-animation: upDown 1.2s ease-in-out infinite;
animation: upDown 1.2s ease-in-out infinite;
}
.products-wrap .products-info > div .more a:hover::before {
background-color: #da9c2d;
color: #fff;
}
.products-wrap .products-list {
width: 100%;
position: relative;
-webkit-transform: translateX(35%);
transform: translateX(35%);
margin: 0 -40px;
}
@media (max-width: 1536px) {
.products-wrap .products-list {
margin: 0;
}
}
@media (max-width: 1440px) {
.products-wrap .products-list {
-webkit-transform: translateX(37.3%);
transform: translateX(37.3%);
}
}
@media (max-width: 1366px) {
.products-wrap .products-list {
-webkit-transform: translateX(39.5%);
transform: translateX(39.5%);
}
}
@media (max-width: 1280px) {
.products-wrap .products-list {
-webkit-transform: translateX(42.1%);
transform: translateX(42.1%);
}
}
@media (max-width: 1180px) {
.products-wrap .products-list {
-webkit-transform: translate(0%, 0);
transform: translate(0%, 0);
width: 50%;
margin: 0;
}
}
@media (max-width: 1023px) {
.products-wrap .products-list {
width: 100%;
}
}
.products-item {
padding: 0 30px;
}
.products-item .Img img {
width: 100%;
display: block;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.products-item .Txt {
margin: 0 20px;
padding: 60px 40px;
border-left: 1px solid #dad9d7;
}
.products-item .Txt h3 {
font-family: 'Noto Serif TC', serif;
font-size: 1.8rem;
font-weight: bold;
}
.products-item .Txt ul {
list-style: none;
margin: 0;
padding: 0;
color: #53320f;
font-size: 0.9rem;
}
.products-item .Txt .buy a {
display: inline-block;
background-color: #bb4c15;
color: #fff;
padding: 0 15px;
margin: 20px 0;
}
.products-item .Txt .buy a:hover {
background-color: #da9c2d;
}
.products-list .products-item:nth-of-type(4n+1) .Txt h3 {
color: #ffb14c;
}
.products-list .products-item:nth-of-type(4n+2) .Txt h3 {
color: #b22b30;
}
.products-list .products-item:nth-of-type(4n+3) .Txt h3 {
color: #7e832f;
}
.products-list .products-item:nth-of-type(4n+4) .Txt h3 {
color: #772d18;
}
@media (max-width: 1180px) {
.products-item {
padding: 0;
}
}
.products-wrap .slick-prev,
.products-wrap .slick-next {
border-radius: 0;
}
.products-wrap .slick-arrow {
position: absolute;
-webkit-transform: translate(100%, 100%);
transform: translate(100%, 100%);
top: 424px;
width: 100px;
height: 100px;
cursor: pointer;
background-color: #2f2f2f;
z-index: 2;
}
@media (max-width: 1536px) {
.products-wrap .slick-arrow {
top: 294px;
}
}
@media (max-width: 1180px) {
.products-wrap .slick-arrow {
top: 31%;
width: 60px;
height: 60px;
}
}
@media (max-width: 1023px) {
.products-wrap .slick-arrow {
top: 47%;
}
}
@media (max-width: 768px) {
.products-wrap .slick-arrow {
top: 42%;
}
}
@media (max-width: 650px) {
.products-wrap .slick-arrow {
top: 35%;
}
}
@media (max-width: 540px) {
.products-wrap .slick-arrow {
top: 30%;
}
}
@media (max-width: 480px) {
.products-wrap .slick-arrow {
top: 21%;
}
}
@media (max-width: 375px) {
.products-wrap .slick-arrow {
top: 17%;
}
}
.products-wrap .slick-arrow:hover {
background-color: #da9c2d;
}
.products-wrap .slick-arrow::before {
content: "";
position: absolute;
top: 50%;
width: 15px;
height: 15px;
border-left: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.products-wrap .slick-arrow:focus {
background-color: #da9c2d;
}
.products-wrap .slick-arrow.slick-prev {
left: -269px;
}
@media (max-width: 1180px) {
.products-wrap .slick-arrow.slick-prev {
left: -180px;
}
}
@media (max-width: 1023px) {
.products-wrap .slick-arrow.slick-prev {
left: -60px;
}
}
@media (max-width: 768px) {
.products-wrap .slick-arrow.slick-prev {
left: -60px;
}
}
.products-wrap .slick-arrow.slick-prev::before {
left: 50%;
-webkit-transform: translateY(-50%) rotate(45deg);
transform: translateY(-50%) rotate(45deg);
}
.products-wrap .slick-arrow.slick-next {
left: -170px;
}
@media (max-width: 1180px) {
.products-wrap .slick-arrow.slick-next {
left: -120px;
}
}
@media (max-width: 1023px) {
.products-wrap .slick-arrow.slick-next {
left: 0px;
}
}
@media (max-width: 640px) {
.products-wrap .slick-arrow.slick-next {
left: 0px;
}
}
.products-wrap .slick-arrow.slick-next::before {
left: 40%;
-webkit-transform: translateY(-50%) rotate(-135deg);
transform: translateY(-50%) rotate(-135deg);
}
/*========================================================
原料與烘焙 & 主廚開講
=========================================================*/
.data-wrap {
background: #fbf9f4 url("../img/index/data-bg.jpg") no-repeat right bottom;
background-size: 120% auto;
padding-top: 60px;
padding-bottom: 40px;
color: #fff;
}
.data-item {
position: relative;
padding: 20px;
}
.data-item-img {
position: relative;
margin: 0;
display: block;
width: 100%;
text-decoration: none;
color: #fff;
}
.data-item-img h3 {
position: absolute;
left: 0;
bottom: -20px;
z-index: 2;
display: inline-block;
color: #fff;
width: 20%;
min-width: 100px;
text-align: center;
padding: 5px 15px;
font-size: 0.9rem;
background-color: #e5b35c;
}
.data-item-img:hover {
color: #fff
}
.data-item-img:hover .data-item-mask {
opacity: 1;
visibility: visible
}
.data-item-img:hover .data-item-mask::after {
height: 100%
}
.data-item-img img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover
}
.data-item-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: .625rem 1rem;
text-align: center;
color: #111;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
font-size: 1rem;
font-weight: 700;
transition: all .3s
}
.data-item-mask::after {
content: "";
position: absolute;
left: 0;
top: 50%;
height: 50px;
width: 100%;
background-color: rgba(227,196,162,0.5);
transform: translateY(-50%);
transition: all .3s
}
.data-item-mask span {
position: relative;
display: block;
z-index: 2;
padding: 6px 30px 4px;
border: 1px solid #111;
}
.data-item-info {
position: relative;
padding: 40px 20px 10px;
margin: 0 20px;
color: #111;
}
.data-item-info:before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 1px;
height: 100px;
background-color: #b3b3b3;
}
.data-item-info h4 {
font-weight: bold;
}
.data-item-info p span {
color: #d86a0a;
}
@media (min-width: 640px) {
.data-wrap {
padding-top: 60px;
padding-bottom: 20px;
}
.data-item-info {
padding: 40px;
}
}
@media (min-width: 992px) {
.data-wrap {
background: #fbf9f4 url("../img/index/data-bg.jpg") no-repeat center bottom;
background-size: 100% auto;
padding-top: 100px;
padding-bottom: 20px;
}
.data-item-info {
padding: 40px;
margin: 0 20px;
}
}
@media (min-width: 1200px) {
.data-wrap {
padding-top: 120px;
padding-bottom: 60px;
}
.data-item-info {
padding: 40px;
margin: 0 40px;
}
}
@media (min-width: 1600px) {
.data-wrap {
padding-top: 160px;
padding-bottom: 100px;
}
.data-item-info {
margin: 0 100px;
}
}
/*========================================================
圖片效果
=========================================================*/
a.figure {
display: block;
position: relative;
}
a.figure:before,a.figure:after {
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
right: 10px;
z-index: 10;
content: '';
display: inline-block;
opacity: 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
transition: .3s;
}
a.figure:before {
background: #fff;
}
a.figure:after {
background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
-webkit-transform: scale(1);
transform: scale(1);
}
a.figure:hover:before {
opacity: 0.15;
}
a.figure:hover:after {
opacity: 1;
}
.picture-effect {
position: relative;
overflow: hidden;
z-index: 1;
}
.picture-effect img {
transform: scale(1);
transition: .3s ease-out all;
}
.picture-effect a {
display: block;
position: relative;
}
.picture-effect a:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(12, 56, 98, 0.4);
pointer-events: none;
z-index: 1;
opacity: 0;
transition: .3s ease-out all;
}
.picture-effect a:hover:before {
opacity: 1;
}
.picture-effect a:hover img {
transform: scale(1.1);
}

View File

@ -0,0 +1,946 @@
@import url("../fonts/flaticon/flaticon.css");
@import url("../fonts/thin/thin.css");
@import url("../css/all.min.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");
/*========================================================
標題設定
=========================================================*/
.h2-title {
font-size: 1.8rem;
text-align: center;
margin-bottom: 40px;
position: relative;
color: #000;
font-weight: bold;
}
.h2-title span {
padding: 0 20px;
}
.h2-title:before,
.h2-title:after {
content: '';
display: inline-block;
vertical-align: middle;
height: 6px;
background-color: #0d4180;
position: relative;
top: -3px;
}
.h2-title:before {
width: 70px;
margin-left: -70px;
}
.h2-title:after {
width: 70px;
margin-right: -70px;
}
@media (min-width: 992px) {
.h2-title {
font-size: 2rem;
}
.h2-title span {
padding: 0 30px;
}
.h2-title:before {
width: 100px;
margin-left: -100px;
}
.h2-title:after {
width: 100px;
margin-right: -100px;
}
}
/*========================================================
按鈕設定
=========================================================*/
.btn-more {
margin-bottom: 30px;
}
.btn-more a {
display: inline-block;
background: #da632e url("../img/index/arrow-icon1.png") no-repeat calc(100% - 30px) center;
padding: 5px 70px 5px 30px;
border-radius: 20px;
color: #fff;
}
.btn-more a:hover {
background-color: #1475a8;
padding: 5px 80px 5px 40px;
}
@media (min-width: 992px) {
.btn-more {
margin-bottom: 0px;
}
}
/*========================================================
產品系列
=========================================================*/
.service-wrap {
background: url("../img/index/service-bg.jpg") no-repeat center top;
background-size: cover;
padding-top: 80px;
padding-bottom: 80px;
padding-left: 5%;
padding-right: 5%;
}
.service-wrap img {
width: 100%;
vertical-align: bottom;
}
.service-item {
position: relative;
}
.service-item h3 {
background: #2e88cb; /* Old browsers */
background: -moz-linear-gradient(top, #2e88cb 0%, #14569f 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #2e88cb 0%,#14569f 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #2e88cb 0%,#14569f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e88cb', endColorstr='#14569f',GradientType=0 ); /* IE6-9 */
color: #fff;
font-weight: bold;
text-align: center;
font-size: 1.2rem;
padding: 15px 5px;
margin: 0;
}
.service-item p {
padding: 20px;
}
.service-item-img {
position: relative;
margin: 0;
display: block;
width: 100%;
text-decoration: none;
color: #fff;
overflow: hidden;
border: 10px solid #e9e9e9;
}
.service-item-img:hover {
color: #fff
}
.service-item-img:hover .service-item-mask {
opacity: 1;
visibility: visible
}
.service-item-img:hover .service-item-mask::after {
height: 100%
}
.service-item-img img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover
}
.service-item-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: .625rem 1rem;
text-align: center;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
font-size: 1rem;
font-weight: 700;
transition: all .3s
}
.service-item-mask::after {
content: "";
position: absolute;
left: 0;
top: 50%;
height: 50px;
width: 100%;
background-color: rgba(0, 0, 0, .3);
transform: translateY(-50%);
transition: all .3s
}
.service-item-mask span {
position: relative;
display: block;
z-index: 2;
padding: 6px 30px 4px;
border: 1px solid #fff;
}
@media (min-width: 1600px) {
.service-wrap {
padding-left: 10%;
padding-right: 10%;
}
}
/*========================================================
關於我們
=========================================================*/
.about-wrap {
background: url("../img/index/about-bg.jpg") no-repeat center top;
background-size: cover;
padding-top: 80px;
padding-bottom: 80px;
color: #fff;
}
.about-wrap h2 {
color: #fff;
}
.about-wrap h2:before,
.about-wrap h2:after {
background-color: #FFFFFF;
}
.about-info {
text-align: center;
margin-bottom: 3rem;
}
.about-info p:first-child {
font-size: 1.2rem;
}
.about-wrap ul {
list-style: none;
margin: 0 0 20px 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.about-wrap ul li {
background: url("../img/index/about-icon.png") no-repeat left 2px;
padding-left: 30px;
margin: 0 20px 10px 20px;
}
.about-logo {
background-color: #fff;
max-width: 1200px;
margin: 0 auto 3rem;
}
.about-item {
margin: 20px 30px;
}
.about-item img {
width: 100%;
vertical-align: bottom;
}
.about-btn {
text-align: center;
}
.about-btn a {
color: #fff;
display: inline-block;
font-weight: bold;
padding: 3px 15px;
border-bottom: 1px solid #fff;
}
.about-btn a:hover {
color: #d21916;
border-bottom: 1px solid #d21916;
}
@media (min-width: 1200px) {
.about-wrap {
background: url("../img/index/about-bg.jpg") no-repeat center bottom;
background-size: cover;
padding-top: 60px;
padding-bottom: 60px;
color: #fff;
}
.about-info p:first-child {
font-size: 1.4rem;
}
.about-wrap ul {
font-size: 1.2rem;
justify-content: center;
}
}
/*========================================================
訊息中心
=========================================================*/
.news-wrap {
background: url("../img/index/news-bg.jpg") no-repeat center center;
padding-top: 80px;
padding-bottom: 80px;
padding-left: 5%;
padding-right: 5%;
}
.news-wrap img {
width: 100%;
vertical-align: bottom;
}
.news-item {
position: relative;
padding: 20px;
}
.news-item-img {
position: relative;
margin: 0;
display: block;
width: 100%;
text-decoration: none;
color: #fff;
background-color: #f0f4f8;
overflow: hidden;
border: 6px solid #fff;
transition: all .3s
}
.news-item-img:hover {
color: #fff;
border-color: #d21916;
}
.news-item-img:hover .news-item-mask {
opacity: 1;
visibility: visible
}
.news-item-img:hover .news-item-mask::after {
height: 100%
}
.news-item-img img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover
}
.news-item-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: .625rem 1rem;
text-align: center;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
font-size: 1rem;
font-weight: 700;
transition: all .3s
}
.news-item-mask::after {
content: "";
position: absolute;
left: 0;
top: 50%;
height: 50px;
width: 100%;
background-color: rgba(0, 0, 0, .3);
transform: translateY(-50%);
transition: all .3s
}
.news-item-mask span {
position: relative;
display: block;
z-index: 2;
padding: 5px 30px;
}
.news-item-info {
position: relative;
top: -50px;
z-index: 4;
background-color: #fff;
width: 86%;
text-align: left;
padding: 20px 30px;
}
.news-item-info h3 {
color: #0d375e;
font-weight: bold;
font-size: 1.3rem;
}
.news-item-info p {
color: #4e4e4e;
font-size: 0.8rem;
line-height: 24px;
}
.news-item-btn {
margin-top: 10px;
}
.news-item-btn a {
display: inline-block;
color: #111;
border: 1px solid #111;
padding: 1px 20px 0px 20px;
font-size: 0.9rem;
}
.news-item-btn a:hover {
color: #fff;
background-color: #d21916;
border-color: #d21916;
}
.news-btn {
text-align: center;
}
.news-btn a {
display: inline-block;
color: #fff;
background-color: #247ac1;
padding: 3px 30px;
font-weight: bold;
}
.news-btn a:hover {
background-color: #d21916;
}
@media (min-width: 992px) {
.news {
padding-bottom: 0;
position: relative;
top: -140px;
z-index: 10;
}
.news > div {
padding: 50px 50px 0 50px;
}
}
/*========================================================
圖片效果
=========================================================*/
a.figure {
display: block;
position: relative;
}
a.figure:before,a.figure:after {
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
right: 10px;
z-index: 10;
content: '';
display: inline-block;
opacity: 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
transition: .3s;
}
a.figure:before {
background: #fff;
}
a.figure:after {
background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
-webkit-transform: scale(1);
transform: scale(1);
}
a.figure:hover:before {
opacity: 0.15;
}
a.figure:hover:after {
opacity: 1;
}
.picture-effect {
position: relative;
overflow: hidden;
z-index: 1;
}
.picture-effect img {
transform: scale(1);
transition: .3s ease-out all;
}
.picture-effect a {
display: block;
position: relative;
}
.picture-effect a:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(12, 56, 98, 0.4);
pointer-events: none;
z-index: 1;
opacity: 0;
transition: .3s ease-out all;
}
.picture-effect a:hover:before {
opacity: 1;
}
.picture-effect a:hover img {
transform: scale(1.1);
}
.facArea {
padding: 0px;
position: relative;
overflow: hidden;
width: 100%;
height: 960px;
background-image: url("../images/home_fac_bg.jpg");
background-attachment: fixed;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media (max-width: 1180px) {
.facArea {
background-attachment: unset;
background-size: cover;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
height: auto;
padding: 0 0 85px;
}
}
@media (max-width: 1023px) {
.facArea {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.facArea .abtBox {
position: absolute;
top: 0;
left: 85px;
max-width: 570px;
height: 490px;
width: 100%;
}
@media (max-width: 1536px) {
.facArea .abtBox {
max-width: unset;
width: 461px;
}
}
@media (max-width: 1180px) {
.facArea .abtBox {
position: unset;
width: 50%;
max-width: unset;
height: auto;
}
}
@media (max-width: 1023px) {
.facArea .abtBox {
width: 100%;
}
}
.facArea .abtBox .Txt {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 100px;
z-index: 2;
background-color: #fff;
}
@media (max-width: 767px) {
.facArea .abtBox .Txt {
padding: 40px;
}
}
.facArea .abtBox .Txt .textBox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.facArea .abtBox .Txt .title {
color: #000;
font-size: 42px;
font-weight: 400;
line-height: 1.2;
letter-spacing: 0.5px;
font-family: "Tenor Sans";
text-align: center;
}
.facArea .abtBox .Txt .title em {
color: #da9c2d;
}
.facArea .abtBox .Txt .subtitle {
color: #000;
display: block;
font-size: 25px;
line-height: 1.2;
letter-spacing: 0.5px;
margin-top: 10px;
font-weight: 400;
text-align: center;
}
.facArea .abtBox .Txt .subtitle em {
font-family: "Tenor Sans";
margin: 0 5px;
}
.facArea .abtBox .Txt .text {
color: #444;
display: block;
line-height: 1.5;
letter-spacing: 0.5px;
margin-top: 20px;
font-size: 15px;
text-align: center;
font-weight: 400;
}
.facArea .abtBox .Txt .moreBtn {
width: 100%;
}
.facArea .abtBox .Txt .moreBtn a {
text-align: center;
color: #000;
text-transform: uppercase;
position: relative;
font-family: "Tenor Sans";
padding: 50px;
display: block;
}
.facArea .abtBox .Txt .moreBtn a::before {
content: "+";
font-family: FontAwesome;
position: absolute;
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid #da9c2d;
color: #da9c2d;
bottom: 25px;
left: 49.5%;
-webkit-transform: translate(-50%, 100%);
transform: translate(-50%, 100%);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-weight: 600;
font-size: 20px;
}
.facArea .abtBox .Txt .moreBtn a:hover {
color: #da9c2d;
-webkit-animation: upDown 1.2s ease-in-out infinite;
animation: upDown 1.2s ease-in-out infinite;
}
.facArea .abtBox .Txt .moreBtn a:hover::before {
background-color: #da9c2d;
color: #fff;
}
.facArea .facList {
width: 100%;
position: relative;
-webkit-transform: translateX(35%);
transform: translateX(35%);
margin: 0 -40px;
}
@media (max-width: 1536px) {
.facArea .facList {
margin: 0;
}
}
@media (max-width: 1440px) {
.facArea .facList {
-webkit-transform: translateX(37.3%);
transform: translateX(37.3%);
}
}
@media (max-width: 1366px) {
.facArea .facList {
-webkit-transform: translateX(39.5%);
transform: translateX(39.5%);
}
}
@media (max-width: 1280px) {
.facArea .facList {
-webkit-transform: translateX(42.1%);
transform: translateX(42.1%);
}
}
@media (max-width: 1180px) {
.facArea .facList {
-webkit-transform: translate(0%, 0);
transform: translate(0%, 0);
width: 50%;
margin: 0;
}
}
@media (max-width: 1023px) {
.facArea .facList {
width: 100%;
}
}
.facArea .facItem {
padding: 0 30px;
}
@media (max-width: 1180px) {
.facArea .facItem {
padding: 0;
}
}
.facArea .item {
position: relative;
overflow: hidden;
}
.facArea .item::before {
content: "";
position: absolute;
width: 1px;
height: 280px;
background-color: rgba(0, 0, 0, 0.2);
bottom: 0;
left: 20px;
z-index: 2;
}
@media (max-width: 1180px) {
.facArea .item::before {
left: 30px;
}
}
.facArea .Img img {
width: 100%;
display: block;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.facArea .Txt {
width: 100%;
padding: 50px 40px 0;
color: #888888;
font-size: 15px;
}
@media (max-width: 1180px) {
.facArea .Txt {
padding: 50px 60px 0;
}
}
.facArea .Txt .title {
padding-bottom: 2px;
}
.facArea .Txt .title a {
color: #000;
font-size: 20px;
}
.facArea .Txt .text {
margin: 0 0 15px 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@media (max-width: 640px) {
.facArea .Txt .text {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.facArea .Txt .text .tit {
color: #da9c2d;
}
@media (max-width: 640px) {
.facArea .Txt .text .tit {
margin: 0px 0 10px 0;
}
}
.facArea .Txt .btnBox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.facArea .Txt .btnBox svg {
width: 21px;
height: 15px;
color: #888888;
margin: 0 0px 0 10px;
}
.facArea .Txt .btnBox .btn {
margin: 0px 20px 0 0;
}
.facArea .Txt .btnBox .btn a {
color: #888888;
padding: 2px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0);
font-family: "Tenor Sans";
font-size: 15px;
display: inline-block;
letter-spacing: 0.5px;
}
.facArea .Txt .btnBox .btn:hover a {
color: #da9c2d;
border-bottom: 1px solid #da9c2d;
letter-spacing: 2px;
}
.facArea .Txt .btnBox .btn:hover svg {
color: #da9c2d;
}
.facArea .slick-arrow {
position: absolute;
-webkit-transform: translate(100%, 100%);
transform: translate(100%, 100%);
top: 394px;
width: 100px;
height: 100px;
cursor: pointer;
background-color: #2f2f2f;
z-index: 2;
}
@media (max-width: 1536px) {
.facArea .slick-arrow {
top: 465px;
}
}
@media (max-width: 1180px) {
.facArea .slick-arrow {
top: 65%;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow {
top: 52%;
width: 60px;
height: 60px;
}
}
@media (max-width: 650px) {
.facArea .slick-arrow {
top: 45%;
}
}
@media (max-width: 540px) {
.facArea .slick-arrow {
top: 40%;
}
}
@media (max-width: 480px) {
.facArea .slick-arrow {
top: 35%;
}
}
@media (max-width: 375px) {
.facArea .slick-arrow {
top: 130px;
}
}
.facArea .slick-arrow:hover {
background-color: #da9c2d;
}
.facArea .slick-arrow::before {
content: "";
position: absolute;
top: 50%;
width: 15px;
height: 15px;
border-left: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.facArea .slick-arrow:focus {
background-color: #da9c2d;
}
.facArea .slick-arrow.slick-prev {
left: -269px;
}
@media (max-width: 1180px) {
.facArea .slick-arrow.slick-prev {
left: -300px;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow.slick-prev {
left: -60px;
}
}
@media (max-width: 768px) {
.facArea .slick-arrow.slick-prev {
left: -60px;
}
}
.facArea .slick-arrow.slick-prev::before {
left: 45%;
-webkit-transform: translateY(-50%) rotate(45deg);
transform: translateY(-50%) rotate(45deg);
}
.facArea .slick-arrow.slick-next {
left: -170px;
}
@media (max-width: 1180px) {
.facArea .slick-arrow.slick-next {
left: -200px;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow.slick-next {
left: 0px;
}
}
@media (max-width: 640px) {
.facArea .slick-arrow.slick-next {
left: 0px;
}
}
.facArea .slick-arrow.slick-next::before {
right: 45%;
-webkit-transform: translateY(-50%) rotate(-135deg);
transform: translateY(-50%) rotate(-135deg);
}

1513
public/assets/css/page.css Normal file

File diff suppressed because it is too large Load Diff

1892
public/assets/css/page1.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,722 @@
/*========================================================
共同設定設定
=========================================================*/
html {
image-rendering: -webkit-optimize-contrast;
}
a {
transition: all 0.2s;
word-wrap: break-word;
word-break: break-all;
}
.img-style img {
display: inline-block;
max-width: 100%;
height: auto !important;
}
.font-300 {
text-align: center;
font-size: 2rem;
line-height: 300px;
}
/* 標題 */
.title-wrap {
color: #000;
text-align: center;
margin-bottom: 60px;
}
.title-wrap h2 {
font-size: 1rem;
width: 100%;
overflow: hidden;
margin-bottom: 20px;
}
.title-wrap h2 span {
padding: 0 10px;
}
.title-wrap h2:before,
.title-wrap h2:after {
content: '';
display: inline-block;
vertical-align: middle;
height: 1px;
background-color: #246b24;
}
.title-wrap h2:before {
width: 100px;
margin-left: -100px;
}
.title-wrap h2:after {
width: 100px;
margin-right: -100px;
}
.title-wrap h2+p {
font-size: 2rem;
}
/*========================================================
Grid 設定
=========================================================*/
@media (min-width: 1600px) {
.container {
max-width: 1480px;
}
}
.col-bg-1, .col-bg-2, .col-bg-3, .col-bg-4, .col-bg-5, .col-bg-6, .col-bg-7, .col-bg-8, .col-bg-9, .col-bg-10, .col-bg-11, .col-bg-12, .col-bg,
.col-bg-auto {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
@media (min-width: 1600px) {
.col-bg {
-ms-flex-preferred-size: 0;
flex-basis: 0;
-ms-flex-positive: 1;
flex-grow: 1;
max-width: 100%;
}
.col-bg-auto {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: auto;
max-width: 100%;
}
.col-bg-1 {
-ms-flex: 0 0 8.333333%;
flex: 0 0 8.333333%;
max-width: 8.333333%;
}
.col-bg-2 {
-ms-flex: 0 0 16.666667%;
flex: 0 0 16.666667%;
max-width: 16.666667%;
}
.col-bg-3 {
-ms-flex: 0 0 25%;
flex: 0 0 25%;
max-width: 25%;
}
.col-bg-4 {
-ms-flex: 0 0 33.333333%;
flex: 0 0 33.333333%;
max-width: 33.333333%;
}
.col-bg-5 {
-ms-flex: 0 0 41.666667%;
flex: 0 0 41.666667%;
max-width: 41.666667%;
}
.col-bg-6 {
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
}
.col-bg-7 {
-ms-flex: 0 0 58.333333%;
flex: 0 0 58.333333%;
max-width: 58.333333%;
}
.col-bg-8 {
-ms-flex: 0 0 66.666667%;
flex: 0 0 66.666667%;
max-width: 66.666667%;
}
.col-bg-9 {
-ms-flex: 0 0 75%;
flex: 0 0 75%;
max-width: 75%;
}
.col-bg-10 {
-ms-flex: 0 0 83.333333%;
flex: 0 0 83.333333%;
max-width: 83.333333%;
}
.col-bg-11 {
-ms-flex: 0 0 91.666667%;
flex: 0 0 91.666667%;
max-width: 91.666667%;
}
.col-bg-12 {
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
}
.order-bg-first {
-ms-flex-order: -1;
order: -1;
}
.order-bg-last {
-ms-flex-order: 13;
order: 13;
}
.order-bg-0 {
-ms-flex-order: 0;
order: 0;
}
.order-bg-1 {
-ms-flex-order: 1;
order: 1;
}
.order-bg-2 {
-ms-flex-order: 2;
order: 2;
}
.order-bg-3 {
-ms-flex-order: 3;
order: 3;
}
.order-bg-4 {
-ms-flex-order: 4;
order: 4;
}
.order-bg-5 {
-ms-flex-order: 5;
order: 5;
}
.order-bg-6 {
-ms-flex-order: 6;
order: 6;
}
.order-bg-7 {
-ms-flex-order: 7;
order: 7;
}
.order-bg-8 {
-ms-flex-order: 8;
order: 8;
}
.order-bg-9 {
-ms-flex-order: 9;
order: 9;
}
.order-bg-10 {
-ms-flex-order: 10;
order: 10;
}
.order-bg-11 {
-ms-flex-order: 11;
order: 11;
}
.order-bg-12 {
-ms-flex-order: 12;
order: 12;
}
.offset-bg-0 {
margin-left: 0;
}
.offset-bg-1 {
margin-left: 8.333333%;
}
.offset-bg-2 {
margin-left: 16.666667%;
}
.offset-bg-3 {
margin-left: 25%;
}
.offset-bg-4 {
margin-left: 33.333333%;
}
.offset-bg-5 {
margin-left: 41.666667%;
}
.offset-bg-6 {
margin-left: 50%;
}
.offset-bg-7 {
margin-left: 58.333333%;
}
.offset-bg-8 {
margin-left: 66.666667%;
}
.offset-bg-9 {
margin-left: 75%;
}
.offset-bg-10 {
margin-left: 83.333333%;
}
.offset-bg-11 {
margin-left: 91.666667%;
}
.d-bg-flex {
display: -ms-flexbox !important;
display: flex !important;
}
}
/*========================================================
影片大小設定
=========================================================*/
.video-iframe iframe, .video-iframe embed {
width: 100% !important;
height: 300px !important;
margin-top: 20px;
margin-bottom: 20px;
}
.video-embed {
text-align: center;
}
@media (min-width: 768px) {
.video-iframe iframe, .video-iframe embed {
height: 420px !important;
}
}
@media (min-width: 992px) {
.video-iframe iframe, .video-iframe embed {
height: 520px !important;
}
}
@media (min-width: 1200px) {
.video-iframe iframe, .video-iframe embed {
height: 460px !important;
}
}
@media (min-width: 1600px) {
.video-iframe iframe, .video-iframe embed {
width: 70% !important;
margin: 0 auto;
height: 640px !important;
}
}
@media (min-width: 1800px) {
.video-iframe iframe, .video-iframe embed {
width: 65% !important;
}
}
/*========================================================
其他設定
=========================================================*/
/* 寬度設定 */
@media (min-width: 576px) {
.w-sm-25 {
width: 25% !important;
}
.w-sm-50 {
width: 50% !important;
}
.w-sm-75 {
width: 75% !important;
}
.w-sm-100 {
width: 100% !important;
}
}
@media (min-width: 768px) {
.w-md-25 {
width: 25% !important;
}
.w-md-50 {
width: 50% !important;
}
.w-md-75 {
width: 75% !important;
}
.w-md-100 {
width: 100% !important;
}
}
@media (min-width: 992px) {
.w-lg-25 {
width: 25% !important;
}
.w-lg-50 {
width: 50% !important;
}
.w-lg-75 {
width: 75% !important;
}
.w-lg-100 {
width: 100% !important;
}
}
@media (min-width: 1200px) {
.w-xl-25 {
width: 25% !important;
}
.w-xl-50 {
width: 50% !important;
}
.w-xl-75 {
width: 75% !important;
}
.w-xl-100 {
width: 100% !important;
}
}
@media (min-width: 1600px) {
.w-bg-25 {
width: 25% !important;
}
.w-bg-50 {
width: 50% !important;
}
.w-bg-75 {
width: 75% !important;
}
.w-bg-100 {
width: 100% !important;
}
}
/* 字體大小 */
.fs-1x {
font-size: 1rem;
}
.fs-2x {
font-size: 1.5rem;
}
.fs-3x {
font-size: 2rem;
}
.fs-4x {
font-size: 2.5rem;
}
.fs-5x {
font-size: 3rem;
}
/* 按鈕顏色 */
.btn-warning {
color: #fff;
background-color: #bb4c15;
border-color: #bb4c15;
}
.btn-warning:hover {
color: #fff;
background-color: #e5b35c;
border-color: #e5b35c;
}
/* 頁碼 */
.page-ex2 .page-link {
padding: 0.1rem 0.5rem;
border-radius: 50%;
margin-left: 5px;
margin-right: 5px;
color: #333;
}
.page-ex2 .prev, .page-ex2 .next {
border: none;
}
.page-ex2 .page-item.active .page-link, .page-ex2 .page-item .page-link:hover {
color: #fff;
background-color: #333;
border-color: #333;
}
/*========================================================
頁面置頂 scrollUp
=========================================================*/
#scrollUp {
position: fixed;
bottom: 80px;
right: 20px;
width: 50px;
height: 50px;
background-color: #137eb6;
border-radius: 50%;
}
#scrollUp:after {
font-family: 'Font Awesome 5 free';
content: "\f077";
font-weight: 900;
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 9;
color: #fff;
font-size: 1.2rem;
}
@media (max-width: 991.98px){
#scrollUp {
bottom: 100px;
right: 10px;
width: 30px;
height: 30px;
}
}
/*========================================================
footer-icon (右側)
=========================================================*/
.icon_Community a.js-btn-icon_Community {
text-align: center;
width: 50px;
line-height: 47px;
border-radius: 100px;
position: absolute;
bottom: 0;
left: 0;
padding: 0;
cursor: pointer;
color: #fff;
background: #000;
font-size: 22px;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
height: 50px;
pointer-events: auto;
}
.js-btn-icon_Community:hover,
.js-btn-icon_Community:focus {
color: #fff;
background-color: #d0a57f;
border-color: #d0a57f;
}
.js-icon_Community .icon_li {
position: relative;
left: -100px;
}
.icon_li_img {
max-width: 50px;
width: 100%;
height: auto;
display: block;
position: absolute;
left: 0;
z-index: 1;
}
.js-icon_Community.active .icon_li {
left: 0;
pointer-events: auto;
}
.js-icon_Community .icon_li:nth-child(1) {
transition: all 0.1s ease-out;
-moz-transition: all 0.1s ease-out;
-o-transition: all 0.1s ease-out;
-webkit-transition: all 0.1s ease-out;
}
.js-icon_Community .icon_li:nth-child(2) {
transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.js-icon_Community .icon_li:nth-child(3) {
transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
-webkit-transition: all 0.5s ease-out;
}
.icon_li a:hover .icon{
animation: go 3s linear infinite;
}
@keyframes go {
10% {
transform: rotate(15deg);
}
20% {
transform: rotate(-10deg);
}
30% {
transform: rotate(5deg);
}
40% {
transform: rotate(-5deg);
}
50%,100% {
transform: rotate(0deg);
}
}
@media (max-width: 539px){
.icon_Community_ul .icon_li:nth-of-type(1),
.icon_Community_ul .icon_li:nth-of-type(2) {
width: 17%;
}
.icon_Community_ul .icon_li:nth-of-type(3),
.icon_Community_ul .icon_li:nth-of-type(5) {
width: 21%;
}
.icon_Community_ul .icon_li:nth-of-type(4){
width: 24%;
}
}
@media (max-width: 991.98px){
.icon_Community {
width: 100%;
position: fixed;
left: auto;
bottom: 0;
right: 0;
z-index: 999998;
pointer-events: none;
}
.icon_Community_ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}
.icon_Community_ul .icon_li {
width: 33.33%;
border-right: 1px solid #fff;
}
.icon_Community_ul .icon_li:last-child {
border-right: none;
}
.icon_Community_ul .icon_name {
font-size: 0.9rem;
padding-top: 5px;
}
.icon_img {
display: block;
background: #d0a57f;
overflow: hidden;
text-align: center;
color: #fff;
position: relative;
padding: 10px 5px;
text-decoration: none;
}
.icon_img_add {
background: #bb4c15;
}
.icon_img_buy {
background: #b22b30;
}
.icon_Community a{
color: #fff;
text-decoration:none;
}
.icon_Community a img{
display: block;
margin: 0 auto;
width: 22px;
}
.icon_Community a:hover{
background-color: #e5b35c;
}
.icon_Community a:hover img{
animation: go 3s linear infinite;
}
}
@media (min-width: 992px){
.icon_Community {
position: fixed;
right: 20px;
bottom: 80px;
z-index: 9998;
pointer-events: none;
}
.icon_Community_ul {
list-style: none;
padding: 0;
flex-direction: column;
align-items: flex-end;
display: flex;
margin-bottom: 50px;
}
.icon_img {
background: #d0a57f;
border: none;
overflow: hidden;
text-align: center;
margin-bottom: 6px;
width: 50px;
text-decoration: none;
border-radius: 100px;
color: #fff;
transition: all 0.3s ease;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.icon_img_add {
background: #bb4c15;
}
.icon_img_buy {
background: #b22b30;
}
.icon_img.active {
width: 142px;
}
.icon_img.active .icon_name {
text-indent: 0;
opacity: 1;
}
.icon_img:hover {
text-decoration: none;
width: 142px;
}
.icon_img:before {
opacity: 0;
}
.icon_img .icon {
color: #fff;
font-size: 22px;
width: 50px;
line-height: 50px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
right: 0;
z-index: 1;
}
.icon_img:hover .icon {
text-decoration: none;
}
.icon_img:hover .icon_name {
opacity: 1;
text-indent: 0;
}
.icon_name {
position: relative;
line-height: 50px;
padding-left: 15px;
padding-right: 50px;
transition: all 0.3s ease;
opacity: 0;
text-decoration: none;
color: #fff;
white-space: nowrap;
border-radius: 100px;
overflow: hidden;
font-family: Arial, "Microsoft JhengHei", sans-serif;
}
}
.modal {
z-index: 9999;
}