/* 共通樣式 */ :root { --main-color: cadetblue; } * { letter-spacing: 1px; font-weight: 300; font-family: "Noto Sans TC", sans-serif !important; } .navbar { background-color: var(--main-color) !important; .navbar-collapse { flex-grow: 0; } } 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; } .btn:focus, .form-control:focus { border-color: var(--main-color) !important; box-shadow: none !important; outline: 0 none !important; } .badge { font-weight: 400 !important; } .blog-post-tags { .badge { background-color: var(--main-color); &:hover { color: var(--main-color); background-color: #fff; border: 1px solid var(--main-color); } } } .blog-post-title { text-align: center; margin-bottom: 30px; a { font-weight: 500; } } .blog-post.content { h4 { font-size: 16px; font-weight: 300; line-height: 32px; a { padding: 5px 8px; margin-right: 3px; border: 1px solid #000; border-radius: 5px; font-size: 14px; &:hover { color: #fff !important; } } } .back-link { color: #000; display: block; text-align: center; text-decoration: none; transition: all 0.3s; &:hover { opacity: 0.7; } } } /* Sidebar */ .search-btn { border: 1px solid var(--main-color) !important; svg { color: var(--main-color); } &:hover { background-color: var(--main-color) !important; 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; &:hover { color: #fff !important; background-color: var(--main-color); } } .content-list { a { color: #000; text-decoration: none; transition: all 0.3s; &:hover { color: var(--main-color); } } h2 { font-size: 20px; } section { h4 { font-size: 14px; font-weight: 300; } h4:first-child { white-space: nowrap; } h4:last-child { width: 80%; } } } .list-unstyled { a { font-weight: 400; text-decoration: none; color: var(--main-color); transition: all 0.3s; &:hover { opacity: 0.7; } } } .pagination { justify-content: center; .page-link { color: var(--main-color); } .page-item.active .page-link { z-index: 3; color: #fff; background-color: var(--main-color); border-color: var(--main-color); } }