MediaWiki:Monobook.css: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(202 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/*
/*<pre>*/
<pre>
*/




body {
dl {display: block; margin-left: 20px; width: 100%; clear: both;
background: #ffa00;
font: x-small sans-serif;
color: #FFFFFF;
margin: 0;
padding: 0;
}
}


/*
dl:after {
</pre>
content: ".";
*/
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 
dt {
display: block;
font-weight: bold;
width: 200px;
padding: 2px;
float: left;
clear: left;
}
 
dd {
display: block;
float: left;
margin: 0;
padding: 2px;
clear: right;
width: 400px;
}
 
.wikitable {
    border-width: 1px;
    border-collapse: collapse;
    border-color: #c1c1c1;
    background-color: transparent;
    font-size: 0.8em;
    margin-left: 10px;
}
 
table.reftoc {
    border-collapse: collapse;
    empty-cells: show;
    border: 2px #115 solid;
}
 
table.reftoc a {
    display: block;
}
 
table.reftoc td:first-child.reftocsect {
    overflow: hidden;
    background: #115;
    color: #EEF;
    font-weight: bold;
    font-size: 140%;
    border-top-style: hidden;
    border-bottom-style: hidden;
    text-align: left;
    padding-left: 2em;
}
 
table.reftoc td:first-child.reftocsubsect {
    overflow: hidden;
    background: white;
    color: #115;
    font-weight: bold;
    font-size: 130%;
    border-top-style: hidden;
    border-bottom-style: hidden;
    text-align: left;
    padding-left: 2em;
}
 
table.reftoc td {
    border: 1px #115 solid;
    border-left-width: 0px;
    border-right-width: 0px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    vertical-align: top;
    font-size: 120%;
}
 
table.reftoc td:first-child {
    background: #EEE;
}
 
table.reftoc td:first-child + td {
    background: #EEF;
}
 
table.reftoc td:first-child + td + td {
    background: #FFE;
}
 
table.reftoc div.details { display: none; z-index: 100; float: left; position:absolute; }
table.reftoc td:hover div.details { display: block; border: 0.5em #115 solid; border-top-width: 0px; }
table.reftoc div.details:hover { display: block; border: 0.5em #115 solid; border-top-width: 0px; }
table.reftoc td:hover { z-index: 100; }
table.reftoc div.details * { background: #FFE; }
 
.infobox {
  border-collapse: collapse;
  clear: both;
  float: right;
  width: 25%;
  background: #EEE;
  padding: 0px;
  border-width: 0px;
  margin: 4px;
}
 
.infobox td {
  margin: 0px;
  padding: 0px 1em;
}
 
div.content-t1 {
  background: #EEE;
  padding: 1px;
  border: 1px solid #CCC;
  margin: 4px;
}
 
div.manual i {
  font-family: monospace;
  font-style: normal;
  color: #000000;
  white-space: nowrap;
}
 
code.samp {
  display: block;
  white-space: pre;
  background-color: #fffef0;
  border: 1px solid #e1e1e1;
  margin: 1px;
  padding: 2px;
}
 
div.manual small {
  font-size: 90%;
  color: #303030;
}
 
div.manual > p, div.manual > ul {
  margin: 0;
  margin-left: 2em;
}
 
var {
  font-family: monospace;
  font-style: normal;
  color: #009b00;
  white-space: nowrap;
}
 
div.content-t1>h2 { padding-left: 2em; }
 
h1, h2, h3, h4, h5, h6 {
        color: black;
        font-weight: normal;
        margin: 0;
        padding-top: .5em;
        padding-bottom: .17em;
        width: 100%;
}
h1 { border-bottom: 3px solid #aaa; font-size: 190%; font-weight: bold; }
h2 { border-bottom: 3px solid #aaa; font-size: 150%; font-weight: bold; }
h3, h4, h5, h6 {
        border-bottom: none;
        width: 100%;
}
h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
}
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; font-variant: normal; }
h6 { font-size: 80%;  font-variant: normal; }
 
div.properties h5 { display:inline; }
 
/*</pre>*/

Latest revision as of 10:18, 30 April 2010

/*<pre>*/


dl {display: block; margin-left: 20px; width: 100%; clear: both;
}

dl:after {
content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

dt {
display: block;
font-weight: bold;
width: 200px;
padding: 2px;
float: left;
clear: left;
}

dd {
display: block;
float: left; 
margin: 0;
padding: 2px;
clear: right;
width: 400px;
}

.wikitable {
    border-width: 1px;
    border-collapse: collapse;
    border-color: #c1c1c1;
    background-color: transparent;
    font-size: 0.8em;
    margin-left: 10px;
}

table.reftoc {
    border-collapse: collapse;
    empty-cells: show;
    border: 2px #115 solid;
}

table.reftoc a {
    display: block;
}

table.reftoc td:first-child.reftocsect {
    overflow: hidden;
    background: #115;
    color: #EEF;
    font-weight: bold;
    font-size: 140%;
    border-top-style: hidden;
    border-bottom-style: hidden;
    text-align: left;
    padding-left: 2em;
}

table.reftoc td:first-child.reftocsubsect {
    overflow: hidden;
    background: white;
    color: #115;
    font-weight: bold;
    font-size: 130%;
    border-top-style: hidden;
    border-bottom-style: hidden;
    text-align: left;
    padding-left: 2em;
}

table.reftoc td {
    border: 1px #115 solid;
    border-left-width: 0px;
    border-right-width: 0px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    vertical-align: top;
    font-size: 120%;
}

table.reftoc td:first-child {
    background: #EEE;
}

table.reftoc td:first-child + td {
    background: #EEF;
}

table.reftoc td:first-child + td + td {
    background: #FFE;
}

table.reftoc div.details { display: none; z-index: 100; float: left; position:absolute; }
table.reftoc td:hover div.details { display: block; border: 0.5em #115 solid; border-top-width: 0px; }
table.reftoc div.details:hover { display: block; border: 0.5em #115 solid; border-top-width: 0px; }
table.reftoc td:hover { z-index: 100; }
table.reftoc div.details * { background: #FFE; }

.infobox {
  border-collapse: collapse;
  clear: both;
  float: right;
  width: 25%;
  background: #EEE;
  padding: 0px;
  border-width: 0px;
  margin: 4px;
}

.infobox td {
  margin: 0px;
  padding: 0px 1em;
}

div.content-t1 {
  background: #EEE;
  padding: 1px;
  border: 1px solid #CCC;
  margin: 4px;
}

div.manual i {
  font-family: monospace;
  font-style: normal;
  color: #000000;
  white-space: nowrap;
}

code.samp {
  display: block;
  white-space: pre;
  background-color: #fffef0;
  border: 1px solid #e1e1e1;
  margin: 1px;
  padding: 2px;
}

div.manual small {
  font-size: 90%;
  color: #303030;
}

div.manual > p, div.manual > ul {
  margin: 0;
  margin-left: 2em;
}

var {
  font-family: monospace;
  font-style: normal;
  color: #009b00;
  white-space: nowrap;
}

div.content-t1>h2 { padding-left: 2em; }

h1, h2, h3, h4, h5, h6 {
        color: black;
        font-weight: normal;
        margin: 0;
        padding-top: .5em;
        padding-bottom: .17em;
        width: 100%;
}
h1 { border-bottom: 3px solid #aaa; font-size: 190%; font-weight: bold; }
h2 { border-bottom: 3px solid #aaa; font-size: 150%; font-weight: bold; }
h3, h4, h5, h6 {
        border-bottom: none;
        width: 100%;
}
h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
}
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; font-variant: normal; }
h6 { font-size: 80%;  font-variant: normal; }

div.properties h5 { display:inline; }

/*</pre>*/