Make /tags/ page responsive, fix some paddings

In post cards, the "tag and date" text was slightly moved to the right and looked ugly. This was fixed.
The /tags/ page had a horizontal padding of 0 which made it look ugly. Solved.
The /tags/ page now scales based on screen size and is responsive. Fixes #5
This commit is contained in:
Bea 2020-11-10 21:25:33 +01:00
parent 3532021222
commit e4bb647586
2 changed files with 35 additions and 4 deletions

View File

@ -473,7 +473,7 @@ a.mind-post-card-big_main {
font-weight: 700;
text-transform: uppercase;
font-size: 14px;
margin: 10px 5px 0;
margin: 10px 0 0;
color: rgb(180, 180, 180);
}
@ -1162,7 +1162,6 @@ Media queries are used to make the website responsive and cool on mobile.
}
}
/* BEGIN RESPONSIVE MEDIA QUERIES */
@media only screen and (max-width: 1300px) {
h1 {
@ -1215,6 +1214,10 @@ Media queries are used to make the website responsive and cool on mobile.
.mind-site-footer_main {
font-size: 23px;
}
.mind-tag-content_main {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
}
@media only screen and (max-width: 1000px) {
@ -1300,6 +1303,20 @@ Media queries are used to make the website responsive and cool on mobile.
.mind-site-footer_main {
font-size: 20px;
}
.mind-tag-content_main {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.mind-tag-card_feature-image {
height: 180px;
}
}
@media only screen and (max-width: 800px) {
.mind-tag-content_main {
grid-template-columns: 1fr 1fr 1fr;
}
}
@media only screen and (max-width: 650px) {
@ -1344,11 +1361,14 @@ Media queries are used to make the website responsive and cool on mobile.
font-size: 18px;
}
.mind-feed-content_main, .mind-tag-content_main {
padding: 20px;
}
.mind-feed-content_main {
grid-template-columns: 1fr;
min-width: calc(100% - 40px);
width: calc(100% - 40px);
padding: 20px;
}
.mind-content_main {
@ -1408,6 +1428,10 @@ Media queries are used to make the website responsive and cool on mobile.
.mind-site-footer_main {
font-size: 18px;
}
.mind-tag-card_feature-image {
height: 150px;
}
}
@media only screen and (max-width: 550px) {
@ -1439,3 +1463,10 @@ Media queries are used to make the website responsive and cool on mobile.
font-size: 16px;
}
}
@media only screen and (max-width: 470px)
{
.mind-tag-content_main {
grid-template-columns: 1fr 1fr;
}
}

View File

@ -1,7 +1,7 @@
{
"name": "mindtheme",
"description": "Mind Overflow's official website style",
"version": "0.0.10",
"version": "0.0.11",
"engines": {
"ghost-api": "v3"
},