Difference between revisions of "MediaWiki:Common.css"

From ICANNWiki
Jump to navigation Jump to search
 
(359 intermediate revisions by 3 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;
 
}
 
  
.IW_BigGreenIconBox {
+
/* Navigation panel to the left */
     border-spacing: 0px;
+
#mw-panel a {
    border: 1px solid #28903b;
+
     font-size: 1.10em;
    display: inline-block !important;
 
 
}
 
}
  
.IW_BigGreenIconBox td {
+
#mw-panel a:hover {
     text-align: center;
+
     color: #62a376;
     width: 85px;
+
     text-decoration: none;
 
}
 
}
  
.IW_BigGreenIconBox td img {
+
/* Box at the top of the main page layout */
     margin: -2px;
+
.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;
 
}
 
}
  
.IW_MissionAndSponsorsBox {
+
/* Hides bullet points */
float: right;
+
.icannwiki-top-box ul {
border: 1px solid #c0c0c0;
+
    list-style: none;
border-bottom: 1px solid #c0c0c0;
+
    list-style-type: none;
width: 375px;
 
margin-left: 20px;
 
background-color: #FFF;
 
 
}
 
}
  
.IW_MissionAndSponsorsBox .MissionStatement {
+
/* Changes bullet points to a Unicode character */
color: #000;
+
.icannwiki-top-box ul li:before {
background-color: #f6f6f6;
+
    background-image: url('/images/8/82/1F4CE.png');
padding: 5px 10px;
+
    background-size: 32px 32px;
border: 1px solid #0d8323;
+
    display: inline-block;
text-align:center;
+
    vertical-align: middle;
 +
    width: 32px;
 +
    height: 32px;
 +
    content:"";
 
}
 
}
  
.IW_MissionAndSponsorsBox .Sponsors {
+
/* List stylings */
margin: 0;
+
.icannwiki-top-box ul li {
font-family: sans-serif;
+
    font-size: 1.0em;
font-size: 12px;
+
    margin-bottom: 4px; /* Adjusts the spacing between list items */
text-align: left;
 
padding: 20px 0px 20px 15px;
 
 
}
 
}
  
.IW_MissionAndSponsorsBox .Sponsors .Title {
+
.icannwiki-top-box a {
font-size: 20px;
+
    color: white;
font-weight: bold;
+
    font-weight: bold;
 +
    text-decoration: none;
 
}
 
}
  
.IW_MissionAndSponsorsBox .Sponsors .AskButton {
+
.icannwiki-top-box a:hover {
width: 300px;
+
    color: #68d62c;
margin: 25px auto;
+
    text-decoration: none;
padding-bottom: 0px;
 
 
}
 
}
  
.gTLD_InfoBox {
+
/* Header for featured article, news, about us, and so on */
background-color: #f6f6f6;
+
.icannwiki-section-header {
border: 2px solid #466f81;  
+
    background: #62a376;
padding: 10px;
+
    font-family: sans-serif;
margin-bottom: 15px;
+
    font-weight: bold;
width: 100%;
+
    text-align: left;
height: 150px;
+
    color: #ebfcef;
 +
    height: 1.5em;
 +
    padding: .5em;
 +
    border-radius: 5px;
 
}
 
}
  
