Difference between revisions of "MediaWiki:Common.css"

From ICANNWiki
Jump to navigation Jump to search
(Moved legacy code to MediaWiki:Common.css/Legacy)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/* No page name on main page (en) */
+
/* Legacy code moved to MediaWiki:Common.css/Legacy
 +
 
 +
/* No page name on main page; untested */
 
  body.page-Main_Page h1.firstHeading {
 
  body.page-Main_Page h1.firstHeading {
 
  display: none;
 
  display: none;
 
  }
 
  }
  
 +
/* The same as above; untested */
 
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
 
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
  
/* General background and layout */
+
/* Box at the top of the main page layout */
.icannwiki-bg-green {
+
.icannwiki-top-box {
 
     background-color: #61a376;
 
     background-color: #61a376;
 
     border-radius: 0px;
 
     border-radius: 0px;
Line 17: Line 20:
 
}
 
}
  
.icannwiki-border-left-white {
+
/* Separator */
     border-left: 1px solid #F2EFEA;
+
.icannwiki-clearfix {
 +
    clear: both;
 +
}
 +
 
 +
/* Main page content box: left */
 +
.icannwiki-half-width-left {
 +
     width: 49.5%;
 +
    float: left;
 
}
 
}
  
/* Padding for sections */
+
/* Main page content box: right */
.icannwiki-section-padding {
+
.icannwiki-half-width-right {
     padding: 10px;
+
     width: 49.5%;
 +
    float: right;
 
}
 
}
  
Line 58: Line 69:
 
     border-radius: 5px;
 
     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
 

Revision as of 21:52, 5 April 2024

/* CSS placed here will be applied to all skins */

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

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

/* The same as above; untested */
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }

/* Box at the top of the main page layout */
.icannwiki-top-box {
    background-color: #61a376;
    border-radius: 0px;
    width: 100%;
    margin-bottom: 20px;
    height: 10px;
}

/* 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;
}

/* 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;
}