Difference between revisions of "MediaWiki:Monobook.css"
Jump to navigation
Jump to search
(28 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | /* <pre> */ |
||
− | /* edit this file to customize the monobook skin for the entire site */ |
||
+ | /* CSS placed here will affect users of the Monobook skin */ |
||
+ | |||
+ | /* putting the search box above the rest */ |
||
+ | #p-search { |
||
+ | position:absolute; |
||
+ | top:150px; |
||
+ | left:0; |
||
+ | } |
||
+ | |||
+ | #p-navigation { |
||
+ | clear:left; |
||
+ | margin-top:60px; |
||
+ | } |
||
+ | |||
+ | |||
+ | |||
+ | /* namespace list |
||
+ | '0': '(main)', '1' : 'talk' |
||
+ | '2': 'User', '3' : 'user talk' |
||
+ | '4': 'Wikipédia', '5' : 'Wikipédia talk' |
||
+ | '6': 'Image', '7' : 'Image talk' |
||
+ | '8': 'template', '11' : 'template talk' |
||
+ | '12': '^help', '13' : 'help talk' |
||
+ | '14': 'Catégory', '15' : 'category talk' |
||
+ | '100': 'foo', '101': 'foo talk' |
||
+ | '102': 'ZeroNT', '103' : 'ZeroNT talk' |
||
+ | */ |
||
+ | |||
+ | |||
+ | /* */ |
||
+ | .blue_cadre { |
||
+ | margin-bottom:1.25em; |
||
+ | border:1px solid #8898BF; |
||
+ | background:white; |
||
+ | padding:0; |
||
+ | } |
||
+ | |||
+ | .blue_cadre_innerfirst { |
||
+ | height:8px; |
||
+ | margin:0; |
||
+ | border:0; |
||
+ | border-bottom:1px solid #8898BF; |
||
+ | background:#C8D8FF; |
||
+ | font-size:1px; |
||
+ | } |
||
+ | |||
+ | |||
+ | /* ------------------------------BEGIN Diff rendering---------------------------------- */ |
||
+ | table.diff { |
||
+ | padding: 0.5em; |
||
+ | } |
||
+ | table.diff td { |
||
+ | vertical-align: top; |
||
+ | } |
||
+ | td.diff-addedline span.diffchange { |
||
+ | background: #B0C0F0; |
||
+ | color: #001040; |
||
+ | font-weight: bold; |
||
+ | } |
||
+ | td.diff-deletedline span.diffchange { |
||
+ | background: #B0E897; |
||
+ | color: #104000; |
||
+ | font-weight: bold; |
||
+ | } |
||
+ | td.diff-context { |
||
+ | background:#e6e6e6; |
||
+ | } |
||
+ | /*-------------------------- END Diff rendering -------------------------------*/ |
||
+ | |||
+ | |||
+ | |||
+ | /*-------------------------- BEGIN CLANNAD zone ------------------------------------ */ |
||
+ | div.clannadbox { |
||
+ | height: 300px; |
||
+ | overflow: auto; |
||
+ | } |
||
+ | |||
+ | table.clannadtable { |
||
+ | text-align: center; |
||
+ | border-spacing: 2px; |
||
+ | empty-cells: hide; |
||
+ | background: #EEE; |
||
+ | border: 1px solid #AAA; |
||
+ | margin-left: auto; |
||
+ | margin-right: auto; |
||
+ | white-space: nowrap; |
||
+ | } |
||
+ | |||
+ | table.clannadtable th { |
||
+ | background: #bce; |
||
+ | color: #457; |
||
+ | padding: 0 5px 0 5px; |
||
+ | } |
||
+ | |||
+ | table.clannadtable td { |
||
+ | background: #F9F9F9; |
||
+ | border: 1px solid #AAA; |
||
+ | padding: 0 5px 0 5px; |
||
+ | vertical-align: middle; |
||
+ | } |
||
+ | |||
+ | table.clannadtable td:hover { |
||
+ | background: #bbe; |
||
+ | } |
||
+ | |||
+ | table.clannadtable a:hover { |
||
+ | text-decoration: none; |
||
+ | color: #457; |
||
+ | font-weight: bold; |
||
+ | } |
||
+ | /* -------------------------------- END CLANNAD zone --------------------- */ |
||
+ | |||
+ | |||
+ | /* BEGIN talk page easy-reading coloration */ |
||
+ | |||
+ | .ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, |
||
+ | .ns-11 dd, .ns-13 dd,.ns-15 dd,.ns-103 dd { |
||
+ | margin: 0; |
||
+ | padding: 0; |
||
+ | } |
||
+ | |||
+ | .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, |
||
+ | .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-103 dl { |
||
+ | border: solid 1px #F0F080; |
||
+ | |||
+ | padding-top: 0.5em; |
||
+ | padding-left: 0.5em; |
||
+ | margin-left: 1em; |
||
+ | } |
||
+ | |||
+ | .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, |
||
+ | .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-103 dl |
||
+ | { background-color: #FFFFE0; } |
||
+ | |||
+ | .ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl, |
||
+ | .ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl, .ns-103 dl dl |
||
+ | { background-color: #FFFFEE; } |
||
+ | |||
+ | .ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl, |
||
+ | .ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl, .ns-103 dl dl dl |
||
+ | { background-color: #FFFFE0; } |
||
+ | |||
+ | .ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl, .ns-103 dl dl dl dl |
||
+ | { background-color: #FFFFEE; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl, |
||
+ | .ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl, .ns-103 dl dl dl dl dl |
||
+ | { background-color: #FFFFE0; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl, |
||
+ | .ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl |
||
+ | { background-color: #FFFFEE; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, |
||
+ | .ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl |
||
+ | { background-color: #FFFFE0; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, |
||
+ | .ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl |
||
+ | { background-color: #FFFFEE; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl |
||
+ | { background-color: #FFFFE0; } |
||
+ | |||
+ | .ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, |
||
+ | .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl dl |
||
+ | { background-color: #FFFFEE; } |
||
+ | |||
+ | |||
+ | /* END talk page easy-reading coloration */ |
||
+ | |||
+ | |||
+ | /* special:allpages and special:watchlist distinct color for redirects */ |
||
+ | .allpagesredirect a, |
||
+ | .watchlistredir a { |
||
+ | color:#00BB00; |
||
+ | font-style:italic; |
||
+ | } |
||
+ | |||
+ | /* color of "number of char added" in recentChanges */ |
||
+ | .mw-plusminus-neg { color:#FF2050; } |
||
+ | .mw-plusminus-pos { color:#009000; } |
||
+ | .mw-plusminus-null { color:#999999; } |
||
+ | |||
+ | /* </pre> */ |
Latest revision as of 09:35, 3 May 2015
/* <pre> */ /* CSS placed here will affect users of the Monobook skin */ /* putting the search box above the rest */ #p-search { position:absolute; top:150px; left:0; } #p-navigation { clear:left; margin-top:60px; } /* namespace list '0': '(main)', '1' : 'talk' '2': 'User', '3' : 'user talk' '4': 'Wikipédia', '5' : 'Wikipédia talk' '6': 'Image', '7' : 'Image talk' '8': 'template', '11' : 'template talk' '12': '^help', '13' : 'help talk' '14': 'Catégory', '15' : 'category talk' '100': 'foo', '101': 'foo talk' '102': 'ZeroNT', '103' : 'ZeroNT talk' */ /* */ .blue_cadre { margin-bottom:1.25em; border:1px solid #8898BF; background:white; padding:0; } .blue_cadre_innerfirst { height:8px; margin:0; border:0; border-bottom:1px solid #8898BF; background:#C8D8FF; font-size:1px; } /* ------------------------------BEGIN Diff rendering---------------------------------- */ table.diff { padding: 0.5em; } table.diff td { vertical-align: top; } td.diff-addedline span.diffchange { background: #B0C0F0; color: #001040; font-weight: bold; } td.diff-deletedline span.diffchange { background: #B0E897; color: #104000; font-weight: bold; } td.diff-context { background:#e6e6e6; } /*-------------------------- END Diff rendering -------------------------------*/ /*-------------------------- BEGIN CLANNAD zone ------------------------------------ */ div.clannadbox { height: 300px; overflow: auto; } table.clannadtable { text-align: center; border-spacing: 2px; empty-cells: hide; background: #EEE; border: 1px solid #AAA; margin-left: auto; margin-right: auto; white-space: nowrap; } table.clannadtable th { background: #bce; color: #457; padding: 0 5px 0 5px; } table.clannadtable td { background: #F9F9F9; border: 1px solid #AAA; padding: 0 5px 0 5px; vertical-align: middle; } table.clannadtable td:hover { background: #bbe; } table.clannadtable a:hover { text-decoration: none; color: #457; font-weight: bold; } /* -------------------------------- END CLANNAD zone --------------------- */ /* BEGIN talk page easy-reading coloration */ .ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, .ns-11 dd, .ns-13 dd,.ns-15 dd,.ns-103 dd { margin: 0; padding: 0; } .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-103 dl { border: solid 1px #F0F080; padding-top: 0.5em; padding-left: 0.5em; margin-left: 1em; } .ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-103 dl { background-color: #FFFFE0; } .ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl, .ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl, .ns-103 dl dl { background-color: #FFFFEE; } .ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl, .ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl, .ns-103 dl dl dl { background-color: #FFFFE0; } .ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl, .ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl, .ns-103 dl dl dl dl { background-color: #FFFFEE; } .ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl, .ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl, .ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl, .ns-103 dl dl dl dl dl { background-color: #FFFFE0; } .ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl { background-color: #FFFFEE; } .ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl { background-color: #FFFFE0; } .ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl { background-color: #FFFFEE; } .ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl { background-color: #FFFFE0; } .ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl dl { background-color: #FFFFEE; } /* END talk page easy-reading coloration */ /* special:allpages and special:watchlist distinct color for redirects */ .allpagesredirect a, .watchlistredir a { color:#00BB00; font-style:italic; } /* color of "number of char added" in recentChanges */ .mw-plusminus-neg { color:#FF2050; } .mw-plusminus-pos { color:#009000; } .mw-plusminus-null { color:#999999; } /* </pre> */