.gTLD_InfoBox .Dimensions {
+
/* Colored bounding box with bigger text */
width: 200px;
+
.icannwiki-colored-box {
height: 125px;
+
    background: #f1f6f3;
float: left;
+
    padding-left: 1%;
margin: 0px 20px 0 0;
+
    padding-right: 1%;
border-right: 1px solid #bdbdbd;
+
    font-size: 1.05em;
 
}
 
}
.gTLD_Info {
+
 
background-color: #f6f6f6;
+
/* Separator */
border: 2px solid #466f81;
+
.icannwiki-clearfix {
padding: 10px;
+
    clear: both;
margin: 2em 0 2em 0;
 
width: 100%;
 
height: 150px;
 
 
}
 
}
.AOW {
+
 
background:#466f81;
+
/* Main page content box: left */
font-family:sans-serif;
+
.icannwiki-half-width-left {
font-size:120%;
+
    width: 49%;
font-weight:bold;
+
    float: left;
border:2px solid #0d8323;
 
text-align:left;
 
color:#FFF;
 
padding-left:0.4em;
 
padding-top:0.2em;
 
padding-bottom:0.2em;
 
 
}
 
}
.WelcomeBox {
+
 
float:left;
+
/* Main page content box: right */
height:8em;
+
.icannwiki-half-width-right {
width:50%;
+
    width: 49%;
background:#d8dfe8;
+
    float: right;
padding:0 -1em 0 0;
 
margin:0 0 1em 0;
 
display:inline-block;
 
 
}
 
}
.WelcomeBox .Message {
+
 
background:#d8dfe8;
+
/* Warning template */
align:center;
+
.icannwiki-warning {
 +
    display: flex;
 +
    justify-content: center;
 +
    align-items: center;
 +
    text-align: center;
 +
    height: auto;
 +
    width: 60%;
 +
    margin: 0 auto;
 +
    padding: 10px;
 +
    background-color: #FFFDF4;
 +
    border: 2px solid #d48900;
 +
    border-left: 16px solid #d48900;
 
}
 
}
.MissingLinks {
+
 
display:none;
+
.icannwiki-warning a {
 +
    font-weight: bold;
 +
    color: #d48900;
 
}
 
}
.CommunityPortalHeader {
+
 
width:100%;
+
/* Signaling template */
height:50px;
+
.icannwiki-signal {
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: #f4fcff;
 +
    border: 2px solid #0092D4;
 +
    border-left: 16px solid #0092D4;
 
}
 
}
.WritingCommunityBox {
+
 
width:50%;
+
.icannwiki-signal a {
float:left;
+
    font-weight: bold;
padding:0 .5em 0 0;
+
    color: #0092D4;
 
}
 
}
.WritingCommunityBox .RowStyle {
+
 
width: 100%;
+
/* Danger template */
padding:0em .1em 0em .1em;
+
.icannwiki-danger {
border-bottom:1px solid #0d8323;
+
    display: flex;
background: whitesmoke;
+
    justify-content: center;
 +
    align-items: center;
 +
    text-align: center;
 +
    height: auto;
 +
    width: 60%;
 +
    margin: 0 auto;
 +
    padding: 10px;
 +
    background-color: #fff4f4;
 +
    border: 2px solid #D40000;
 +
    border-left: 16px solid #D40000
 
}
 
}
.WritingCommunityBox .ColumnStyle {
+
 
background:#0d8323;
+
.icannwiki-danger a {
font-family:sans-serif;
+
    font-weight: bold;
font-size:120%;
+
    color: #D40000;
font-weight:bold;
 
border:2px solid #466f81;
 
text-align:left;
 
color:#FFF;
 
padding: 0 0 0 .65em;
 
 
}
 
}
.PrimerICW {
+
 
width:46%;
+
/* Justified text */
background-color:whitesmoke;
+
.icannwiki-justified {
float:left;
+
    text-align: justify;
display:inline-block;
 
height:250px;
 
padding: 1em 1em 1em 1em;
 
border: 2px solid gray;
 
 
}
 
}
.PrimerIM {
+
 
width:46%;
+
/* Font with darker shade of greenish white */
background-color:whitesmoke;
+
.icannwiki-text-white {
float:right;
+
    color: #ebfcef;
display:inline-block;
 
height:250px;
 
padding: 1em 1em 1em 1em;
 
border: 2px solid gray;
 
 
}
 
}
.ICANNBoard {
+
 
display: none;
+
/* Larger text */
 +
.icannwiki-font-large {
 +
    font-size: 1.25em;
 
}
 
}

Latest revision as of 18:21, 7 May 2024

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

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

/* Navigation panel to the left */
#mw-panel a {
    font-size: 1.10em;
}

#mw-panel a:hover {
    color: #62a376;
    text-decoration: none;
}

/* 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: 1.0em;
    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 with bigger text */
.icannwiki-colored-box {
    background: #f1f6f3;
    padding-left: 1%;
    padding-right: 1%;
    font-size: 1.05em;
}

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

/* Warning template */
.icannwiki-warning {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: #FFFDF4;
    border: 2px solid #d48900;
    border-left: 16px solid #d48900;
}

.icannwiki-warning a {
    font-weight: bold;
    color: #d48900;
}

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

.icannwiki-signal a {
    font-weight: bold;
    color: #0092D4;
}

/* Danger template */
.icannwiki-danger {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff4f4;
    border: 2px solid #D40000;
    border-left: 16px solid #D40000
}

.icannwiki-danger a {
    font-weight: bold;
    color: #D40000;
}

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

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

/* Larger text */
.icannwiki-font-large {
    font-size: 1.25em;
}