Module:Information/styles.css: Difference between revisions
From Neodyland Wiki
More actions
sandbox for mobile devices |
mNo edit summary |
||
| Line 3: | Line 3: | ||
only screen and (max-width:719px) { | only screen and (max-width:719px) { | ||
/* Force table to not be like tables anymore */ | /* Force table to not be like tables anymore */ | ||
.fileinfotpl-type-information table, .fileinfotpl-type-information tbody, .fileinfotpl-type-information td, .fileinfotpl-type-information tr { | .fileinfotpl-type-information table, | ||
.fileinfotpl-type-information tbody, | |||
.fileinfotpl-type-information td, | |||
.fileinfotpl-type-information tr { | |||
display: block; | display: block; | ||
} | } | ||
Revision as of 20:12, 2 February 2021
/* Layout on mobile devices */
@media
only screen and (max-width:719px) {
/* Force table to not be like tables anymore */
.fileinfotpl-type-information table,
.fileinfotpl-type-information tbody,
.fileinfotpl-type-information td,
.fileinfotpl-type-information tr {
display: block;
}
.fileinfotpl-type-information td {
width: auto !important;
text-align: center !important;
}
}