MediaWiki:Monobook.css

From MikroTik Wiki
Revision as of 15:47, 12 March 2008 by Normis (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*<pre>*/

/*#toc li { display: inline; }*/
.ns-100 span.tocnumber { display: none; }
.ns-100 #toc { float: right; margin-left: 3em; }
.ns-100 #toc li { white-space: nowrap; }

.fig { float: right; border: 1px solid gray; background: #EEE; }

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

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

table.infobox tbody {
  padding: 0px;
  border-width: 0px;
}

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

table.infobox td.corner {
  padding: 0px;
  vertical-align: top;
}

table.infobox td.corner div {
  padding: 0px;
  margin: 0px;
  border-width: 16px 16px 0px 0px;
  border-color: #FFF #CCC #CCC #FFF;
  width:0px;
  height:0px;
  border-style: solid;
}
table,td
{
	border               : 1px solid #CCC;
	border-collapse      : collapse;
  font                 : small/1.5 "Tahoma", "Bitstream Vera Sans", Verdana, Helvetica, sans-serif;
}
table
{
	border                :none;
	border                :1px solid #CCC;
}
thead th,
tbody th
{
	background            : #FFF url(th_bck.gif) repeat-x;
  color                 : #666;  
	padding               : 5px 10px;
  border-left           : 1px solid #CCC;
}
tbody th
{
  background            : #fafafb;
  border-top            : 1px solid #CCC;
  text-align            : left;
  font-weight           : normal;
}
tbody tr td
{
	padding               : 5px 10px;
  color                 : #666;
}
tbody tr:hover
{
  background            : #FFF url(tr_bck.gif) repeat;
}

tbody tr:hover td
{
  color                 : #454545;
}
tfoot td,
tfoot th
{
  border-left           : none;
  border-top            : 1px solid #CCC;
	padding               : 4px;
  background            : #FFF url(foot_bck.gif) repeat;
  color                 : #666;
}
caption
{
	text-align            : left;
	font-size             : 120%;
	padding               : 10px 0;
	color                 : #666;
}
table a:link
{
	color                 : #666;
}
table a:visited
{
	color                 : #666;
}
table a:hover
{
	color                 : #003366;
	text-decoration       : none;
}
table a:active
{
	color                 : #003366;
}
/*</pre>*/