|
@@ -51,15 +51,18 @@ body {
|
|
|
|
|
|
.navbar {
|
|
.navbar {
|
|
background-color: var(--main-color) !important;
|
|
background-color: var(--main-color) !important;
|
|
|
|
+
|
|
.navbar-collapse {
|
|
.navbar-collapse {
|
|
flex-grow: 0;
|
|
flex-grow: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
.navbar-brand {
|
|
.navbar-brand {
|
|
font-size: 50px;
|
|
font-size: 50px;
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
font-family: "Roboto Slab", serif !important;
|
|
font-family: "Roboto Slab", serif !important;
|
|
color: var(--sub-color);
|
|
color: var(--sub-color);
|
|
transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
opacity: 0.9;
|
|
opacity: 0.9;
|
|
color: var(--sub-color);
|
|
color: var(--sub-color);
|
|
@@ -70,6 +73,7 @@ body {
|
|
.blog-post-tags {
|
|
.blog-post-tags {
|
|
.badge {
|
|
.badge {
|
|
background-color: var(--main-color);
|
|
background-color: var(--main-color);
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
color: var(--main-color);
|
|
color: var(--main-color);
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
@@ -80,6 +84,7 @@ body {
|
|
|
|
|
|
.blog-post-title {
|
|
.blog-post-title {
|
|
margin: 10px 0 20px;
|
|
margin: 10px 0 20px;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
font-size: 50px;
|
|
font-size: 50px;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
@@ -88,9 +93,11 @@ body {
|
|
|
|
|
|
.pagination {
|
|
.pagination {
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
|
+
|
|
.page-link {
|
|
.page-link {
|
|
color: var(--main-color);
|
|
color: var(--main-color);
|
|
}
|
|
}
|
|
|
|
+
|
|
.page-item.active .page-link {
|
|
.page-item.active .page-link {
|
|
z-index: 3;
|
|
z-index: 3;
|
|
color: #fff;
|
|
color: #fff;
|
|
@@ -100,6 +107,8 @@ body {
|
|
}
|
|
}
|
|
|
|
|
|
.post-title {
|
|
.post-title {
|
|
|
|
+ line-height: 30px;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
color: #000;
|
|
color: #000;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
@@ -112,6 +121,7 @@ body {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
position: relative;
|
|
font-size: 22px;
|
|
font-size: 22px;
|
|
|
|
+
|
|
&::after {
|
|
&::after {
|
|
position: absolute;
|
|
position: absolute;
|
|
z-index: -10;
|
|
z-index: -10;
|
|
@@ -123,6 +133,7 @@ body {
|
|
border-bottom: 1px solid #929292;
|
|
border-bottom: 1px solid #929292;
|
|
bottom: 5px;
|
|
bottom: 5px;
|
|
}
|
|
}
|
|
|
|
+
|
|
span {
|
|
span {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
background: #fff;
|
|
background: #fff;
|
|
@@ -132,16 +143,19 @@ body {
|
|
.news-info {
|
|
.news-info {
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
color: var(--gray-color);
|
|
color: var(--gray-color);
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
opacity: 0.8;
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
small {
|
|
small {
|
|
color: var(--gray-color);
|
|
color: var(--gray-color);
|
|
}
|
|
}
|
|
@@ -171,6 +185,7 @@ body {
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
line-height: 26px;
|
|
line-height: 26px;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
color: #7a7a7a;
|
|
color: #7a7a7a;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
@@ -184,6 +199,7 @@ body {
|
|
z-index: 10;
|
|
z-index: 10;
|
|
opacity: 0; // scrollTop = 0
|
|
opacity: 0; // scrollTop = 0
|
|
transition: all .5s;
|
|
transition: all .5s;
|
|
|
|
+
|
|
button {
|
|
button {
|
|
border: none;
|
|
border: none;
|
|
background: var(--sub-color);
|
|
background: var(--sub-color);
|
|
@@ -195,13 +211,14 @@ body {
|
|
|
|
|
|
.show {
|
|
.show {
|
|
opacity: 1; // scrollTop > 100
|
|
opacity: 1; // scrollTop > 100
|
|
-}
|
|
|
|
|
|
+}
|
|
|
|
|
|
/* sidebar.html Start */
|
|
/* sidebar.html Start */
|
|
|
|
|
|
.news-sidebar {
|
|
.news-sidebar {
|
|
position: sticky;
|
|
position: sticky;
|
|
top: 15px;
|
|
top: 15px;
|
|
|
|
+
|
|
.news-featured {
|
|
.news-featured {
|
|
position: unset;
|
|
position: unset;
|
|
}
|
|
}
|
|
@@ -209,11 +226,14 @@ body {
|
|
|
|
|
|
.search-btn {
|
|
.search-btn {
|
|
border: 1px solid var(--main-color) !important;
|
|
border: 1px solid var(--main-color) !important;
|
|
|
|
+
|
|
svg {
|
|
svg {
|
|
color: var(--main-color);
|
|
color: var(--main-color);
|
|
}
|
|
}
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
background-color: var(--main-color) !important;
|
|
background-color: var(--main-color) !important;
|
|
|
|
+
|
|
svg {
|
|
svg {
|
|
color: #fff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
@@ -227,6 +247,7 @@ body {
|
|
font-weight: 400 !important;
|
|
font-weight: 400 !important;
|
|
color: var(--main-color) !important;
|
|
color: var(--main-color) !important;
|
|
border: 1px solid var(--main-color) !important;
|
|
border: 1px solid var(--main-color) !important;
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
color: #fff !important;
|
|
color: #fff !important;
|
|
background-color: var(--main-color);
|
|
background-color: var(--main-color);
|
|
@@ -238,27 +259,35 @@ body {
|
|
/* single.html Start */
|
|
/* single.html Start */
|
|
|
|
|
|
.blog-post.content {
|
|
.blog-post.content {
|
|
|
|
+ h2 {
|
|
|
|
+ line-height: 46px;
|
|
|
|
+ }
|
|
|
|
+
|
|
h4 {
|
|
h4 {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
font-weight: 300;
|
|
line-height: 32px;
|
|
line-height: 32px;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
padding: 5px 8px;
|
|
padding: 5px 8px;
|
|
margin-right: 3px;
|
|
margin-right: 3px;
|
|
border: 1px solid #000;
|
|
border: 1px solid #000;
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
color: #fff !important;
|
|
color: #fff !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.back-link {
|
|
.back-link {
|
|
color: #000;
|
|
color: #000;
|
|
display: block;
|
|
display: block;
|
|
text-align: center;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
transition: all 0.3s;
|
|
|
|
+
|
|
&:hover {
|
|
&:hover {
|
|
opacity: 0.7;
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
@@ -272,9 +301,26 @@ body {
|
|
.news-main {
|
|
.news-main {
|
|
height: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 991px) {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column-reverse;
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ }
|
|
|
|
+
|
|
.post-title {
|
|
.post-title {
|
|
|
|
+ line-height: 46px;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 991px) {
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ }
|
|
|
|
+
|
|
a {
|
|
a {
|
|
font-size: 34px;
|
|
font-size: 34px;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 991px) {
|
|
|
|
+ font-size: 22px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -306,20 +352,25 @@ body {
|
|
.recent-content {
|
|
.recent-content {
|
|
.news-list {
|
|
.news-list {
|
|
margin: 0;
|
|
margin: 0;
|
|
|
|
+
|
|
li {
|
|
li {
|
|
margin: 15px 0;
|
|
margin: 15px 0;
|
|
|
|
+
|
|
img {
|
|
img {
|
|
width: 140px;
|
|
width: 140px;
|
|
height: 105px;
|
|
height: 105px;
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
+
|
|
small {
|
|
small {
|
|
display: block;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
+
|
|
.news-info {
|
|
.news-info {
|
|
margin-top: 0px;
|
|
margin-top: 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
li:last-child {
|
|
li:last-child {
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
@@ -335,8 +386,9 @@ body {
|
|
color: var(--main-color);
|
|
color: var(--main-color);
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
+
|
|
.nav-pills .nav-link.active,
|
|
.nav-pills .nav-link.active,
|
|
- .nav-pills .show > .nav-link {
|
|
|
|
|
|
+ .nav-pills .show>.nav-link {
|
|
color: var(--sub-color);
|
|
color: var(--sub-color);
|
|
background-color: var(--main-color);
|
|
background-color: var(--main-color);
|
|
}
|
|
}
|
|
@@ -351,15 +403,18 @@ body {
|
|
background-size: cover;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
background-position: center center;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
+
|
|
section {
|
|
section {
|
|
padding: 10px 25px;
|
|
padding: 10px 25px;
|
|
position: absolute;
|
|
position: absolute;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
color: #fff;
|
|
color: #fff;
|
|
|
|
+
|
|
a {
|
|
a {
|
|
color: #fff;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
+
|
|
small {
|
|
small {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@@ -372,24 +427,47 @@ body {
|
|
/* news-all.html Start */
|
|
/* news-all.html Start */
|
|
|
|
|
|
.news-all {
|
|
.news-all {
|
|
|
|
+ img {
|
|
|
|
+ object-fit: cover;
|
|
|
|
+ max-height: 300px;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 575px) {
|
|
|
|
+ max-height: 180px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
.post-title {
|
|
.post-title {
|
|
margin: 5px auto;
|
|
margin: 5px auto;
|
|
|
|
+ line-height: 46px;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 767px) {
|
|
|
|
+ line-height: 40px;
|
|
|
|
+ }
|
|
|
|
+
|
|
a {
|
|
a {
|
|
- font-size: 36px;
|
|
|
|
|
|
+ font-size: 30px;
|
|
|
|
+
|
|
|
|
+ @media (max-width: 767px) {
|
|
|
|
+ font-size: 26px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.news-info {
|
|
.news-info {
|
|
a {
|
|
a {
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
hr {
|
|
hr {
|
|
margin: 1.5rem 0;
|
|
margin: 1.5rem 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
.first-img {
|
|
.first-img {
|
|
- height: 50vh;
|
|
|
|
|
|
+ max-height: 50vh;
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
+
|
|
.line {
|
|
.line {
|
|
padding: 0 12px;
|
|
padding: 0 12px;
|
|
}
|
|
}
|
|
@@ -404,4 +482,4 @@ body {
|
|
top: 20px;
|
|
top: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
-/* news-featured.html End */
|
|
|
|
|
|
+/* news-featured.html End */
|