resize cards for mobile

This commit is contained in:
Aadil Ayub 2022-01-13 15:37:04 +05:00
parent 4e242b068a
commit eda7f484ae
1 changed files with 25 additions and 16 deletions

View File

@ -189,18 +189,6 @@ body {
border-bottom: 1px solid #333;
}
@media (max-width: 480px) {
#top-menu {
grid-template-columns: 1fr;
}
.menu,
#top-menu .search,
#login {
display: none;
}
}
.menu-dropdown summary {
list-style: none;
cursor: pointer;
@ -631,10 +619,6 @@ li.page-item a {
color: black;
}
li.page-item.active {
padding: 0.4em;
}
li.page-item.active a {
text-decoration: underline;
}
@ -730,4 +714,29 @@ footer a {
footer a:hover {
cursor: pointer;
text-decoration: underline;
}
/* mobile styles */
@media (max-width: 480px) {
#top-menu {
grid-template-columns: 1fr;
}
.menu,
#top-menu .search,
#login {
display: none;
}
.h-entry img {
max-width: 100%;
width: 100%;
}
.summary-text {
font-size: 17px;
min-width: none;
max-width: 16ch;
}
}