MediaWiki:Common.css

From ICANNWiki
Revision as of 01:38, 3 April 2024 by MarkWD (talk | contribs) (Moved legacy code to MediaWiki:Common.css/Legacy)
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 */

/* No page name on main page (en) */
 body.page-Main_Page h1.firstHeading {
 	display: none;
 }

body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }

/* General background and layout */
.icannwiki-bg-green {
    background-color: #61a376;
    border-radius: 0px;
    width: 100%;
    margin-bottom: 20px;
    height: 10px;
}

.icannwiki-border-left-white {
    border-left: 1px solid #F2EFEA;
}

/* Padding for sections */
.icannwiki-section-padding {
    padding: 10px;
}

/* List customization */
.icannwiki-list-style-none {
    list-style-type: none;
}

/* Text customization */
.icannwiki-text-white {
    color: #F2EFEA;
}

.icannwiki-font-large {
    font-size: 150%;
    color:#F2EFEA;
    text-align:center;
}

.icannwiki-font-medium {
    font-size: 1.2em;
}

/* Layout for featured article, news, about us, and sponsor sections */
.icannwiki-section-header {
    background: #61A376;
    font-family: sans-serif;
    font-weight: bold;
    text-align: left;
    color: #F2EFEA;
    height: 1.5em;
    margin: .2em 0 .1em 0;
    padding: .5em .25em .5em .75em;
    border-radius: 5px;
}

.icannwiki-clearfix {
    clear: both;
}

.icannwiki-half-width-left {
    width: 49.5%;
    float: left;
}

.icannwiki-half-width-right {
    width: 49.5%;
    float: right;
}

.icannwiki-content-border {
    border: 2px solid #4B815D;
    color: #F2EFEA;
    border-radius: 5px;
    font-family: sans-serif;
    font-weight: bold;
    text-align: left;
    height: 35px;
    margin: .25em;
    padding: .25em;
}

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