Difference between revisions of "MediaWiki:Common.css"

From ICANNWiki
Jump to navigation Jump to search
 
(110 intermediate revisions by 2 users not shown)
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;
 
}
 
  
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
+
/* Box at the top of the main page layout */
 
+
.icannwiki-top-box {
.IW_BigGreenIconBox {
+
    display: grid;
     border-spacing: 0;
+
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
     border: 1px solid #28903b;
+
    gap: 4px;
     display: inline-block !important;
+
    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;
 
 
}
 
}
  
.sidebar-section {
+
.icannwiki-top-box a:hover {
background-color: #F6F6F6;
+
    color: #68d62c;
 +
    text-decoration: none;
 
}
 
}
  
.sidebar {
+
/* Header for featured article, news, about us, and so on */
background-color: #F6F6F6;
+
.icannwiki-section-header {
 +
    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 {
+
/* Colored bounding box */
margin: 0;
+
.icannwiki-colored-box {
font-family: sans-serif;
+
background: #f1f6f3;
font-size: 12px;
+
padding-left: 1%;
text-align: left;
+
padding-right: 1%
padding: 20px 0px 20px 15px;
 
 
}
 
}
  
.IW_MissionAndSponsorsBox .Sponsors .Title {
+
/* Separator */
font-size: 20px;
+
.icannwiki-clearfix {
font-weight: bold;
+
    clear: both;
 
}
 
}
  
.IW_MissionAndSponsorsBox .Sponsors .AskButton {
+
/* Main page content box: left */
width: 300px;
+
.icannwiki-half-width-left {
margin: 25px auto;
+
    width: 49%;
padding-bottom: 0px;
+
    float: left;
 
}
 
}
  
.gTLD_InfoBox {
+
/* Main page content box: right */
background-color: #f6f6f6;
+
.icannwiki-half-width-right {
border: 2px solid #466f81;
+
    width: 49%;
padding: 10px;
+
    float: right;
margin-bottom: 15px;
 
width: 100%;
 
height: 150px;
 
 
}
 
}
  
.gTLD_InfoBox .Dimensions {
+
/* Justified text */
width: 200px;
+
.icannwiki-justified {
height: 125px;
+
text-align: justify;
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 {
+
/* Highlighted text */
width:70%;
+
.icannwiki-highlight {
float:left;
+
color: #61a376;
display:inline-block;
+
    font-weight: bold;
 
}
 
}
  
#AOWBox {
+
/* Font with darker shade of greenish white */
display:flex;
+
.icannwiki-text-white {
flex-direction:column;
+
    color: #ebfcef;
width:99.7%;
 
border:1px solid #bcd7c4;
 
margin-bottom:.5em;
 
float:left;
 
background:white;
 
 
}
 
}
  
.MainPageHeader {
+
/* Larger text */
background:#4c9662;
+
.icannwiki-font-large {
font-family:sans-serif;
+
    font-size: 125%;
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;
 
 
}
 
}

Latest revision as of 23:06, 22 April 2024

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

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

/* Box at the top of the main page layout */
.icannwiki-top-box {
    display: grid;
    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;
}

/* Hides bullet points */
.icannwiki-top-box ul {
	list-style: none;
    list-style-type: none;
}

/* Changes bullet points to a Unicode character */
.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:"";
}

/* List stylings */
.icannwiki-top-box ul li {
    font-size: 110%;
    margin-bottom: 4px; /* Adjusts the spacing between list items */
}

.icannwiki-top-box a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.icannwiki-top-box a:hover {
    color: #68d62c;
    text-decoration: none;
}

/* Header for featured article, news, about us, and so on */
.icannwiki-section-header {
    background: #62a376;
    font-family: sans-serif;
    font-weight: bold;
    text-align: left;
    color: #ebfcef;
    height: 1.5em;
    padding: .5em;
    border-radius: 5px;
}

/* Colored bounding box */
.icannwiki-colored-box {
	background: #f1f6f3;
	padding-left: 1%;
	padding-right: 1%
}

/* Separator */
.icannwiki-clearfix {
    clear: both;
}

/* Main page content box: left */
.icannwiki-half-width-left {
    width: 49%;
    float: left;
}

/* Main page content box: right */
.icannwiki-half-width-right {
    width: 49%;
    float: right;
}

/* Justified text */
.icannwiki-justified {
	text-align: justify;
}

/* Highlighted text */
.icannwiki-highlight {
	color: #61a376;
    font-weight: bold;
}

/* Font with darker shade of greenish white */
.icannwiki-text-white {
    color: #ebfcef;
}

/* Larger text */
.icannwiki-font-large {
    font-size: 125%;
}