MediaWiki:Darkvector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Vector skin */ | /* All CSS here will be loaded for users of the Vector skin */ | ||
.tabber .tabbertab, | |||
ul.tabbernav { | ul.tabbernav { | ||
padding: 0; | padding: 0; | ||
Line 8: | Line 8: | ||
margin: 0.35em 0; | margin: 0.35em 0; | ||
} | } | ||
/* CSS for all infoboxes */ | |||
.infobox { | .infobox { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
Line 56: | Line 56: | ||
} | } | ||
/* CSS for Player and NPC Infoboxes */ | |||
.infobox.player, | .infobox.player, | ||
.infobox.npc { | .infobox.npc { | ||
Line 67: | Line 67: | ||
} | } | ||
/* CSS for Session Infoboxes */ | /* CSS for Session Infoboxes */ | ||
.infobox.session th { | .infobox.session th { | ||
width: 9em; | width: 9em; | ||
} | } | ||
/* CSS for location colors */ | /* CSS for location colors */ | ||
.infobox.location .tag.Building { | .infobox.location .tag.Building { | ||
background-color: red; | background-color: red; | ||
Line 104: | Line 104: | ||
} | } | ||
/* Fix link colors */ | |||
a:visited { | a:visited { | ||
color: darkorange !important; | color: darkorange !important; | ||
Line 114: | Line 114: | ||
color: darkred !important; | color: darkred !important; | ||
} | } | ||
Revision as of 21:55, 20 March 2021
/* All CSS here will be loaded for users of the Vector skin */
.tabber .tabbertab,
ul.tabbernav {
padding: 0;
border: 0;
}
.tabber p {
margin: 0.35em 0;
}
/* CSS for all infoboxes */
.infobox {
border: 1px solid #aaa;
border-collapse: collapse;
border-spacing: 3px;
background-color: #4c4c4c;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 25em;
}
.infobox td,
.infobox th {
border-top: 1px solid #aaa;
padding: 0.4em 0.6em 0 0.6em;
vertical-align: top;
text-align: left;
}
.infobox .name {
text-align: center;
font-size: 125%;
font-weight: bold;
font-size: 1.25em;
white-space: nowrap;
padding-bottom: 0.4em;
}
.infobox .tag {
text-align: center;
font-weight: bold;
}
.infobox img {
display: block;
margin: auto;
}
.infobox .mergedtoprow td,
.infobox .mergedtoprow th {
border-top: 1px solid #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox .mergedrow td,
.infobox .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
/* CSS for Player and NPC Infoboxes */
.infobox.player,
.infobox.npc {
line-height: 1.2em;
font-size: 90%;
}
.infobox.player .charactersheet {
text-align: center;
padding-bottom: 0.4em;
}
/* CSS for Session Infoboxes */
.infobox.session th {
width: 9em;
}
/* CSS for location colors */
.infobox.location .tag.Building {
background-color: red;
}
.infobox.location .tag.Area {
background-color: black;
color: white;
}
.infobox.location .tag.Village {
background-color: burlywood;
}
.infobox.location .tag.Town {
background-color: coral;
color: black;
}
.infobox.location .tag.City {
background-color: cornflowerblue;
}
.infobox.location .tag.Forest {
background-color: green;
}
.infobox.location .tag.Lake {
background-color: aqua;
}
.infobox.location .tag.Country {
background-color: goldenrod;
color: black;
}
.infobox.location .tag.Continent {
background-color: brown;
}
/* Fix link colors */
a:visited {
color: darkorange !important;
}
a.new:link {
color: red !important;
}
a.new:visited {
color: darkred !important;
}