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: 110%;
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 */
width: 300px;
+
.icannwiki-colored-box {
margin: 25px auto;
+
background: #f1f6f3;
padding-bottom: 0px;
+
padding-left: 1%;
 +
padding-right: 1%
 
}
 
}
   −
.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;
+
/* Justified text */
font-family:sans-serif;
+
.icannwiki-justified {
font-size:120%;
+
text-align: justify;
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;
+
/* Highlighted text */
height:8em;
+
.icannwiki-highlight {
width:50%;
+
color: #61a376;
background:#d8dfe8;
+
    font-weight: bold;
padding:0 -1em 0 0;
  −
margin:0 0 1em 0;
  −
display:inline-block;
   
}
 
}
.WelcomeBox .Message {
+
 
background:#d8dfe8;
+
/* Font with darker shade of greenish white */
align:center;
+
.icannwiki-text-white {
 +
    color: #ebfcef;
 
}
 
}
.MissingLinks {
+
 
display:none;
+
/* Larger text */
}
+
.icannwiki-font-large {
.CommunityPortalHeader {
+
    font-size: 125%;
width:100%;
  −
height:50px;
  −
background:#d8dfe8;
  −
margin:1.2em 0 6px 0;
  −
border:1px solid #ddd;
  −
text-align: center;
  −
font-size: 1.7em;
  −
}
  −
   
}
 
}