ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
m adding target highlight |
m fixing notes |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 87: | Line 87: | ||
padding: 5px; | padding: 5px; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.table_horblock { | .table_horblock { | ||
Line 208: | Line 174: | ||
list-style: none none; | list-style: none none; | ||
font-size: x-small; | font-size: x-small; | ||
} | |||
.template_weaponsrelated td table { | |||
background-color: transparent; | |||
} | } | ||
/*</pre> Style for [[Template:Mapdef]] <pre>*/ | /*</pre> Style for [[Template:Mapdef]] <pre>*/ | ||
Line 409: | Line 378: | ||
} | } | ||
/*Target highlight*/ | /*Target highlight*/ | ||
:target { | #bodyContent span:target { | ||
font-weight: bold; | |||
} | |||
#bodyContent span:target:before { | |||
content: "\21E8"; | |||
} | |||
#bodyContent .plainlinks:target { | |||
font-style: italic; | |||
border: 2px dotted #f00; | |||
border-width: 2px 0; | |||
} | |||
#bodyContent .plainlinks:target:before { | |||
content: "\21E8"; | |||
} | |||
.anchorcontainer th { | |||
vertical-align: top; | |||
} | |||
.ednote { | |||
border: 1px solid #aaaaaa; | |||
background: #e5e5e5; | |||
border-spacing: 5px; | |||
width: 80%; | |||
margin: 1em auto; | |||
} | |||
.edhead { | |||
font-weight: bold; | font-weight: bold; | ||
font-size: larger; | |||
text-align: center; | |||
} | |||
.edsig { | |||
text-align: right; | |||
} | } | ||
/*</pre>*/ | /*</pre>*/ |
Latest revision as of 17:07, 8 June 2008
/* edit this file to customize the monobook skin for the entire site */ /* Black Link class <pre>*/ .blacklink tr td:first-child a { text-decoration: none; color: black; background: none; } .blacklink tr td:first-child a:visited { color: black; } .blacklink tr td:first-child a:active { color: #faa700; } .blacklink tr td:first-child a:hover { text-decoration: underline; } /*</pre> [[ModEnc:Tables|Table classes]] <pre>*/ .table_descrowdesccol { border-collapse: collapse; border: 3px double #aaaaaa; background: #F0F0F0; background-image: url(images_custom/table_bg.png); background-position: top left; background-repeat: repeat-x; } .table_descrowdesccol tr:first-child { border-bottom: 1px solid #aaaaaa; background-color: #e5e5e5; border-top-width: 0px; } .table_descrowdesccol tr { border-top: 1px solid #aaaaaa; } .table_descrowdesccol tr th:first-child { border-left-width: 0px; background-color: #e5e5e5; border-right: 1px solid #aaaaaa; } .table_descrowdesccol th { border-left: 1px solid #aaaaaa; } .table_descrowdesccol tr td:first-child { border-left-width: 0px; } .table_descrowdesccol td { border-left: 1px solid #aaaaaa; } /*</pre> Style for table [[ModEnc:Tables|"Description Row only"]] <pre>*/ .table_descrow { border-collapse: collapse; border: 3px double #aaaaaa; background: #F0F0F0; background-image: url(images_custom/table_bg.png); background-position: top left; background-repeat: repeat-x; } .table_descrow tr:first-child { border-bottom: 1px solid #aaaaaa; background-color: #e5e5e5; border-top-width: 0px; } .table_descrow tr { border-top: 1px solid #aaaaaa; } .table_descrow tr th:first-child { border-left-width: 0px; } .table_descrow th { border-left: 1px solid #aaaaaa; } .table_descrow tr td:first-child { border-left-width: 0px; } .table_descrow td { border-left: 1px solid #aaaaaa; } /*</pre> Style for table [[ModEnc:Tables|"Three-parted"]] <pre>*/ .table_parted { border: 1px solid #aaaaaa; background:#e5e5e5; border-spacing: 5px; } .table_parted td { border: 1px solid #aaaaaa; background:#F0F0F0; padding: 5px; vertical-align: top; } .table_horblock { border-collapse: collapse; border: 3px double #aaaaaa; background: #F0F0F0; } .table_simplesidebar { border-collapse: collapse; border: 1px dashed #000000; background: #F0F0F0; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; } .table_tocsidebar { border-collapse: collapse; border: 1px dashed #000000; background: #F0F0F0; } .table_tocsidebar th { background-color: #e5e5e5; } .table_tocsidebar tr:first-child { border-top-width: 0px; } .table_tocsidebar tr { border-top-color: #aaaaaa; border-top-style: solid; border-top-width: 1px; } .table_infobar { border-collapse: collapse; border: 1px dashed #000000; background:#F0F0F0; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em; } .table_infobar .contentrow { font-size:84%; border-top-color:#aaaaaa; border-top-style:solid; border-top-width:1px; } .table_infobar .contentrow td:first-child { background-color: #e5e5e5; } .table_infobar .contentrow td { padding-left: 2px; } /*</pre> Style for [[Template:Flag]] <pre>*/ .template_flag { border-collapse: collapse; } .template_flag tr { background-color: #f0f0f0; border-bottom-color:#aaaaaa; border-bottom-style:solid; border-bottom-width:1px; } .template_flag tr td:first-child { background-color: #e5e5e5; width: 15%; padding-left: 2px; } .template_flag tr td { padding-left: 3px; } /*</pre> Style for [[Template:OffCo]] <pre>*/ .template_offco { border: 1px solid #aaaaaa; background: #e5e5e5; width: 98%; } .template_offco th { font-size: large; } /*</pre> Style for [[Template:WeaponsRelated]] <pre>*/ .template_weaponsrelated { background-color: #F0F0F0; border: 1px solid #aaaaaa; padding: 2px; } .template_weaponsrelated th { background-color: #e5e5e5; } .template_weaponsrelated li { list-style: none none; font-size: x-small; } .template_weaponsrelated td table { background-color: transparent; } /*</pre> Style for [[Template:Mapdef]] <pre>*/ .template_mapdef_definition_wrapper { background-color: #F0F0F0; border: 1px solid #aaaaaa; } .template_mapdef_definition_wrapper:target { border: 2px solid #000000; } .template_mapdef_header_wrapper { background-color: #e5e5e5; padding: 4px; text-align: center; } .template_mapdef_name { float: left; text-align: center; font-weight: bold; font-family: sans-serif; } .template_mapdef_params_name { font-weight: bold; text-align: center; } .template_mapdef_params { text-align: center; } .template_mapdef_params table { background-color: transparent; } .template_mapdef_description { padding: 4px; } .template_mapdef_number_wrapper { padding: 10px; float: left; } .template_mapdef_code { font-weight: bold; font-family: sans-serif; } .template_mapdef_number { font-size: 30pt; font-weight: bold; font-family: sans-serif; margin-top: 7px; } /*</pre> Style for [[Template:Progress]] <pre>*/ .template_progress_box { width: 250px; height: 70px; background-color: #f9f9f9; border: 1px solid #aaaaaa; position: relative; left: 0px; top: 0px; } .template_progress_bar { border: 1px solid #aaaaaa; width: 228px; height: 27px; position: absolute; left: 10px; top: 9px; background-color: #e5e5e5; } .template_progress_bar_fill { background-image: url(http://www.modenc.renegadeprojects.com/images/Progress_grad.png); position: absolute; left: 0px; top: 0px; height: 27px; } .template_progress_text { position: absolute; left: 10px; top: 40px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: x-small; } .template_progress_percent { position: relative; left: 0px; top: 0px; font-weight: bold; z-index: 1; text-align: center; padding-top: 4px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; } /* </pre>'''Everything below this line was added after the design was changed ''back''.'''<br> */ /* Style for [[Template:Sidebar]]<pre> */ .template_sidebar_wrapper { background-color: #F0F0F0; border: 1px solid #aaaaaa; margin: 5px; } .template_sidebar_header { /* min-height: 35px; */ width: 100%; /* padding-top: 5px; */ border-bottom: 1px solid #aaaaaa; background-color: #e5e5e5; /* background-image: url(http://www.modenc.renegadeprojects.com/images/Box_header.png); background-repeat: repeat-x; background-position: top center; */ } .template_sidebar_headline { /* width: 80%; min-height: 20px; border-color: #757575 #a6a6a6 #a6a6a6 #757575; border-style: solid; border-width: 1px; background-color: #e5e5e5; */ text-align: center; font-size: small; font-family: sans-serif; margin-left: auto; margin-right: auto; padding: 2px 2px 2px; } .template_sidebar_content { width: 100%; padding: 0px; } /* </pre>Style for [[Template:ModBar]]<pre> */ .template_modbar { padding: 4px; } .template_modbar div { width: 100%; text-align: center; } .template_modbar_table { width: 100%; background-color: #F0F0F0; } .template_modbar_table .gamegallery { width: 100%; } .gamegallery td { width: 32px; height: 32px; background-color: #e5e5e5; border-spacing: 1px; text-align: center; } .template_modbar_table .contentrow { font-size:84%; border-top-color:#aaaaaa; border-top-style:solid; border-top-width:1px; } .template_modbar_table .contentrow td:first-child { background-color: #e5e5e5; } .template_modbar_table .contentrow td { padding-left: 2px; } /*</pre> Styling for new, minor and unpatrolled icons on [[Special:Recentchanges|Recent changes]] <pre>*/ span.newpage { background-image: url(/images/Rc_new.png); background-position: center; background-repeat: no-repeat; vertical-align: middle; text-align: center; padding-left: 5px; padding-right: 6px; color: White; } span.minor { background-image: url(/images/Rc_minor.png); background-position: center; background-repeat: no-repeat; vertical-align: baseline; text-align: center; padding-left: 3px; padding-right: 3px; color: White; } span.unpatrolled { font-weight: bold; background-image: url(/images/Rc_patrol.png); background-position: center; background-repeat: no-repeat; vertical-align: middle; text-align: center; padding-left: 7px; padding-right: 7px; color: White; } span.newpageletter { font-weight: bold; color: White; background-color: yellow; } span.minoreditletter { color: White; background-color: #c5ffe6; } /*Target highlight*/ #bodyContent span:target { font-weight: bold; } #bodyContent span:target:before { content: "\21E8"; } #bodyContent .plainlinks:target { font-style: italic; border: 2px dotted #f00; border-width: 2px 0; } #bodyContent .plainlinks:target:before { content: "\21E8"; } .anchorcontainer th { vertical-align: top; } .ednote { border: 1px solid #aaaaaa; background: #e5e5e5; border-spacing: 5px; width: 80%; margin: 1em auto; } .edhead { font-weight: bold; font-size: larger; text-align: center; } .edsig { text-align: right; } /*</pre>*/