MediaWiki:CommonRules.css

From neox4t wiki
Revision as of 20:07, 9 September 2023 by Art (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: →‎Template:Rules: .rules-h { text-align: center; width: 100%; margin: 0 auto 15px; border-bottom: 1px solid #ccc; box-sizing: border-box; } .rules { width: 100%; background: #f8f8ff; border: 1px solid #ddd; padding: 15px; margin: 0 auto; box-sizing: border-box; } .rules > div:first-of-type { font-weight: bold; text-align: center; padding-bottom: 8px; margi...")
(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.
/* CSS placed here will be applied to all skins */

/* Template:Rules */
.rules-h {
    text-align: center;
    width: 100%;
    margin: 0 auto 15px;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}

.rules {
    width: 100%;
    background: #f8f8ff;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.rules > div:first-of-type {
    font-weight: bold;
    text-align: center;
    padding-bottom: 8px;
    margin: 0 auto;
    width: 70%;
}

.rules > div:nth-of-type(2) {
    text-decoration: underline;
    font-weight: bold; 
    text-align: center; 
    padding-bottom: 25px; 
    margin: 0 auto; 
    width: 70%;
}

.rules .languages {
    text-align: left;
    padding-bottom: 25px;
}

.rule {
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px dashed #c4c4ff;
}

.rule-d {
    font-weight: normal;
    margin-bottom: 10px;
}