Module:Information/styles.css: Difference between revisions
From Neodyland Wiki
More actions
test removal |
m Reverted 4 edits by Neveselbert (mobile) (talk) (TwinkleGlobal) |
||
| Line 22: | Line 22: | ||
width: 15%; | width: 15%; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Layout on mobile devices */ | |||
@media | |||
only screen and (max-width:719px) { | |||
/* Force table to not be like tables anymore */ | |||
.fileinfotpl-type-information, | |||
.fileinfotpl-type-information table, | |||
.fileinfotpl-type-information tbody, | |||
.fileinfotpl-type-information th, | |||
.fileinfotpl-type-information td, | |||
.fileinfotpl-type-information tr { | |||
display: block; | |||
} | |||
.fileinfotpl-type-information th, | |||
.fileinfotpl-type-information td { | |||
width: auto !important; | |||
text-align: center; | |||
} | |||
} | } | ||
Revision as of 04:50, 21 January 2023
.fileinfotpl-type-information {
/* toccolours */
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 5px;
font-size: 95%;
/* end of toccolours */
box-sizing: border-box;
width: 100%;
}
.fileinfotpl-type-information > * > tr {
vertical-align: top;
}
.fileinfotpl-type-information > * > tr > td,
.fileinfotpl-type-information > * > tr > th {
padding: 4px;
}
.fileinfo-paramfield {
background: #ccf;
text-align: right;
padding-right: 0.4em;
width: 15%;
font-weight: bold;
}
/* Layout on mobile devices */
@media
only screen and (max-width:719px) {
/* Force table to not be like tables anymore */
.fileinfotpl-type-information,
.fileinfotpl-type-information table,
.fileinfotpl-type-information tbody,
.fileinfotpl-type-information th,
.fileinfotpl-type-information td,
.fileinfotpl-type-information tr {
display: block;
}
.fileinfotpl-type-information th,
.fileinfotpl-type-information td {
width: auto !important;
text-align: center;
}
}