@charset "UTF-8"; /* 共通樣式 */ :root { --main-color: #000; --sub-color: #e47140; --gray-color: #727272; } * { letter-spacing: 1px; font-weight: 300; font-family: "Noto Sans TC", sans-serif !important; } p, li { line-height: 32px; } ul { list-style: none; } 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; } .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-bottom: 20px; position: relative; font-size: 22px; } .post-block-title::after { position: absolute; z-index: -10; top: 15px; left: 0; width: 100%; height: 0px; content: ""; border-bottom: 1px solid #929292; bottom: 5px; } .post-block-title span { font-weight: 500; background: #fff; } .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; } /* 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 { font-size: 16px; font-weight: 300; 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 .post-title a { font-size: 34px; } .news-main img { height: 100%; -o-object-fit: cover; object-fit: cover; } .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: 175px; -o-object-fit: cover; object-fit: cover; } .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; } /* 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-content .bg-img { position: relative; height: 370px; background-blend-mode: multiply; background-size: cover; background-position: center center; cursor: pointer; } .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: 36px; line-height: 1.5; } .news-all .news-info a { font-size: 18px; } .news-all hr { margin: 1.5rem 0; } .news-all .first-img { height: 50vh; -o-object-fit: cover; object-fit: cover; } .news-all .line { padding: 0 12px; } .news-all .cover-img { width: 100%; height: 220px; -o-object-fit: cover; object-fit: cover; } /* news-all.html End */ /* news-featured.html Start */ .news-featured { position: sticky; top: 20px; } /* news-featured.html End *//*# sourceMappingURL=style.css.map */