Jump to content

MediaWiki:Common.css: Difference between revisions

From ICANNWiki
Legacy undocumented code confirmed and commented out
Moved legacy code to MediaWiki:Common.css/Legacy
Line 85: Line 85:
}
}


/* LEGACY CODE BELOW
/* Legacy code moved to MediaWiki:Common.css/Legacy
 
.IW_BigGreenIconBox {
    border-spacing: 0;
    border: 1px solid #28903b;
    display: inline-block !important;
}
 
.IW_BigGreenIconBox td {
    text-align: center;
    width: 85px;
}
 
.IW_BigGreenIconBox td img {
    margin: -2px;
}
 
.IW_MissionAndSponsorsBox {
float: right;
border: 1px solid #c0c0c0;
border-bottom: 1px solid #c0c0c0;
width: 375px;
margin-left: 20px;
background-color: #FFF;
}
 
.IW_MissionAndSponsorsBox .MissionStatement {
color: #000;
background-color: #f6f6f6;
padding: 5px 10px;
border: 1px solid #0d8323;
text-align:center;
}
 
.sidebar-section {
background-color: #F6F6F6;
}
 
.sidebar {
background-color: #F6F6F6;
}
 
.IW_MissionAndSponsorsBox .Sponsors {
margin: 0;
font-family: sans-serif;
font-size: 12px;
text-align: left;
padding: 20px 0px 20px 15px;
}
 
.IW_MissionAndSponsorsBox .Sponsors .Title {
font-size: 20px;
font-weight: bold;
}
 
.IW_MissionAndSponsorsBox .Sponsors .AskButton {
width: 300px;
margin: 25px auto;
padding-bottom: 0px;
}
 
.gTLD_InfoBox {
background-color: #f6f6f6;
border: 2px solid #466f81;
padding: 10px;
margin-bottom: 15px;
width: 100%;
height: 150px;
}
 
.gTLD_InfoBox .Dimensions {
width: 200px;
height: 125px;
float: left;
margin: 0px 20px 0 0;
border-right: 1px solid #bdbdbd;
}
.gTLD_Info {
background-color: #f6f6f6;
border: 2px solid #466f81;
padding: 10px;
margin: 2em 0 2em 0;
width: 100%;
height: 150px;
}
.AOW {
background:#466f81;
font-family:sans-serif;
font-size:120%;
font-weight:bold;
border:2px solid #0d8323;
text-align:left;
color:#FFF;
padding-left:0.4em;
padding-top:0.2em;
padding-bottom:0.2em;
}
.WelcomeBox {
float:left;
height:8em;
width:50%;
background:#d8dfe8;
padding:0 -1em 0 0;
margin:0 0 1em 0;
display:inline-block;
}
.WelcomeBox .Message {
background:#d8dfe8;
align:center;
}
.MissingLinks {
display:none;
}
.CommunityPortalHeader {
width:100%;
height:50px;
background:#d8dfe8;
margin:1.2em 0 6px 0;
border:1px solid #ddd;
text-align: center;
font-size: 1.7em;
}
.WritingCommunityBox {
width:50%;
float:left;
padding:0 .5em 0 0;
}
.WritingCommunityBox .RowStyle {
width: 100%;
padding:0em .1em 0em .1em;
border-bottom:1px solid #0d8323;
background: whitesmoke;
}
.WritingCommunityBox .ColumnStyle {
background:#0d8323;
font-family:sans-serif;
font-size:120%;
font-weight:bold;
border:2px solid #466f81;
text-align:left;
color:#FFF;
padding: 0 0 0 .65em;
}
.PrimerICW {
width:46%;
background-color:whitesmoke;
float:left;
display:inline-block;
height:180px;
padding: 1em 1em 1em 1em;
border: 2px solid gray;
}
.PrimerIM {
width:46%;
background-color:whitesmoke;
float:right;
display:inline-block;
height:180px;
padding: 1em 1em 1em 1em;
border: 2px solid gray;
}
.NoDesktop {
display: none;
}
.ICANNBoardMembers {
height:230px;
width:50%;
display:inline-block;
padding:1em 1em 1em 1em;
float:left;
overflow:auto;
}
.Editathon {
background:#339933;
font-family:sans-serif;
font-size:120%;
font-weight:bold;
border:2px solid #ffa500;
text-align:left;
color:#FFF;
padding-left:0.4em;
padding-top:0.2em;
padding-bottom:0.2em;
}
 
.MainPage {
width:70%;
float:left;
display:inline-block;
}
 
#AOWBox {
display:flex;
flex-direction:column;
width:99.7%;
border:1px solid #bcd7c4;
margin-bottom:.5em;
float:left;
background:white;
}
 
.MainPageHeader {
background:#4c9662;
font-family:sans-serif;
font-size:120%;
font-weight:bold;
border:2px solid #0d8323;
text-align:left;
color:#FFF;
height: 20px;
margin:.25em .25em .25em .25em;
padding:.25em .25em .25em .25em;
}
.banner {
  width: 100%;
  padding: 5px;
  margin-top: 0;
  margin-left: auto;
  margin-bottom: 0;
  margin-right: auto }
*/

Revision as of 01:38, 3 April 2024

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