MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
.custom-panel .panel-center { | .custom-panel .panel-center { | ||
text-align: center; | text-align: center; | ||
} | |||
/* Hide file usage and metadata section */ | |||
#filelinks { | |||
display: none; | |||
} | |||
table.mw-image-metadata { | |||
display: none; | |||
} | } | ||
Revision as of 13:44, 12 May 2026
.custom-panel {
border: 2px solid #808080;
padding: 0 5px;
}
@media (min-width: 576px) {
.custom-panel {
width: 100% - 14px;
}
}
@media (min-width: 768px) {
.custom-panel {
width: 350px;
float: right;
margin-left: 10px;
}
}
.custom-panel table {
width: 100%;
}
.custom-panel tbody {
display: table;
width: 100%;
}
.custom-panel .panel-title {
text-align: center;
background-color: #808080;
color: white;
}
.custom-panel .panel-center {
text-align: center;
}
/* Hide file usage and metadata section */
#filelinks {
display: none;
}
table.mw-image-metadata {
display: none;
}