MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
#f-poweredbyico { display: none; } | #f-poweredbyico { display: none; } | ||
/* http://www.w3.org/TR/CSS2/media.html */ | /* http://www.w3.org/TR/CSS2/media.html */ | ||
@media screen { | @media screen { | ||
/* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_remove_the_article.2Fedit_etc_tabs.3F */ | |||
/* | |||
li#ca-edit, | |||
li#pt-preferences, | |||
li#pt-logout, | |||
*/ | |||
li#ca-nstab-main, | |||
li#ca-talk, | |||
li#ca-viewsource, | |||
li#ca-nstab-special, | |||
li#ca-history, | |||
li#ca-delete, | |||
li#ca-move, | |||
li#ca-protect, | |||
li#ca-watch, | |||
li#ca-unwatch, | |||
li#pt-userpage, | |||
li#pt-login, | |||
li#pt-mytalk, | |||
li#pt-watchlist, | |||
li#pt-mycontris, | |||
#p-navigation h5, | |||
#p-authoring h5, | |||
#p-search h5, | |||
#p-tb h5, | |||
#searchGoButton { | |||
display:none; | |||
} | |||
/* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F */ | /* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
Line 43: | Line 43: | ||
h3 { line-height: 200%; margin-top: 1ex; } | h3 { line-height: 200%; margin-top: 1ex; } | ||
h4 { line-height: 200%; margin-top: 1ex; } | h4 { line-height: 200%; margin-top: 1ex; } | ||
/* better set off the category links box (identified by inspecting HTML output) */ | |||
/* https://wiki.anl.gov/wiki_cnm/skins/monobook/main.css?207 */ | |||
#catlinks { | |||
background: none; | |||
border-left: none; | |||
border-right: none; | |||
border-top: 1px solid #aaa; | |||
border-bottom: none; | |||
margin-top: 6ex; | |||
} | |||
#footer, | #footer, | ||
Line 66: | Line 78: | ||
margin: 0 0 1em 0; | margin: 0 0 1em 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
} | } |
Revision as of 05:02, May 27, 2011
/* CSS placed here will affect users of the Monobook skin */
/* parent styles: https://wiki.inside.anl.gov/wiki_cnm/skins/monobook/main.css */
#f-poweredbyico { display: none; }
/* http://www.w3.org/TR/CSS2/media.html */
@media screen {
/* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_remove_the_article.2Fedit_etc_tabs.3F */
/*
li#ca-edit,
li#pt-preferences,
li#pt-logout,
*/
li#ca-nstab-main,
li#ca-talk,
li#ca-viewsource,
li#ca-nstab-special,
li#ca-history,
li#ca-delete,
li#ca-move,
li#ca-protect,
li#ca-watch,
li#ca-unwatch,
li#pt-userpage,
li#pt-login,
li#pt-mytalk,
li#pt-watchlist,
li#pt-mycontris,
#p-navigation h5,
#p-authoring h5,
#p-search h5,
#p-tb h5,
#searchGoButton {
display:none;
}
/* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F */
body.page-Main_Page h1.firstHeading { display:none; }
h1 { line-height: 120%; font-size: 188%; }
h2 { line-height: 180%; margin-top: 2ex; }
h3 { line-height: 200%; margin-top: 1ex; }
h4 { line-height: 200%; margin-top: 1ex; }
/* better set off the category links box (identified by inspecting HTML output) */
/* https://wiki.anl.gov/wiki_cnm/skins/monobook/main.css?207 */
#catlinks {
background: none;
border-left: none;
border-right: none;
border-top: 1px solid #aaa;
border-bottom: none;
margin-top: 6ex;
}
#footer,
#catlinks,
div#userloginForm form,
div#userlogin form#userlogin2,
div#userloginForm table,
div#userlogin form#userlogin2 table,
#p-navigation .pBody,
#p-authoring .pBody,
#p-search .pBody,
#p-tb .pBody {
background: none;
border: none;
}
#p-authoring, #p-tb {
opacity: 0.4
}
/* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F */
#footer {
margin: 0 0 1em 0;
padding: 0;
}
}