Changes

no edit summary
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 */
body.page-Main_Page h1.firstHeading {
  −
display: none;
  −
}
     −
.IW_BigGreenIconBox {
+
/* Box at the top of the main page layout */
     border-spacing: 0px;
+
.icannwiki-top-box {
     border: 1px solid #28903b;
+
     display: grid;
     display: inline-block !important;
+
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
 +
    gap: 4px;
 +
     background-color: #61a376;
 +
    background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg');
 +
     background-size: cover;
 +
    border-radius: 4px;
 +
    margin-bottom: 4px;
 +
    padding: 4px;
 
}
 
}
   −
.IW_BigGreenIconBox td {
+
/* Hides bullet points */
     text-align: center;
+
.icannwiki-top-box ul {
     width: 85px;
+
     list-style: none;
 +
     list-style-type: none;
 
}
 
}
   −
.IW_BigGreenIconBox td img {
+
/* Changes bullet points to a Unicode character */
     margin: -2px;
+
.icannwiki-top-box ul li:before {
 +
     background-image: url('/images/8/82/1F4CE.png');
 +
    background-size: 32px 32px;
 +
    display: inline-block;
 +
    vertical-align: middle;
 +
    width: 32px;
 +
    height: 32px;
 +
    content:"";
 
}
 
}
   −
.IW_MissionAndSponsorsBox {
+
/* List stylings */
float: right;
+
.icannwiki-top-box ul li {
border: 1px solid #c0c0c0;
+
    font-size: 1.0em;
border-bottom: 1px solid #c0c0c0;
+
    margin-bottom: 4px; /* Adjusts the spacing between list items */
width: 375px;
  −
margin-left: 20px;
  −
background-color: #FFF;
   
}
 
}
   −
.IW_MissionAndSponsorsBox .MissionStatement {
+
.icannwiki-top-box a {
color: #000;
+
    color: white;
background-color: #f6f6f6;
+
    font-weight: bold;
padding: 5px 10px;
+
    text-decoration: none;
border: 1px solid #0d8323;
  −
text-align:center;
   
}
 
}
   −
.IW_MissionAndSponsorsBox .Sponsors {
+
.icannwiki-top-box a:hover {
margin: 0;
+
    color: #68d62c;
font-family: sans-serif;
+
    text-decoration: none;
font-size: 12px;
  −
text-align: left;
  −
padding: 20px 0px 20px 15px;
   
}
 
}
   −
.IW_MissionAndSponsorsBox .Sponsors .Title {
+
/* Header for featured article, news, about us, and so on */
font-size: 20px;
+
.icannwiki-section-header {
font-weight: bold;
+
    background: #62a376;
 +
    font-family: sans-serif;
 +
    font-weight: bold;
 +
    text-align: left;
 +
    color: #ebfcef;
 +
    height: 1.5em;
 +
    padding: .5em;
 +
    border-radius: 5px;
 
}
 
}
   −
.IW_MissionAndSponsorsBox .Sponsors .AskButton {
+
/* Colored bounding box with bigger text */
width: 300px;
+
.icannwiki-colored-box {
margin: 25px auto;
+
    background: #f1f6f3;
padding-bottom: 0px;
+
    padding-left: 1%;
 +
    padding-right: 1%;
 +
    font-size: 1.05em;
 
}
 
}
   −
.gTLD_InfoBox {
+
/* Separator */
background-color: #f6f6f6;
+
.icannwiki-clearfix {
border: 2px solid #466f81;
+
    clear: both;
padding: 10px;
  −
margin-bottom: 15px;
  −
width: 100%;
  −
height: 150px;
   
}
 
}
   −
.gTLD_InfoBox .Dimensions {
+
/* Main page content box: left */
width: 200px;
+
.icannwiki-half-width-left {
height: 125px;
+
    width: 49%;
float: left;
+
    float: left;
margin: 0px 20px 0 0;
  −
border-right: 1px solid #bdbdbd;
   
}
 
}
.gTLD_Info {
+
 
background-color: #f6f6f6;
+
/* Main page content box: right */
border: 2px solid #466f81;
+
.icannwiki-half-width-right {
padding: 10px;
+
    width: 49%;
margin: 2em 0 2em 0;
+
    float: right;
width: 100%;
  −
height: 150px;
   
}
 
}
.AOW {
+
 
background:#466f81;
+
/* Warning template */
font-family:sans-serif;
+
.icannwiki-warning {
font-size:120%;
+
    display: flex;
font-weight:bold;
+
    justify-content: center;
border:2px solid #0d8323;
+
    align-items: center;
text-align:left;
+
    text-align: center;
color:#FFF;
+
    height: auto;
padding-left:0.4em;
+
    width: 60%;
padding-top:0.2em;
+
    margin: 0 auto;
padding-bottom:0.2em;
+
    padding: 10px;
 +
    background-color: #FFFDF4;
 +
    border: 2px solid #d48900;
 +
    border-left: 16px solid #d48900;
 
}
 
}
.WelcomeBox {
+
 
float:left;
+
.icannwiki-warning a {
height:8em;
+
    font-weight: bold;
width:50%;
+
    color: #d48900;
background:#d8dfe8;
  −
padding:0 -1em 0 0;
  −
margin:0 0 1em 0;
  −
display:inline-block;
   
}
 
}
.WelcomeBox .Message {
+
 
background:#d8dfe8;
+
/* Signaling template */
align:center;
+
.icannwiki-signal {
 +
    display: flex;
 +
    justify-content: center;
 +
    align-items: center;
 +
    text-align: center;
 +
    height: auto;
 +
    width: 60%;
 +
    margin: 0 auto;
 +
    padding: 10px;
 +
    background-color: #f4fcff;
 +
    border: 2px solid #0092D4;
 +
    border-left: 16px solid #0092D4;
 
}
 
}
.MissingLinks {
+
 
display:none;
+
.icannwiki-signal a {
 +
    font-weight: bold;
 +
    color: #0092D4;
 
}
 
}
.CommunityPortalHeader {
+
 
width:100%;
+
/* Danger template */
height:50px;
+
.icannwiki-danger {
background:#d8dfe8;
+
    display: flex;
margin:1.2em 0 6px 0;
+
    justify-content: center;
border:1px solid #ddd;
+
    align-items: center;
text-align: center;
+
    text-align: center;
font-size: 1.7em;
+
    height: auto;
 +
    width: 60%;
 +
    margin: 0 auto;
 +
    padding: 10px;
 +
    background-color: #fff4f4;
 +
    border: 2px solid #D40000;
 +
    border-left: 16px solid #D40000
 
}
 
}
.WritingCommunityBox {
+
 
width:50%;
+
.icannwiki-danger a {
float:left;
+
    font-weight: bold;
padding:0 .5em 0 0;
+
    color: #D40000;
}
  −
.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;
  −
}
  −
.ICANNBoard {
  −
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 {
+
/* Justified text */
width:70%;
+
.icannwiki-justified {
float:left;
+
    text-align: justify;
display:inline-block;
   
}
 
}
   −
#AOWBox {
+
/* Font with darker shade of greenish white */
height:225px;
+
.icannwiki-text-white {
width:99.7%;
+
    color: #ebfcef;
border:1px solid #bcd7c4;
  −
margin-bottom:.5em;
  −
display:inline-block;
  −
float:left;
  −
background:white;
   
}
 
}
   −
#AOWBox #AOWHeader {
+
/* Larger text */
background:#4c9662;
+
.icannwiki-font-large {
width:100%;
+
    font-size: 1.25em;
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;
   
}
 
}