MediaWiki:Moonlight.css

From Wiki

Jump to: navigation, search
 
(96 intermediate revisions by the same user not shown)
Line 1: Line 1:
h3, h4, h5, h6
+
@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
 
{
 
{
font-weight:normal; /*TODO: fix in .css file*/
+
display:inline;
padding-top:0.8em;
 
 
}
 
}
  
Line 37: Line 91:
 
}
 
}
  
 +
span.mw-headline
 +
{
 +
color: #1BB;
 +
}
 
#firstHeading, h2 span.mw-headline
 
#firstHeading, h2 span.mw-headline
 
{
 
{
 
text-shadow: 1px 1px #033;
 
text-shadow: 1px 1px #033;
}
 
h2 span.mw-headline
 
{
 
color: #1BB;
 
 
}
 
}
  
Line 50: Line 104:
 
#bodyContent ul
 
#bodyContent ul
 
{
 
{
margin-left:0.8em;
+
margin-left:0; /*0.8em;*/
 
list-style-type: none;
 
list-style-type: none;
 +
/*like Wikipedia*/
 +
margin-bottom:0.5em;
 
}
 
}
#bodyContent li:before
+
#bodyContent ul ul,
{
+
#bodyContent ol ol,
content: '\300B'; /*right double angle bracket*/
+
#bodyContent ul ol,
margin: 0 0.7em 0 -0.7em;
+
#bodyContent ol ul{
 +
margin-left:2em;
 
}
 
}
#toc ul /*repair*/
+
#bodyContent ul,
{
+
#bodyContent ol{
list-style-type: none;
+
margin-left:0;
 
}
 
}
#toc ul /*repair*/
+
 
 +
#bodyContent ul li:before
 
{
 
{
list-style-type: none;
+
content: '\300B' '\00a0'; /*right double angle bracket*/
 +
/*margin: 0 0.7em 0 -0.7em;*/
 
}
 
}
#toc li:before /*repair*/
+
#toc ul li:before,
 +
#bodyContent ol li:before,
 +
#bodyContent ul.nowave li:before
 
{
 
{
content: none;
+
content: none; /*sans bullets*/
 
}
 
}
 
#toctitle h2  
 
#toctitle h2  
Line 89: Line 150:
 
min-height:2.2em;
 
min-height:2.2em;
 
}
 
}
fieldset.spec legend p
+
fieldset.spec legend p /*scheduled obsolete*/
 
{
 
{
 
display:none; /*degenerates*/
 
display:none; /*degenerates*/
Line 97: Line 158:
 
display: inline; line-height:0;
 
display: inline; line-height:0;
 
}
 
}
fieldset.spec legend h2
+
fieldset.spec legend h2,
 +
fieldset.spec legend h3,
 +
fieldset.spec legend h4
 
{
 
{
 
font-size:100%; border:none;  
 
font-size:100%; border:none;  
Line 115: Line 178:
 
legend.tech .mw-headline
 
legend.tech .mw-headline
 
{
 
{
display:none;
+
/*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;
 
}
 
}
  
Line 133: Line 211:
 
border-color:darkcyan;
 
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*/

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*/