Difference between revisions of "MediaWiki:Common.css"
From Timelines
(add .Talk-Notice) |
(copy .Merge and AD/CE stuff from Monobook.css) |
||
Line 33: | Line 33: | ||
/* Make template background appear correctly on all browsers */ | /* Make template background appear correctly on all browsers */ | ||
.Talk-Notice td { | .Talk-Notice td { | ||
+ | background: inherit; | ||
+ | } | ||
+ | |||
+ | /* Choose whether to have AD/BC dates or CE/BCE dates*/ | ||
+ | |||
+ | /* First, the default : display both : See templates ADCE and BCEBC for how these are used*/ | ||
+ | .Use_Default_Date_Convention { display: inline; } | ||
+ | .Use_AD_and_BC { display: none; } | ||
+ | .Use_BCE_and_CE { display: none; } | ||
+ | |||
+ | /* If you want to display AD and BC add the following to User:You/monobook.css page */ | ||
+ | /* | ||
+ | .Use_Default_Date_Convention { display: none; } | ||
+ | .Use_AD_and_BC { display:inline; } | ||
+ | .Use_BCE_and_CE { display:none; } | ||
+ | */ | ||
+ | |||
+ | /*If you want to display CE and BCE add the following to User:You/monobook.css page */ | ||
+ | /* | ||
+ | .Use_Default_Date_Convention { display: none; } | ||
+ | .Use_AD_and_BC { display:none; } | ||
+ | .Use_BCE_and_CE {display:inline; } | ||
+ | */ | ||
+ | |||
+ | /* Merge template style */ | ||
+ | |||
+ | .Merge { | ||
+ | border: 1px solid #CF9FFF; | ||
+ | background-color: #F5EDF5; | ||
+ | margin-bottom: 1em; | ||
+ | width: 85%; | ||
+ | border-spacing: 3px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | |||
+ | /* Make template background appear correctly on all browsers */ | ||
+ | .Merge td { | ||
background: inherit; | background: inherit; | ||
} | } | ||
/*</nowiki></pre>*/ | /*</nowiki></pre>*/ |
Revision as of 09:22, 11 July 2005
/* Common CSS for all skins */ /*<pre><nowiki>*/ /* Style for "notices" */ .notice { text-align: justify; margin: 1em; padding: 0.5em; } #disambig { border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; } #spoiler { border-top: 2px solid #ddd; border-bottom:2px solid #ddd; } /* Standard talk template style */ .Talk-Notice { border: 1px solid #C0C090; background-color: #F8EABA; margin-bottom: 3px; width: 85%; border-spacing: 3px; margin-left: auto; margin-right: auto; } /* Make template background appear correctly on all browsers */ .Talk-Notice td { background: inherit; } /* Choose whether to have AD/BC dates or CE/BCE dates*/ /* First, the default : display both : See templates ADCE and BCEBC for how these are used*/ .Use_Default_Date_Convention { display: inline; } .Use_AD_and_BC { display: none; } .Use_BCE_and_CE { display: none; } /* If you want to display AD and BC add the following to User:You/monobook.css page */ /* .Use_Default_Date_Convention { display: none; } .Use_AD_and_BC { display:inline; } .Use_BCE_and_CE { display:none; } */ /*If you want to display CE and BCE add the following to User:You/monobook.css page */ /* .Use_Default_Date_Convention { display: none; } .Use_AD_and_BC { display:none; } .Use_BCE_and_CE {display:inline; } */ /* Merge template style */ .Merge { border: 1px solid #CF9FFF; background-color: #F5EDF5; margin-bottom: 1em; width: 85%; border-spacing: 3px; margin-left: auto; margin-right: auto; } /* Make template background appear correctly on all browsers */ .Merge td { background: inherit; } /*</nowiki></pre>*/