MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 39: | Line 39: | ||
/* Hide file usage and metadata section */ | /* Hide file usage and metadata section */ | ||
#filehistory, | #filehistory, | ||
#filetoc, | |||
#filelinks, | #filelinks, | ||
#mw-imagepage-section-filehistory, | #mw-imagepage-section-filehistory, | ||
Latest revision as of 14:53, 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 */
#filehistory,
#filetoc,
#filelinks,
#mw-imagepage-section-filehistory,
#mw-imagepage-section-linkstoimage,
#metadata,
.mw-imagepage-section-metadata {
display: none !important;
}