MediaWiki:Common.css: Difference between revisions
Appearance
Tag: Undo |
No edit summary |
||
Line 11: | Line 11: | ||
} | } | ||
/* Box at the top of the main page | /* Box with links at the top of the main page */ | ||
.icannwiki-top-box { | .icannwiki-top-box { | ||
display: grid; | display: grid; | ||
Line 41: | Line 41: | ||
} | } | ||
/* | /* Styling for the box's elements */ | ||
.icannwiki-top-box ul li { | .icannwiki-top-box ul li { | ||
font-size: 1.0em; | font-size: 1.0em; | ||
Line 58: | Line 58: | ||
} | } | ||
/* Header for | /* Header for elements of the main page, like news, about us, and so on */ | ||
.icannwiki-section-header { | .icannwiki-section-header { | ||
background: #62a376; | background: #62a376; | ||
Line 70: | Line 70: | ||
} | } | ||
/* Colored bounding box | /* Colored bounding box for text */ | ||
.icannwiki-colored-box { | .icannwiki-colored-box { | ||
background: #f1f6f3; | background: #f1f6f3; | ||
Line 78: | Line 78: | ||
} | } | ||
/* Separator */ | /* Separator (blank) */ | ||
.icannwiki-clearfix { | .icannwiki-clearfix { | ||
clear: both; | clear: both; | ||
Line 95: | Line 95: | ||
} | } | ||
/* Sponsorts template */ | |||
.icannwiki-sponsors { | .icannwiki-sponsors { | ||
display: grid; | display: grid; |
Revision as of 21:26, 7 June 2024
/* CSS placed here will be applied to all skins */
/* Navigation panel on the left side */
#mw-panel a {
font-size: 1.10em;
}
#mw-panel a:hover {
color: #62a376;
text-decoration: none;
}
/* Box with links at the top of the main page */
.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:"";
}
/* Styling for the box's elements */
.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 elements of the main page, like 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 for text */
.icannwiki-colored-box {
background: #f1f6f3;
padding-left: 1%;
padding-right: 1%;
font-size: 1.05em;
}
/* Separator (blank) */
.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;
}
/* Sponsorts template */
.icannwiki-sponsors {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 4px;
border-radius: 4px;
margin-bottom: 4px;
padding: 4px;
}
.icannwiki-sponsors ul {
list-style: none;
list-style-type: none;
}
/* 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;
}
/* Legacy CSS can be found at MediaWiki:Common.css/Legacy */