Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Moved legacy code to MediaWiki:Common.css/Legacy) |
|||
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 | + | /* Legacy code moved to MediaWiki:Common.css/Legacy |
+ | |||
+ | /* No page name on main page; untested */ | ||
body.page-Main_Page h1.firstHeading { | body.page-Main_Page h1.firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
+ | /* The same as above; untested */ | ||
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; } | body.page-Form_Person_Page_Creator h1.firstHeading { display:none; } | ||
− | /* | + | /* Box at the top of the main page layout */ |
− | .icannwiki- | + | .icannwiki-top-box { |
background-color: #61a376; | background-color: #61a376; | ||
border-radius: 0px; | border-radius: 0px; | ||
Line 17: | Line 20: | ||
} | } | ||
− | .icannwiki- | + | /* 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- | + | .icannwiki-half-width-right { |
− | + | width: 49.5%; | |
+ | float: right; | ||
} | } | ||
Line 58: | Line 69: | ||
border-radius: 5px; | border-radius: 5px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 21:52, 5 April 2024
/* CSS placed here will be applied to all skins */
/* Legacy code moved to MediaWiki:Common.css/Legacy
/* No page name on main page; untested */
body.page-Main_Page h1.firstHeading {
display: none;
}
/* The same as above; untested */
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
/* Box at the top of the main page layout */
.icannwiki-top-box {
background-color: #61a376;
border-radius: 0px;
width: 100%;
margin-bottom: 20px;
height: 10px;
}
/* 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;
}
/* List customization */
.icannwiki-list-style-none {
list-style-type: none;
}
/* Text customization */
.icannwiki-text-white {
color: #F2EFEA;
}
.icannwiki-font-large {
font-size: 150%;
color:#F2EFEA;
text-align:center;
}
.icannwiki-font-medium {
font-size: 1.2em;
}
/* Layout for featured article, news, about us, and sponsor sections */
.icannwiki-section-header {
background: #61A376;
font-family: sans-serif;
font-weight: bold;
text-align: left;
color: #F2EFEA;
height: 1.5em;
margin: .2em 0 .1em 0;
padding: .5em .25em .5em .75em;
border-radius: 5px;
}