MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
} | } | ||
/* Hides bullet points */ | |||
.icannwiki-top-box ul { | .icannwiki-top-box ul { | ||
list-style: none; | list-style: none; | ||
list-style-type: none; | list-style-type: none; | ||
} | } | ||
/* Switches bullet points with Unicode */ | |||
ul li:before { content:"\2713"; } | ul li:before { content:"\2713"; } | ||
/* List styling */ | |||
.icannwiki-top-box ul li { | .icannwiki-top-box ul li { | ||
font-size: 110%; | font-size: 110%; | ||
Line 33: | Line 36: | ||
.icannwiki-top-box a:hover { | .icannwiki-top-box a:hover { | ||
color: | color: #68d62c; | ||
text-decoration: none; | text-decoration: none; | ||
} | } |
Revision as of 04:04, 6 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;
border-radius: 4px;
margin-bottom: 4px;
padding: 4px;
}
/* Hides bullet points */
.icannwiki-top-box ul {
list-style: none;
list-style-type: none;
}
/* Switches bullet points with Unicode */
ul li:before { content:"\2713"; }
/* List styling */
.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: #dff4e4;
height: 1.5em;
padding: .5em;
border-radius: 5px;
}
/* Separator */
.icannwiki-clearfix {
clear: both;
}
/* Main page content box: left */
.icannwiki-half-width-left {
width: 49.5%;
float: left;
}
/* Main page content box: right */
.icannwiki-half-width-right {
width: 49.5%;
float: right;
}
/* Font with darker shade of white */
.icannwiki-text-white {
color: #F2EFEA;
}
/* Larger font */
.icannwiki-font-large {
font-size: 150%;
}