MediaWiki:Common.css

From Boktai Hacking Wiki
Revision as of 20:14, 11 August 2024 by Raphi (talk | contribs) (Created page with ".infobox-title { text-align: center; flex: 1; padding: 0.5rem 0; } .infobox-table th { padding-right: 1rem; } .infobox-table { margin: 0.5rem; } →‎Project boxes (Template:Project): .projectbox { border: 5px solid var(--infobox-color); border-radius: 5px; max-width: 32rem; margin: 0 auto; } @media screen and (min-width: 720px) { .projectbox { max-width: none; margin: 0; } } .projectbox .infobox-header {...")
(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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.infobox-title {
    text-align: center;
    flex: 1;
    padding: 0.5rem 0;
}

.infobox-table th {
    padding-right: 1rem;
}

.infobox-table {
    margin: 0.5rem;
}

/* Project boxes (Template:Project) */
.projectbox {
    border: 5px solid var(--infobox-color);
    border-radius: 5px;
    max-width: 32rem;
    margin: 0 auto;
}

@media screen and (min-width: 720px) {
    .projectbox {
        max-width: none;
        margin: 0;
    }
}

.projectbox .infobox-header {
    background: var(--infobox-color);
    color: white;
    font-weight: bold;
    display: flex;
}

.projectbox-Tool {
    --infobox-color: forestgreen;
}

.projectbox-Tool {
    --infobox-color: darkslateblue;
}