@charset "UTF-8"; /* 共通樣式 */ :root { --main-color: #000; --sub-color: #e47140; --gray-color: #727272; } * { letter-spacing: 1px; font-weight: 400; font-family: "Noto Sans TC", sans-serif !important; } h2 { margin-bottom: 1rem; } p, li { line-height: 32px; } img { width: 100%; height: auto; } html, body { height: 100%; margin: 0; } body { display: flex; flex-direction: column; overflow-y: scroll; } .btn:focus, .form-control:focus { border-color: var(--main-color) !important; box-shadow: none !important; outline: 0 none !important; } .badge { font-weight: 400 !important; } .navbar { background-color: var(--main-color) !important; } .navbar .navbar-collapse { flex-grow: 0; } .navbar .navbar-brand { font-size: 50px; font-weight: 500; font-family: "Roboto Slab", serif !important; color: var(--sub-color); transition: all 0.3s; } @media (max-width: 575px) { .navbar .navbar-brand { padding-left: 1rem; font-size: 35px; } } .navbar .navbar-brand:hover { opacity: 0.9; color: var(--sub-color); } .blog-post-tags .badge { background-color: var(--main-color); } .blog-post-tags .badge:hover { color: var(--main-color); background-color: #fff; border: 1px solid var(--main-color); } .blog-post-title { margin: 10px 0 20px; } .blog-post-title a { font-size: 50px; font-weight: 600; } .pagination { justify-content: center; } .pagination .page-link { color: var(--main-color); } .pagination .page-item.active .page-link { z-index: 3; color: #fff; background-color: var(--main-color); border-color: var(--main-color); } .post-title a { color: #000; text-decoration: none; font-size: 22px; font-weight: 500; } .post-block-title { margin: 15px 0 25px; position: relative; font-size: 20px; } .post-block-title::after { position: absolute; z-index: -10; top: 30px; left: 0; width: 100%; height: 0px; content: ""; border-bottom: 1px solid var(--sub-color); bottom: 5px; } .post-block-title span { padding: 5px 20px; color: #fff; font-weight: 300; background: var(--sub-color); } .news-info { margin-top: 10px; line-height: 20px; } .news-info a { font-size: 14px; font-weight: 500; color: var(--gray-color); text-decoration: none; transition: all 0.3s; } .news-info a:hover { opacity: 0.8; } .news-info small { color: var(--gray-color); } .news-thumbnail { height: 100%; -o-object-fit: cover; object-fit: cover; } .line-clamp { max-width: 150px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .post-depiction { margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 26px; } .post-depiction a { color: #7a7a7a; text-decoration: none; } .top-btn { position: fixed; bottom: 15px; right: 15px; z-index: 10; opacity: 0; transition: all 0.5s; } .top-btn button { border: none; background: var(--sub-color); border-radius: 100px; width: 55px; height: 55px; } .show { opacity: 1; } .blog-header .nav-item { padding: 0 0.3rem; } @media (max-width: 575px) { .blog-header .nav-item { padding: 0 1rem; } } /* sidebar.html Start */ .news-sidebar { position: sticky; top: 15px; } .news-sidebar .news-featured { position: unset; } .search-btn { border: 1px solid var(--main-color) !important; } .search-btn svg { color: var(--main-color); } .search-btn:hover { background-color: var(--main-color) !important; } .search-btn:hover svg { color: #fff; } .tags { margin: 0 5px 5px 0; padding: 7px 10px !important; font-size: 14px !important; font-weight: 400 !important; color: var(--main-color) !important; border: 1px solid var(--main-color) !important; } .tags:hover { color: #fff !important; background-color: var(--main-color); } /* sidebar.html End */ /* single.html Start */ .blog-post.content h4 { margin-top: 3rem; font-size: 1.25rem; font-weight: 500; line-height: 32px; } .blog-post.content h4 a { padding: 5px 8px; margin-right: 3px; border: 1px solid #000; border-radius: 5px; font-size: 14px; } .blog-post.content h4 a:hover { color: #fff !important; } .blog-post.content .back-link { color: #000; display: block; text-align: center; text-decoration: none; transition: all 0.3s; } .blog-post.content .back-link:hover { opacity: 0.7; } /* single.html End */ /* content.html Start */ .news-main { height: 100%; overflow: hidden; } .news-main a { text-decoration: none; } .news-main .title-info { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; padding: 1rem; background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 80%, transparent 100%); } .news-main .title-info a, .news-main .title-info h2, .news-main .title-info small { color: #fff; letter-spacing: 1px; } .news-main .title-info h2 { line-height: 1.5; } .news-main .title-info h2 a { font-weight: 500; font-size: 1.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; word-break: break-word; } @media (max-width: 991px) { .news-main .title-info h2 a { font-size: 1.25rem; } } .news-main .title-info .badge-link { display: inline-block; padding: 1px 20px; margin-bottom: 10px; background-color: var(--sub-color); font-weight: 500; } .news-main .post-title a { font-size: 34px; } .news-main img { height: 100%; -o-object-fit: cover; object-fit: cover; } @media (max-width: 575px) { .news-main img { height: 50vw; } } @media (max-width: 991px) { .news-main .main-img { height: 50vw; } } .news-main .news-info a { font-size: 16px; } /* content.html End */ /* focus.html Start */ .focus-content { position: sticky; top: 20px; } .focus-content img, .news-featured img { height: 5vw; -o-object-fit: cover; object-fit: cover; } @media (max-width: 991px) { .focus-content img, .news-featured img { height: 15vw; } } .focus-content .post-title, .news-featured .post-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-break: after-white-space; font-size: 1.125rem; } /* focus.html End */ /* recent.html Start */ .recent-content .news-list { margin: 0; } .recent-content .news-list li { margin: 15px 0; } .recent-content .news-list li img { width: 140px; height: 105px; -o-object-fit: cover; object-fit: cover; } .recent-content .news-list li small { display: block; } .recent-content .news-list li .news-info { margin-top: 0px; } .recent-content .news-list li:last-child { margin: 0; } /* recent.html End */ /* news-tab.html Start */ .tab-category .nav-link { color: var(--main-color); font-weight: 500; } .tab-category .nav-pills .nav-link.active, .tab-category .nav-pills .show > .nav-link { color: var(--sub-color); background-color: var(--main-color); } .tab-category #pills-tab { position: absolute; } @media (max-width: 767px) { .tab-category #pills-tab { position: relative; } } .tab-content .bg-img { position: relative; height: 370px; background-blend-mode: multiply; background-size: cover; background-position: center center; cursor: pointer; } @media (max-width: 991px) { .tab-content .bg-img { height: 50vw; } } .tab-content .bg-img section { padding: 10px 25px; position: absolute; bottom: 0; color: #fff; } .tab-content .bg-img section a { color: #fff; text-decoration: none; } .tab-content .bg-img section small { font-size: 12px; } .tab-content .col-5 img { height: 150px; } /* news-tab.html End */ /* news-all.html Start */ .news-all .post-title { margin: 5px auto; } .news-all .post-title a { font-size: 1.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; word-break: break-word; } .news-all .news-info a { font-size: 18px; } .news-all hr { margin: 1.5rem 0; } .news-all img { height: 12vw; -o-object-fit: cover; object-fit: cover; } @media (max-width: 991px) { .news-all img { height: 20vw; } } @media (max-width: 575px) { .news-all img { height: 50vw; } } .news-all .line { padding: 0 12px; } /* news-all.html End */ /* news-featured.html Start */ .news-featured { position: sticky; top: 20px; } /* news-featured.html End */ .cover-img { height: 280px; -o-object-fit: cover; object-fit: cover; }/*# sourceMappingURL=style.css.map */