MediaWiki:Moonlight.css
From Wiki
Holy Diver (talk | contribs) |
Holy Diver (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@media screen { | @media screen { | ||
+ | |||
+ | div.tleft{ border-width:0; } | ||
.plaintext /*experimental*/ | .plaintext /*experimental*/ | ||
Line 107: | Line 109: | ||
margin-bottom:0.5em; | margin-bottom:0.5em; | ||
} | } | ||
− | #bodyContent ul ul | + | #bodyContent ul ul, |
− | { | + | #bodyContent ol ol, |
− | margin-left: | + | #bodyContent ul ol, |
+ | #bodyContent ol ul{ | ||
+ | margin-left:2em; | ||
+ | } | ||
+ | #bodyContent ul, | ||
+ | #bodyContent ol{ | ||
+ | margin-left:0; | ||
} | } | ||
− | #bodyContent li:before | + | #bodyContent ul li:before |
{ | { | ||
content: '\300B' '\00a0'; /*right double angle bracket*/ | content: '\300B' '\00a0'; /*right double angle bracket*/ | ||
/*margin: 0 0.7em 0 -0.7em;*/ | /*margin: 0 0.7em 0 -0.7em;*/ | ||
} | } | ||
+ | #toc ul li:before, | ||
+ | #bodyContent ol li:before, | ||
#bodyContent ul.nowave li:before | #bodyContent ul.nowave li:before | ||
{ | { | ||
− | content: | + | content: none; /*sans bullets*/ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
#toctitle h2 | #toctitle h2 | ||
Line 214: | Line 212: | ||
} | } | ||
− | /*Wikipedia CSS*/ | + | /*Wikipedia CSS |
+ | (todo: migrate to Moonlight theme)*/ | ||
+ | |||
+ | #ca-talk.new a{ color:#00BABA; } | ||
.infobox | .infobox | ||
Line 283: | Line 284: | ||
table.ambox { | table.ambox { | ||
− | margin: | + | margin: 1em 10%; |
outline: 3px double #00AAAA; | outline: 3px double #00AAAA; | ||
border-left: 10px solid #0aa; | border-left: 10px solid #0aa; |
Latest revision as of 03:36, 14 July 2015
@media screen { div.tleft{ border-width:0; } .plaintext /*experimental*/ { color:darkcyan; border-color:darkcyan; border-style:none none solid none; } dl /*safe??*/ { /*why was this again?*/ /*display: table-cell;*/ } b, /*b: safe??*/ strong.selflink { color: #00ABAB; /*prevents doubling up behavior: eg. <b><strong>*/ font-weight: bold; } i /*safe?*/ { color: #099; /*077*/ } div.ini h3 span.mw-headline:before { content: "["; } div.ini h3 span.mw-headline:after { content: "]"; } div.ini h4 span.editsection { display:none; } #bodyContent div.ini h3 { margin-bottom: 0.8em; } pre { display:table-cell; font-family: 'Courier New', monospace; font-size: 0.9em; } /*fix weird bug*/ #mw-imagepage-reupload-link div.plainlinks { display:inline; } body { background-color:black; background-image:url(/w/wikibg.png); background-position:top left; background-repeat:no-repeat; } #p-logo a, #p-logo a:hover { /*for [[ ]] */ display:table-cell; text-align:center; vertical-align:middle; font-size:3em; font-family: Times, Georgia; text-shadow: 2px 1px #033; } #p-logo a:hover { color:cyan; text-shadow: 2px 1px darkcyan; } #p-navigation>div, #p-search>div, #p-tb>div { border-width: 1px 1px 1px 0px !important; } span.mw-headline { color: #1BB; } #firstHeading, h2 span.mw-headline { text-shadow: 1px 1px #033; } /*Moonlight Bullets*/ #bodyContent ul { margin-left:0; /*0.8em;*/ list-style-type: none; /*like Wikipedia*/ margin-bottom:0.5em; } #bodyContent ul ul, #bodyContent ol ol, #bodyContent ul ol, #bodyContent ol ul{ margin-left:2em; } #bodyContent ul, #bodyContent ol{ margin-left:0; } #bodyContent ul li:before { content: '\300B' '\00a0'; /*right double angle bracket*/ /*margin: 0 0.7em 0 -0.7em;*/ } #toc ul li:before, #bodyContent ol li:before, #bodyContent ul.nowave li:before { content: none; /*sans bullets*/ } #toctitle h2 { font-size:110%; } #toc .toctoggle { font-size:100%; } .tocnumber:after { content: ". "; } /*Templates: */ fieldset.spec { min-height:2.2em; } fieldset.spec legend p /*scheduled obsolete*/ { display:none; /*degenerates*/ } fieldset.spec legend { display: inline; line-height:0; } fieldset.spec legend h2, fieldset.spec legend h3, fieldset.spec legend h4 { font-size:100%; border:none; margin:0 !important; padding:0 !important; display:inline; /*webkit??*/ } fieldset.spec legend .editsection { font-size:100%; } legend.tech .editsection { float:none; /*Firefox fix*/ } legend.tech .mw-headline { /*display:none;*/ /*crikey:display/none breaks # linking*/ display:block; max-height:0; max-width:0; overflow:hidden; margin-top:-1em; } fieldset.spec legend { color: #1BB; } fieldset.spec legend h2 span.mw-headline { text-shadow:none; } .caps { text-transform:uppercase; } .caps .editsection { text-transform:none; } table.wikitable, .wikitable th, .wikitable tr, .wikitable td { background:transparent; border-color:darkcyan; } /*Wikipedia CSS (todo: migrate to Moonlight theme)*/ #ca-talk.new a{ color:#00BABA; } .infobox { clear: right; float: right; font-size: 88%; line-height: 1.5em; margin: 0.5em 0 0.5em 1em; padding: 0.2em; text-align: left; border:1px solid darkcyan; background:black; } .infobox img, #file img { border: 3px double darkcyan; } table.navbox { clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; border:1px solid darkcyan; background:black; } .navbox-title, table.navbox th { /* background: none repeat scroll 0 0 #CCCCFF;*/ background:none; border:1px solid darkcyan; } .navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { /* background: none repeat scroll 0 0 #DDDDFF;*/ background:none; border:1px solid darkcyan; } .navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; text-align: right; white-space: nowrap; border:1px solid darkcyan } .navbox-list { border:1px solid darkcyan; border-left-width:2px !important; } .rellink, .dablink { font-style: italic; padding-left: 2em; margin-bottom: 0.5em; } table.ambox { margin: 1em 10%; outline: 3px double #00AAAA; border-left: 10px solid #0aa; } table.mbox-small-left { border-collapse: collapse; font-size: 88%; line-height: 1.25em; margin: 4px 1em 4px 3px; } } /*@media screen*/