resize cards for mobile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2022-01-13 15:37:04 +05:00
parent 4e242b068a
commit eda7f484ae

View File

@ -189,18 +189,6 @@ body {
border-bottom: 1px solid #333; 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 { .menu-dropdown summary {
list-style: none; list-style: none;
cursor: pointer; cursor: pointer;
@ -631,10 +619,6 @@ li.page-item a {
color: black; color: black;
} }
li.page-item.active {
padding: 0.4em;
}
li.page-item.active a { li.page-item.active a {
text-decoration: underline; text-decoration: underline;
} }
@ -730,4 +714,29 @@ footer a {
footer a:hover { footer a:hover {
cursor: pointer; cursor: pointer;
text-decoration: underline; 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;
}
} }