This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Noto Sans TC (Chinese_traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'Noto Sans TC'; | |
font-style: normal; | |
font-weight: 100; | |
src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Thin.woff2) format('woff2'), | |
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Thin.woff) format('woff'), | |
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Thin.otf) format('opentype'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Noto Sans TC (Chinese_traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'Noto Sans TC'; | |
font-style: normal; | |
font-weight: 300; | |
src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.woff2) format('woff2'), | |
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.woff) format('woff'), | |
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.otf) format('opentype'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Noto Sans SC (Chinese Simplified) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'Noto Sans SC'; | |
font-style: normal; | |
font-weight: 100; | |
src: url(//fonts.gstatic.com/ea/notosanssc/v1/NotoSansSC-Thin.woff2) format('woff2'), | |
url(//fonts.gstatic.com/ea/notosanssc/v1/NotoSansSC-Thin.woff) format('woff'), | |
url(//fonts.gstatic.com/ea/notosanssc/v1/NotoSansSC-Thin.otf) format('opentype'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* cwTeXKai (Chinese Traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'cwTeXKai'; | |
font-style: normal; | |
font-weight: 500; | |
src: url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.eot); | |
src: url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.eot?#iefix) format('embedded-opentype'), | |
url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.woff2) format('woff2'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* cwTeXYen (Chinese Traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'cwTeXYen'; | |
font-style: normal; | |
font-weight: 500; | |
src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot); | |
src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot?#iefix) format('embedded-opentype'), | |
url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff2) format('woff2'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* cwTeXFangSong (Chinese Traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'cwTeXFangSong'; | |
font-style: normal; | |
font-weight: 500; | |
src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot); | |
src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot?#iefix) format('embedded-opentype'), | |
url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.woff2) format('woff2'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* cwTeXMing (Chinese Traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'cwTeXMing'; | |
font-style: normal; | |
font-weight: 500; | |
src: url(//fonts.gstatic.com/ea/cwtexming/v3/cwTeXMing-zhonly.eot); | |
src: url(//fonts.gstatic.com/ea/cwtexming/v3/cwTeXMing-zhonly.eot?#iefix) format('embedded-opentype'), | |
url(//fonts.gstatic.com/ea/cwtexming/v3/cwTeXMing-zhonly.woff2) format('woff2'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* cwTeXHei (Chinese-traditional) http://www.google.com/fonts/earlyaccess | |
*/ | |
@font-face { | |
font-family: 'cwTeXHei'; | |
font-style: normal; | |
font-weight: 500; | |
src: url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.eot); | |
src: url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.eot?#iefix) format('embedded-opentype'), | |
url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.woff2) format('woff2'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.back-to-top { | |
display:none; | |
position: fixed; | |
bottom: 2em; | |
right: 0px; | |
text-decoration: none; | |
color: #000000; | |
background-color: rgba(235, 235, 235, 0.80); | |
font-size: 12px; | |
padding: 1em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#" class="back-to-top">回到頁首</a> | |
<script> | |
jQuery(document).ready(function() { | |
var offset = 220; | |
var duration = 500; | |
jQuery(window).scroll(function() { | |
if (jQuery(this).scrollTop() > offset) { | |
jQuery('.back-to-top').fadeIn(duration); | |
} else { | |
jQuery('.back-to-top').fadeOut(duration); |
OlderNewer