.float_left{ float: left; } .float_right{ float: right; } .clear_both{ clear: both; } .text-left{ text-align: left; } .text-center{ text-align: center; } .text-right{ text-align: right; } .text-justify{ text-align: justify; } .text-nowrap{ text-align: nowrap; } ul{ list-style: none; } table{ margin: 0 auto; font-family: 微軟正黑體,verdana; } p{ text-align: center; } body{ font-size: 62.5%; font-family: 微軟正黑體,verdana; } .wrap{ width: 960px;/* w960+tap */ margin: 0 auto;/* m+tap 置中*/ } .banner img{ width: 100%; margin: 20px 0; } .header_title h2 { text-align: center; padding: 20px 0; font-size: 2em; font-weight: bold; background-color: #e4b053; color: #fff; } .title h2{ text-align: center; padding: 20px 0; font-size: 26px; font-weight: bold; border: 1px solid #b7b7b7; } .left_title h2 { text-align: center; padding: 20px 0; font-size: 26px; font-weight: bold; background-color: #e4b053; color: #fff; } /*-------------------↑整體調整↑-------------------*/ /*-------------------↓主選單↓-------------------*/ .menu{ margin: 5px 0 30px 0; } .logo img{ margin: 0 auto; width: 450px; } .og img{ width: 50px; height: 50px; } .up { text-indent: -9999px; width: 190px; height: 60px; background-repeat: no-repeat; background-position: center; } .up01{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu01.png); } .up01:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu01a.png); } .up02{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu02.png); } .up02:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu02a.png); } .up03{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu03.png); } .up03:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu03a.png); } .up04{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu04.png); } .up04:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu04a.png); } .up05{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu05.png); } .up05:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/menu05a.png); } /*-------------------↑主選單↑-----------------*/ /*-------------------↓銷售縮圖↓------------------*/ .top_sale{ margin: 10px 0; height: 180px; } .top_sale_tb{ height: 100%; margin: 0 auto; } .top_sale_tb img{ width: 90%; vertical-align : middle; } .top_sale_tb img:hover{ width: 110%; transition: 0.2s,liner; -o-transition: 0.2s,liner; -webkit-transition: 0.2s,liner; -ms-transition: 0.2s,liner; -moz-transition: 0.2s,liner; } /*-------------------↑銷售縮圖↑-----------------*/ /*-------------------↓商品頁↓------------------*/ .product_main_pic img{ width: 100%; max-width: 100%; } .product_infor{ padding: 0 10px; font-family: 微軟正黑體,verdana; } .product_infor h3{ color: #e4b053; text-align: center; font-size: 1.3em; font-weight: bold; padding: 15px 0; } .product_infor p{ color: dimgray; text-align: left; line-height: 1.65em; font-size: 0.95em; letter-spacing: 0.1em; } .product_infor .benefit { color: #e4b053; font-weight: 500; } .product_infor .notsale { text-align: center; padding: 5px; color: #fff; background-color: #f04c24; font-weight: 900; } .buy { margin: 0 3px 3px 0; font-family: 微軟正黑體, verdana; font-weight: 400; } .buy .price { font-size: 1.5em; font-weight: 700; font-family: serif; } .group_price{ margin-bottom: 3px; cursor: default; } .group_price span{ font-size: 1.5em; font-weight: 400; font-family: serif; padding-right: 5px; color: #d4583a; } .buy s { font-size: 0.65em; font-weight: bold; padding-right: 2px; } .product_add{ margin: 20px 0; } .add_show img{ width: 100%; max-width: 100%; } .add_thumbnail{ padding: 20px 10px 0 0; float: left; } .add_thumbnail img{ width: 120px; height: 90px; } /*-------------------↑商品頁↑-----------------*/ /*-------------------↓footer↓------------------*/ footer{ margin:100px 0 0 0; } .bottom_footer i{ display: block; width: 64px; height: 64px; margin: 0 auto; } .bottom_footer i:hover{ transition: 0.2s linear; } .bottom_footer .footer01{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer01.png); } .bottom_footer .footer01:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer01a.png); } .bottom_footer .footer02{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer02.png); } .bottom_footer .footer02:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer02a.png); } .bottom_footer .footer03{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer03.png); } .bottom_footer .footer03:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer03a.png); } .bottom_footer .footer04{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer04.png); } .bottom_footer .footer04:hover{ background-image: url(http://www.goodshop.tw/potaphone/Image/footer04a.png); } .footer_item{ margin: 0 auto; } .bottom_footer{ background-color: #333; color: #FFF; padding: 20px 0; } .bottom_footer { background-color: #51361c; color: #FFF; padding: 20px 0; } .bottom_footer a{ color: #FFF; text-decoration: none; } .bottom_footer h2{ font-size: 2em; margin-bottom: 20px; } .bottom_footer p{ font-size: 12px; margin-top: 20px; clear: both; } .bottom_footer .copyright a ,.about p a,.submenu_qa li a{ color: #ef962f; text-decoration: none; } .bottom_footer .copyright a:hover,.about p a:hover,.submenu_qa li a:hover{ color: #eb4848; } /*-------------------↑footer↑-----------------*/ /*-------------------↓左選單↓------------------*/ #navigation .mainTitle{ width: 200px; padding-bottom: 10px; } .mainTitle span, #navigation li a:link, #navigation li a:visited { padding: 5px; display: block; color: dimgray; text-decoration: none; } .mainTitle span{ border-left: 10px solid #e4b053; padding-left: 10px; font-weight: bold; } .mainTitle span:hover{ background-color: #e4b053; border-left: 10px solid dimgray; color: #fff; cursor: pointer; transition: 0.3s, liner; -o-transition: 0.3s, liner; -webkit-transition: 0.3s, liner; -ms-transition: 0.3s, liner; -moz-transition: 0.3s, liner; } #navigation ul ul{ padding-left: 10px; } #navigation ul ul a:link, #navigation ul ul a:visited { color: dimgray; } #navigation ul ul a:hover { background-color: dimgray; color: #fff; transition: 0.3s, liner; -o-transition: 0.3s, liner; -webkit-transition: 0.3s, liner; -ms-transition: 0.3s, liner; -moz-transition: 0.3s, liner; } /*-------------------↑左選單↑-----------------*/ /*-------------------↓購物須知↓------------------*/ .order_box{ padding: 5px; margin: 5px 0; text-align:center; border-radius: 5px; line-height: 1.6em; letter-spacing: 0.05em; color: #666; } .order_box:hover{ background-color: #e4b053; color: #fff; transition: 0.3s, liner; -o-transition: 0.3s, liner; -webkit-transition: 0.3s, liner; -ms-transition: 0.3s, liner; -moz-transition: 0.3s, liner; } .order_img { height: 200px; width: 200px; background-color: #e4b053; border-radius: 100px; margin: 0 auto; } .order_img { border-bottom: 1px solid #fff; } .order_box h3{ font-weight: 400; font-size:1.5em; } .order_box p{ font-size: 0.75em; } /*-------------------↑購物須知↑-----------------*/ /*-------------------↓關於我們↓------------------*/ .about h3{ padding: 20px; border-bottom: 1px solid #a8a8a8; margin-bottom: 20px; font-size:1.5em; font-weight:bold; color:#51361c; } .about p{ padding: 5px; text-align: left; line-height: 1.5em; font-size: 0.85em; letter-spacing:0.2em; } .about img{ width: 100%; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .accordion { width: 100%; margin: 30px auto 20px; background: #ffd85f; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .accordion .link { cursor: pointer; display: block; padding: 15px 15px 15px 42px; color: #51361c; font-size: 14px; font-weight: 700; border-bottom: 1px solid #e4b053; position: relative; -webkit-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } .accordion li i { position: absolute; top: 16px; left: 12px; font-size: 18px; color: #595959; -webkit-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } .submenu_qa { display: none; background: #51361c; font-size: 14px; } .submenu_qa li { border-bottom: 1px solid #4b4a5e; display: block; text-decoration: none; color: #d9d9d9; padding: 12px; padding-left: 42px; -webkit-transition: all 0.25s ease; -o-transition: all 0.25s ease; transition: all 0.25s ease; } /*-------------------↑關於我們↑-----------------*/ /*-------------------↓news↓------------------*/ .news_item{ border-bottom: 1px solid rgb(183, 183, 183); padding-bottom: 20px; margin:5px 20px; } .news_date{ border-radius: 5px; margin: 0 50px; padding: 5px 10px; background-color: burlywood; color: #fff; font-weight: bold; } /*-------------------↑news↑-----------------*/ /*-------------------↓照片hove↓------------------*/ .news { width: 90%; overflow: hidden; position: relative; text-align: center; cursor: default; margin: auto; } .news_box h3{ color:#e4b053; font-size:1.3em; font-weight: bold; } .news_box{ margin: 20px 0; } .news .mask { width: 100%; height: 100%; position: absolute; overflow: hidden; top: 0; left: 0; } .news img { display: block; position: relative; width: 100%; } .news a{ text-decoration: none; } .news h2 { background-color:#e4b053; color: #fff; font-weight: bold; text-align: center; position: relative; font-size: 1.2em; padding: 10px; border: 0px; margin: 20px 0 0 0; } .news p { font-size: 0.85em; position: relative; color: #fff; padding: 10px 20px; } .news .more { padding: 7px 14px; border: 1px solid #fff; color: #fff; } .news .more:hover { background-color: #ffd85f; border: 1px solid #ffd85f; color:#51361c; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } .news .mask { background-color: rgba(000,000,000,0.8); -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } .news img { -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; -ms-transition: all 0.2s linear; transition: all 0.2s linear; } .news h2 { -webkit-transform: translateY(-100px); -moz-transform: translateY(-100px); -o-transform: translateY(-100px); -ms-transform: translateY(-100px); transform: translateY(-100px); -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .news p { -webkit-transform: translateY(100px); -moz-transform: translateY(100px); -o-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; -ms-transition: all 0.2s linear; transition: all 0.2s linear; } .news:hover img { -webkit-transform: scale(1.1, 1.1); -moz-transform: scale(1.1, 1.1); -o-transform: scale(1.1, 1.1); -ms-transform: scale(1.1, 1.1); transform: scale(1.1, 1.1); } .news a.info { -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .news:hover .mask { -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; } .news:hover h2, .news:hover p, .news:hover a.info { -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; -webkit-transform: translateY(0px); -moz-transform: translateY(0px); -o-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); } .news:hover p { -webkit-transition-delay: 0.1s; -moz-transition-delay: 0.1s; -o-transition-delay: 0.1s; -ms-transition-delay: 0.1s; transition-delay: 0.1s; } .news:hover a.info { -webkit-transition-delay: 0.2s; -moz-transition-delay: 0.2s; -o-transition-delay: 0.2s; -ms-transition-delay: 0.2s; transition-delay: 0.2s; } /*-------------------↑照片hover↑-----------------*/