MediaWiki:Common.css

Revision as of 14:53, 12 May 2026 by Looka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.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;
}