|
@@ -21,6 +21,10 @@ ul {
|
|
|
list-style: none;
|
|
|
}
|
|
|
|
|
|
+ol {
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
img {
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
@@ -49,17 +53,25 @@ body {
|
|
|
font-weight: 400 !important;
|
|
|
}
|
|
|
|
|
|
+.w-90 {
|
|
|
+ width: 95%;
|
|
|
+ margin: 0 auto;
|
|
|
+}
|
|
|
+
|
|
|
.navbar {
|
|
|
- background-color: var(--main-color) !important;
|
|
|
+ background-color: #000 !important;
|
|
|
+}
|
|
|
+.navbar .navbar-nav .nav-item .nav-link {
|
|
|
+ color: #fff;
|
|
|
}
|
|
|
.navbar .navbar-collapse {
|
|
|
flex-grow: 0;
|
|
|
}
|
|
|
.navbar .navbar-brand {
|
|
|
- font-size: 50px;
|
|
|
- font-weight: 500;
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: 100;
|
|
|
font-family: "Roboto Slab", serif !important;
|
|
|
- color: var(--sub-color);
|
|
|
+ color: #fff;
|
|
|
transition: all 0.3s;
|
|
|
}
|
|
|
.navbar .navbar-brand:hover {
|
|
@@ -73,7 +85,6 @@ body {
|
|
|
.blog-post-tags .badge:hover {
|
|
|
color: var(--main-color);
|
|
|
background-color: #fff;
|
|
|
- border: 1px solid var(--main-color);
|
|
|
}
|
|
|
|
|
|
.blog-post-title {
|
|
@@ -103,7 +114,7 @@ body {
|
|
|
}
|
|
|
|
|
|
.post-title {
|
|
|
- line-height: 30px;
|
|
|
+ line-height: 24px;
|
|
|
}
|
|
|
.post-title a {
|
|
|
color: #000;
|
|
@@ -135,6 +146,8 @@ body {
|
|
|
|
|
|
.news-info {
|
|
|
margin-top: 10px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
line-height: 20px;
|
|
|
}
|
|
|
.news-info a {
|
|
@@ -148,6 +161,7 @@ body {
|
|
|
opacity: 0.8;
|
|
|
}
|
|
|
.news-info small {
|
|
|
+ margin-left: 10px;
|
|
|
color: var(--gray-color);
|
|
|
}
|
|
|
|
|
@@ -269,7 +283,6 @@ body {
|
|
|
/* single.html End */
|
|
|
/* content.html Start */
|
|
|
.news-main {
|
|
|
- height: 100%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
@media (max-width: 991px) {
|
|
@@ -296,22 +309,11 @@ body {
|
|
|
}
|
|
|
}
|
|
|
.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.html End */
|
|
|
/* recent.html Start */
|
|
|
.recent-content .news-list {
|
|
|
margin: 0;
|
|
@@ -386,6 +388,12 @@ body {
|
|
|
}
|
|
|
}
|
|
|
.news-all .post-title a {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ line-break: after-white-space;
|
|
|
font-size: 28px;
|
|
|
}
|
|
|
@media (max-width: 767px) {
|
|
@@ -399,11 +407,6 @@ body {
|
|
|
.news-all hr {
|
|
|
margin: 1.5rem 0;
|
|
|
}
|
|
|
-.news-all .first-img {
|
|
|
- max-height: 50vh;
|
|
|
- -o-object-fit: cover;
|
|
|
- object-fit: cover;
|
|
|
-}
|
|
|
.news-all .line {
|
|
|
padding: 0 12px;
|
|
|
}
|
|
@@ -439,4 +442,33 @@ body {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.post-container {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.post-title {
|
|
|
+ margin: 0;
|
|
|
+ /* 可以消除標題的預設邊距 */
|
|
|
+}
|
|
|
+
|
|
|
+.news-post {
|
|
|
+ display: flex;
|
|
|
+ justify-content: end;
|
|
|
+}
|
|
|
+.news-post a {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+ color: var(--gray-color);
|
|
|
+ text-decoration: none;
|
|
|
+ transition: all 0.3s;
|
|
|
+}
|
|
|
+.news-post a:hover {
|
|
|
+ opacity: 0.8;
|
|
|
+}
|
|
|
+.news-post small {
|
|
|
+ margin-left: 10px;
|
|
|
+}
|
|
|
+
|
|
|
/* news-featured.html End *//*# sourceMappingURL=style.css.map */
|