MediaWiki:Common.css

From ICANNWiki
Revision as of 01:21, 6 April 2024 by MarkWD (talk | contribs)
Jump to navigation Jump to search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* Legacy code moved to MediaWiki:Common.css/Legacy

/* Box at the top of the main page layout */
.icannwiki-top-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    background-color: #61a376;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 10px;
    color: #F2EFEA;
}

.icannwiki-invisible-bullet ul {
    list-style-type: none; /* Hides bullet points */
    padding: 0;
    margin: 0;
}

.icannwiki-invisible-bullet ul li {
    font-size: 1.2em;
    margin-bottom: 10px; /* Adjust the spacing between list items */
}

.icannwiki-invisible-bullet a {
    color: #F2EFEA;
    text-decoration: none;
}

/* Header for featured article, news, about us, and so on */
.icannwiki-section-header {
    background: #62a376;
    font-family: sans-serif;
    font-weight: bold;
    text-align: left;
    color: #dff4e4;
    height: 1.5em;
    margin: .2em 0 .2em 0;
    padding: 1em;
    border-radius: 5px;
}

/* Separator */
.icannwiki-clearfix {
    clear: both;
}

/* Main page content box: left */
.icannwiki-half-width-left {
    width: 49.5%;
    float: left;
}

/* Main page content box: right */
.icannwiki-half-width-right {
    width: 49.5%;
    float: right;
}

/* Font with darker shade of white */
.icannwiki-text-white {
    color: #F2EFEA;
}

/* Larger font */
.icannwiki-font-large {
    font-size: 150%;
}