Module:Information/styles.css: Difference between revisions
From Neodyland Wiki
More actions
add standard styling into this templatestyles as well |
No edit summary |
||
| Line 5: | Line 5: | ||
padding: 5px; | padding: 5px; | ||
font-size: 95%; | font-size: 95%; | ||
/* end of toccolours */ | |||
box-sizing: border-box; | |||
width: 100%; | width: 100%; | ||
} | } | ||
Revision as of 19:29, 18 October 2021
.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;
}
}