.template-page-info {
background: var( --background-color-neutral-subtle );
box-sizing: border-box;
clear: both;
margin: 1em 0;
}
.template-page-info caption {
cursor: pointer;
font-weight: bold;
margin: .5em;
}
.template-page-info caption:after {
content: "▼";
margin-left: .5em;
}
.template-page-info table {
border-spacing: .5em;
width: 100%;
}
.template-page-info tbody {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: .5em;
}
.template-page-info th,
.template-page-info td {
padding: .1em .5em;
vertical-align: top;
}
.template-page-info th {
text-align: left;
white-space: nowrap;
}
.template-page-info th[title]:not([title=""]) {
cursor: help;
text-decoration: underline dotted;
}
.template-page-info td {
grid-column-start: 2;
width: 100%;
}
.template-page-info tr {
border: 1px solid var( --border-color-subtle );
border-radius: 4px;
}
.template-page-info .EditParam {
float: right;
}
.template-page-info .smw-highlighter {
float: right;
margin-right: .5em;
}
.template-page-info .hide {
display: none;
}
.template-page-info.trim td,
.template-page-info .trim td {
max-width: 1px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.template-page-info.trim a:hover,
.template-page-info .trim a:hover {
white-space: normal;
}
.template-page-info .center {
text-align: center;
}
.template-page-info.float {
float: right;
margin: 0 0 1em 1em;
width: 310px;
}
.template-page-info.hide {
display: none;
}
.template-page-info.collapse tbody {
display: none;
}
/**
* Read mode
*/
body.read-mode .template-page-info tbody {
display: none;
}
/**
* Visual editor
*/
.template-page-info.ve-ce-leafNode .auto {
opacity: .5;
}
/**
* Small screens
*/
@media screen and (max-width: 800px) {
.template-page-info table {
display: table;
}
.template-page-info tbody {
display: none;
}
.template-page-info.trim td,
.template-page-info .trim td {
white-space: normal;
}
.template-page-info.float {
float: none;
margin: .5em 0;
width: 100%;
}
}
/* [[Category:Template style pages]] */