Difference between revisions of "MediaWiki:Monobook.css"
From TWC Wiki
Jump to navigationJump to search (went for the bold portal h3) |
(this should now be old medieval coloured TWC wiki skin) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | /* | + | /* kill the monobook header image*/ |
− | + | div#globalWrapper { | |
− | + | .background-image-svg( ); | |
− | + | background-position: 0 0; | |
− | + | background-repeat: no-repeat; | |
− | + | background:none; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | body | + | body { |
− | + | background: #F4E9DF; | |
− | + | color: #6D6155; | |
− | |||
} | } | ||
− | + | ||
− | + | a:link, a:visited, #p-cactions li a { | |
+ | color: #2062A3; | ||
} | } | ||
− | . | + | |
− | + | a:link.new { | |
+ | color: #CC2200; | ||
} | } | ||
− | . | + | |
− | + | a:link.new:visited { | |
− | + | color: #A55858; | |
} | } | ||
− | + | ||
− | + | a:hover, a:active { | |
− | + | color: #8C2B39; | |
} | } | ||
− | |||
− | + | h1, h2, h3, h4, h5, h6, .pBody, table { | |
− | + | color: inherit; | |
+ | } | ||
− | + | div#content, #footer { | |
− | background | + | background: #E9DED4; |
− | + | color: #473D33; | |
− | |||
− | |||
− | |||
} | } | ||
− | . | + | |
− | + | div.thumb { | |
− | + | border-color: #E9DED4; | |
} | } | ||
− | + | ||
− | + | #content { | |
+ | border: 1px solid #CEBEAE; | ||
} | } | ||
− | + | ||
− | + | #footer { | |
− | + | border: 1px solid #CEBEAE; | |
− | + | border-width: 1px 0; | |
− | |||
} | } | ||
− | # | + | #content table { |
− | + | background-color: #E9DED4; | |
− | |||
− | |||
− | |||
} | } | ||
− | # | + | |
− | + | #content table.toc { | |
+ | background-color: #F4E9DF; | ||
} | } | ||
− | + | ||
− | + | .mw-headline, h1.firstHeading { | |
+ | /* Non-bold h1 and h2 look ugly */ | ||
+ | font-weight: bolder; | ||
} | } | ||
− | + | ||
− | + | ul { | |
− | + | list-style-image: none !important; | |
} | } | ||
− | + | ||
− | + | div.section { | |
− | + | border: 2px solid grey; | |
− | + | padding: .4em .9em .9em; | |
− | + | background-color: #f4e9df; | |
− | + | margin: 3px; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | div.section div.section div.section { | |
+ | border-width: 1px; | ||
} | } | ||
− | + | ||
− | div# | + | |
− | + | div#sidebar { | |
− | + | background: #838492; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | div# | + | div#sidebar-mobilejs { |
− | + | background: #838492; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | /* Left portlets (side menu and wiki logo sections)*/ | |
− | + | .portlet { | |
− | + | margin-bottom: 0; | |
− | + | margin-top: 0; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | .portlet h5, .portlet h6 { | |
− | + | display: none; | |
− | |||
} | } | ||
− | + | .portlet h3 { | |
− | + | text-transform: capitalize; | |
− | + | font-weight: lighter; | |
− | + | color: #E1E1E1; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | #p- | + | #p-logo { |
− | + | background: none; | |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | /*Navigation, Search and Tools section */ | |
− | + | .pBody { | |
+ | border: none; | ||
+ | background: #838492; | ||
} | } | ||
− | + | ||
− | + | .pBody ul { | |
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } | ||
− | + | ||
− | + | .pBody li { | |
− | + | text-indent: 1em; | |
− | + | padding: 0.1em 0; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | + | .pBody a:link, .pBody a:visited, .pBody a:hover { | |
− | + | color: white; | |
+ | font-weight: bold; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |||
+ | /* Content actions */ | ||
+ | |||
+ | #p-cactions ul { | ||
+ | /* Same as normal ul */ | ||
+ | margin: 0.3em 0 0 1.5em; | ||
} | } | ||
− | . | + | |
− | + | #p-cactions li.selected { | |
− | + | /* 2px instead of 1 to match border around #content */ | |
+ | border-width: 2px; | ||
} | } | ||
− | + | ||
− | + | #p-cactions li.selected a { | |
− | + | background-color: #E9DED4; | |
} | } | ||
− | + | ||
− | + | #p-cactions li a { | |
− | + | /* Slightly darker */ | |
+ | background-color: #E3D8C8; | ||
} | } | ||
− | + | ||
− | + | /* Special:Preferences */ | |
− | + | ||
− | + | #preferences, #preferences table, #preftoc li.selected { | |
− | + | background-color: #E3D8CD; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #preftoc li { | |
− | + | background-color: #DACFC5; | |
− | + | color: inherit; | |
} | } | ||
− | + | code, tt { background: none } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* adjust the poll box appearance */ | ||
+ | div.ajaxpoll { | ||
+ | background: #FCFAF8; | ||
+ | color: #6D6155; | ||
+ | border: 2px solid grey; | ||
} | } | ||
− | + | div.ajaxpoll-id-info { | |
− | + | display: none; | |
− | |||
− | |||
} | } | ||
− | + | div.ajaxpoll-answer-vote { | |
− | + | background: white; | |
} | } | ||
− | /* | + | |
− | + | /* center h1 headings for main page and portals only */ | |
− | + | .TWCportal_1 h1 { | |
+ | text-align:center; | ||
} | } | ||
− | + | .TWCportal_2 h1 { | |
− | + | text-align:center; | |
− | text-align: center; | ||
} | } | ||
− | + | .TWCportal_3 h1 { | |
− | + | text-align:center; | |
} | } | ||
− | + | .TWCportal_1, .TWCportal_2, .TWCportal_3 { | |
− | .TWCportal_1, .TWCportal_2, .TWCportal_3 { | ||
− | |||
color: black; | color: black; | ||
− | |||
} | } | ||
− | + | ||
− | + | /* Changes to colour and table settings for TWC pinkish coloured skin */ | |
− | + | /* title and heading boxes in infobox templates */ | |
− | + | .infobox th { | |
− | + | background-color: #F4E9DF; | |
− | |||
− | |||
− | |||
− | . | ||
− | background | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Latest revision as of 00:24, 5 May 2020
/* kill the monobook header image*/ div#globalWrapper { .background-image-svg( ); background-position: 0 0; background-repeat: no-repeat; background:none; } body { background: #F4E9DF; color: #6D6155; } a:link, a:visited, #p-cactions li a { color: #2062A3; } a:link.new { color: #CC2200; } a:link.new:visited { color: #A55858; } a:hover, a:active { color: #8C2B39; } h1, h2, h3, h4, h5, h6, .pBody, table { color: inherit; } div#content, #footer { background: #E9DED4; color: #473D33; } div.thumb { border-color: #E9DED4; } #content { border: 1px solid #CEBEAE; } #footer { border: 1px solid #CEBEAE; border-width: 1px 0; } #content table { background-color: #E9DED4; } #content table.toc { background-color: #F4E9DF; } .mw-headline, h1.firstHeading { /* Non-bold h1 and h2 look ugly */ font-weight: bolder; } ul { list-style-image: none !important; } div.section { border: 2px solid grey; padding: .4em .9em .9em; background-color: #f4e9df; margin: 3px; } div.section div.section div.section { border-width: 1px; } div#sidebar { background: #838492; } div#sidebar-mobilejs { background: #838492; } /* Left portlets (side menu and wiki logo sections)*/ .portlet { margin-bottom: 0; margin-top: 0; } .portlet h5, .portlet h6 { display: none; } .portlet h3 { text-transform: capitalize; font-weight: lighter; color: #E1E1E1; } #p-logo { background: none; } /*Navigation, Search and Tools section */ .pBody { border: none; background: #838492; } .pBody ul { list-style-type: none; list-style-image: none; padding: 0; margin: 0; } .pBody li { text-indent: 1em; padding: 0.1em 0; } .pBody a:link, .pBody a:visited, .pBody a:hover { color: white; font-weight: bold; } /* Content actions */ #p-cactions ul { /* Same as normal ul */ margin: 0.3em 0 0 1.5em; } #p-cactions li.selected { /* 2px instead of 1 to match border around #content */ border-width: 2px; } #p-cactions li.selected a { background-color: #E9DED4; } #p-cactions li a { /* Slightly darker */ background-color: #E3D8C8; } /* Special:Preferences */ #preferences, #preferences table, #preftoc li.selected { background-color: #E3D8CD; } #preftoc li { background-color: #DACFC5; color: inherit; } code, tt { background: none } /* adjust the poll box appearance */ div.ajaxpoll { background: #FCFAF8; color: #6D6155; border: 2px solid grey; } div.ajaxpoll-id-info { display: none; } div.ajaxpoll-answer-vote { background: white; } /* center h1 headings for main page and portals only */ .TWCportal_1 h1 { text-align:center; } .TWCportal_2 h1 { text-align:center; } .TWCportal_3 h1 { text-align:center; } .TWCportal_1, .TWCportal_2, .TWCportal_3 { color: black; } /* Changes to colour and table settings for TWC pinkish coloured skin */ /* title and heading boxes in infobox templates */ .infobox th { background-color: #F4E9DF; }