|
@@ -538,7 +538,120 @@ h1, h2, h3, h4, h5, h6, p {
|
|
|
}
|
|
|
#our-blog .blog-container {
|
|
|
margin: 2rem 0 2.5rem;
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: repeat(4, 1fr);
|
|
|
+ grid-gap: 1rem;
|
|
|
}
|
|
|
-#our-blog .blog-container div {
|
|
|
- margin: 0;
|
|
|
+@media screen and (max-width: 992px) {
|
|
|
+ #our-blog .blog-container {
|
|
|
+ grid-template-columns: repeat(2, 1fr);
|
|
|
+ }
|
|
|
+}
|
|
|
+@media screen and (max-width: 767px) {
|
|
|
+ #our-blog .blog-container {
|
|
|
+ grid-template-columns: repeat(1, 1fr);
|
|
|
+ }
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border: 1.5px solid rgb(173, 188, 255);
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ border-radius: 5px;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single .img-container {
|
|
|
+ height: 100%;
|
|
|
+ flex: 3;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single .details {
|
|
|
+ flex: 2;
|
|
|
+ padding: 1rem 1rem 0.5rem;
|
|
|
+ line-height: 1.4;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single .details .title {
|
|
|
+ font-size: 0.95rem;
|
|
|
+ color: rgb(0, 0, 0);
|
|
|
+ text-decoration: none;
|
|
|
+ cursor: pointer;
|
|
|
+ font-weight: 600;
|
|
|
+ line-height: 1.2;
|
|
|
+ margin-bottom: 0.5rem;
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single .details p {
|
|
|
+ font-size: 0.85rem;
|
|
|
+ color: rgba(0, 0, 0, 0.6);
|
|
|
+ line-height: 1.7;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:first-child {
|
|
|
+ grid-column: span 2;
|
|
|
+ grid-row: span 2;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:first-child .details {
|
|
|
+ padding-top: 1.5rem;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:first-child .title {
|
|
|
+ font-size: 1.3rem;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:first-child p {
|
|
|
+ font-size: 0.9rem;
|
|
|
+ line-height: 1.7;
|
|
|
+}
|
|
|
+@media screen and (max-width: 992px) {
|
|
|
+ #our-blog .blog-container .blog-single:first-child {
|
|
|
+ grid-column: unset;
|
|
|
+ grid-row: unset;
|
|
|
+ }
|
|
|
+ #our-blog .blog-container .blog-single:first-child .title {
|
|
|
+ font-size: 1rem;
|
|
|
+ }
|
|
|
+ #our-blog .blog-container .blog-single:first-child p {
|
|
|
+ font-size: 0.85rem;
|
|
|
+ }
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:nth-child(4) {
|
|
|
+ grid-column: span 2;
|
|
|
+ flex-direction: row;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:nth-child(4) .img-container {
|
|
|
+ height: 100%;
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:nth-child(4) .details {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+#our-blog .blog-container .blog-single:nth-child(4) p {
|
|
|
+ font-size: 0.8rem;
|
|
|
+}
|
|
|
+@media screen and (max-width: 992px) {
|
|
|
+ #our-blog .blog-container .blog-single:nth-child(4) {
|
|
|
+ grid-column: unset;
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+ #our-blog .blog-container .blog-single:nth-child(4) .img-container {
|
|
|
+ flex: 3;
|
|
|
+ }
|
|
|
+ #our-blog .blog-container .blog-single:nth-child(4) .details {
|
|
|
+ flex: 2;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+#current-news {
|
|
|
+ font-family: "Noto Serif Bengali", serif;
|
|
|
+ color: rgb(0, 0, 0);
|
|
|
+ background: url(../images/8-news.svg) no-repeat center center/cover;
|
|
|
+}
|
|
|
+#current-news .section-title {
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
+}
|
|
|
+#current-news .link-btn-outline {
|
|
|
+ display: block;
|
|
|
+ width: -moz-fit-content;
|
|
|
+ width: fit-content;
|
|
|
+ margin: 2rem auto;
|
|
|
+ border-color: rgb(255, 255, 255);
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
+ background: transparent;
|
|
|
}/*# sourceMappingURL=index.css.map */
|