Difference between revisions of "MediaWiki:Common.css"
From Twinsuniverse
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) m |
||
| Line 7: | Line 7: | ||
margin: auto; | margin: auto; | ||
} | } | ||
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox |
{ | { | ||
border: solid 2px; | border: solid 2px; | ||
| Line 16: | Line 16: | ||
text-align: left; | text-align: left; | ||
} | } | ||
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox td.title |
{ | { | ||
border: solid 2px; | border: solid 2px; | ||
| Line 23: | Line 23: | ||
text-align: center; | text-align: center; | ||
} | } | ||
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.land { border-color: #ccccdd; background-color: #eeeeff; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.land td.title { border-color: #ccccdd; background-color: #ddddee; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.life { border-color: #ccddcc; background-color: #eeffee; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.life td.title { border-color: #ccddcc; background-color: #ddeedd; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.item { border-color: #ddcccc; background-color: #ffeeee; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.item td.title { border-color: #ddcccc; background-color: #eedddd; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.link { border-color: #ddccdd; background-color: #ffeeff; } |
| − | table.mainnavigator table. | + | table.mainnavigator table.infobox.link td.title { border-color: #ddccdd; background-color: #eeddee; } |
/* INFOBOX */ | /* INFOBOX */ | ||
| − | table. | + | table.sideinfobox |
{ | { | ||
border: solid 0px; | border: solid 0px; | ||
| Line 45: | Line 45: | ||
margin-left: 10px; | margin-left: 10px; | ||
} | } | ||
| − | table. | + | table.sideinfobox th, |
| − | table. | + | table.sideinfobox td |
{ | { | ||
border: solid 2px #ccccff; | border: solid 2px #ccccff; | ||
| Line 58: | Line 58: | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
| − | table. | + | table.sideinfobox th.title, |
| − | table. | + | table.sideinfobox th.subtitle |
{ | { | ||
border: solid 2px #ccccff; | border: solid 2px #ccccff; | ||
| Line 72: | Line 72: | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
| − | table. | + | table.sideinfobox th.subtitle |
{ | { | ||
border-top: solid 5px #ffffff; | border-top: solid 5px #ffffff; | ||
| Line 78: | Line 78: | ||
font-size: 110%; | font-size: 110%; | ||
} | } | ||
| − | table. | + | table.sideinfobox th.image |
{ | { | ||
border: solid 0px; | border: solid 0px; | ||
| Line 86: | Line 86: | ||
font-size: 110%; | font-size: 110%; | ||
} | } | ||
| − | table. | + | table.sideinfobox td |
{ | { | ||
background-color: #ffffff; | background-color: #ffffff; | ||
| Line 93: | Line 93: | ||
vertical-align: bottom; | vertical-align: bottom; | ||
} | } | ||
| − | table. | + | table.sideinfobox td p, |
| − | table. | + | table.sideinfobox td sup |
{ | { | ||
padding: 0px; | padding: 0px; | ||
Revision as of 15:35, 15 November 2012
/** CSS placed here will be applied to all skins */
/* MAIN-NAVIGATION */
table.mainnavigator
{
border-spacing: 10px;
margin: auto;
}
table.mainnavigator table.infobox
{
border: solid 2px;
border-radius: 12px;
border-spacing: 0px;
padding: 5px;
width: 200px;
text-align: left;
}
table.mainnavigator table.infobox td.title
{
border: solid 2px;
border-radius: 8px;
padding: 5px;
text-align: center;
}
table.mainnavigator table.infobox.land { border-color: #ccccdd; background-color: #eeeeff; }
table.mainnavigator table.infobox.land td.title { border-color: #ccccdd; background-color: #ddddee; }
table.mainnavigator table.infobox.life { border-color: #ccddcc; background-color: #eeffee; }
table.mainnavigator table.infobox.life td.title { border-color: #ccddcc; background-color: #ddeedd; }
table.mainnavigator table.infobox.item { border-color: #ddcccc; background-color: #ffeeee; }
table.mainnavigator table.infobox.item td.title { border-color: #ddcccc; background-color: #eedddd; }
table.mainnavigator table.infobox.link { border-color: #ddccdd; background-color: #ffeeff; }
table.mainnavigator table.infobox.link td.title { border-color: #ddccdd; background-color: #eeddee; }
/* INFOBOX */
table.sideinfobox
{
border: solid 0px;
float: right;
clear: both;
font-size: 90%;
text-align: left;
margin-left: 10px;
}
table.sideinfobox th,
table.sideinfobox td
{
border: solid 2px #ccccff;
border-top: solid 0px;
background-color: #ccccff;
padding: 0px 5px;
margin: 0px;
height: 24px;
text-align: right;
vertical-align: bottom;
white-space: nowrap;
}
table.sideinfobox th.title,
table.sideinfobox th.subtitle
{
border: solid 2px #ccccff;
border-color: #ccccff #ccccff #8a8aff;
background-color: #ccccff;
padding: 0px 5px;
margin: 0px;
height: 32px;
text-align: center;
vertical-align: middle;
font-size: 120%;
font-style: italic;
}
table.sideinfobox th.subtitle
{
border-top: solid 5px #ffffff;
height: 28px;
font-size: 110%;
}
table.sideinfobox th.image
{
border: solid 0px;
border-bottom: solid 2px #ccccff;
background-color: #ffffff;
text-align: center;
font-size: 110%;
}
table.sideinfobox td
{
background-color: #ffffff;
height: 24px;
text-align: left;
vertical-align: bottom;
}
table.sideinfobox td p,
table.sideinfobox td sup
{
padding: 0px;
margin: 0px;
line-height: 20px;
}
/* DIFF */
table.diff
{
padding: 0.5em;
}
td.diff-addedline
{
background-color: #D8E4F6;
}
td.diff-addedline span.diffchange
{
background-color: #B0C0F0;
color: #001040;
font-weight: bold;
}
td.diff-deletedline
{
background-color: #E4F6D8;
}
td.diff-deletedline span.diffchange
{
background-color: #B0E897;
color: #104000;
font-weight: bold;
}