Jump to content

MediaWiki:TemplatesLight.css

From Taerel Workshop

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.
/* Shared base for boxed elements */
.infobox, .article-copyright {
    border: 1px solid #ccc !important;
    border-top: 4px solid #2c3e50 !important;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #f9f9f9;
    padding: 5px;
}

/* Unique properties for Infobox */
.infobox {
    margin: 20px auto;
    margin-left: 0.6em;
    min-width: 15em;
    max-width: 20em;
    float: right;
    clear: right;
    font-family: Arial, sans-serif;
}

/* Infobox Header */
.infobox-header {
    border: 1px solid #ccc !important;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: white;
    text-align: center;
    margin: 5px 0;
    padding: 5px;
    font-weight: bold;
}

/* Article Copyright */
.article-copyright {
    margin-top: 10px;
    margin-bottom: 0.5em;
}