User:Valento/vector.css
Jump to navigation
Jump to search
Note: After saving, 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.
/* General */
p img {
margin: 0;
}
img {
border: none;
vertical-align: middle;
}
p, ul, ol, dl {
margin-top: 0.7692307692em;
margin-bottom: 0.7692307692em;
line-height: 1.5384615385em;
}
.infobox-n .clear, .nav .clear, .recipe-box .clear {
height: 5px;
}
/* Infobox specific */
div.infobox-n {
float:right;
position:relative;
width:300px;
background:#FFF;
font-size:.923em;
border:1px solid #AAA;
margin:0 0 1em 1em;
padding:0;
}
div.infobox-n,
div.nav .box {
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffffff,EndColorStr=#ffeeeeee);
background-image:linear-gradient(top, #fff 0%, #eee 100%);
background-image:-o-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-moz-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-webkit-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-ms-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #eee));
}
div.infobox-n .icon {
float:right;
position:relative;
z-index:2;
width:auto;
margin:5px;
}
div.infobox-n .icon p {
text-align:center;
color:#444;
font-size:9px!important;
background-color:rgba(255,255,255,0.5);
border-radius:.75em;
line-height:1em;
margin:.25em -.5em;
padding:2px;
}
div.infobox-n .wrapper {
clear:both;
padding:0;
}
div.infobox-n .statistics {
text-align:center;
margin:0 8px;
}
div.statistics span + span { margin-left:5px; }
div.infobox-n .heading,
div.nav .heading {
font-weight:700;
background-image:url(https://ffxiv.consolegameswiki.com/mediawiki/images/b/b3/Box_overlay.png) !important;
text-align:center;
border:1px solid rgba(0,0,0,0.25);
border-bottom-width:0;
position:relative;
z-index:1;
font-size-adjust:.52;
margin:-1px -1px 5px!important;
}
div.infobox-n .heading {
font-family:EasonPro, "Times New Roman", serif!important;
font-size:1.417em!important;
color:#fff!important;
background-color:#444;
text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
line-height:1.176em;
font-size-adjust:.43;
padding:.4em!important;
}
div.infobox-n .subheading,
div.nav .subheading {
font-weight:700;
background-color:#888;
background-image:url("/images/c/cc/Infobox_header_overlay.png")!important;
border-left:1px solid rgba(0,0,0,0.25);
border-right:1px solid rgba(0,0,0,0.25);
line-height:100%;
text-align:center;
position:relative;
margin:0 -1px!important;
}
div.infobox-n .subheading {
font-family:EasonPro, "Times New Roman", serif;
font-size:1.25em!important;
color:#fff!important;
background-color:#444;
text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
z-index:1;
line-height:1.333em;
font-size-adjust:0.43;
padding:.567em!important;
}
div.nav dl,
div.infobox-n dl { margin:10px 0; }
div.infobox-n dt {
float:left;
text-align:right;
width:95px;
line-height:1em;
font-weight:700;
clear:left;
border-right:2px solid #999;
margin:0 -2px 0 0;
padding:2px 8px 2px 3px;
}
div.infobox-n dd {
float:left;
width:175px;
font-weight:400;
border-left:2px solid #999;
margin:0;
padding:2px 7px;
}
div.infobox-n .image_wrapper {
text-align:center;
padding:0;
margin:10px 0;
}
div.infobox-n::after,
div.nav .box::after,
div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after {
content:"";
position:absolute;
width:100%;
left:0;
height:3px;
background-image:url(https://ffxiv.consolegameswiki.com/mediawiki/images/4/45/Shadow_after.png);
background-size:100% 3px;
}
div.infobox-n::after,
div.nav .box::after { bottom:-4px; }
div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after { bottom:-3px; }
/* Remove after shadow for tables that have been centered, otherwise the shadow spans the entire page */
.table[class*=center]::after,
.table.noshadowafter::after { background-image:none; }
div.infobox-n table,
div.nav table { background-color:transparent; }
div.infobox-n.healer-role dd,
div.infobox-n.healer-role dt { border-color:#3c6829!important; }
div.infobox-n.healer-role .heading,
div.infobox-n.healer-role .subheading { background-color:#3c6829!important; }
div.infobox-n.tanker-role dd,
div.infobox-n.tanker-role dt { border-color:#364496!important; }
div.infobox-n.tanker-role .heading,
div.infobox-n.tanker-role .subheading { background-color:#364496!important; }
div.infobox-n.dps-role dd,
div.infobox-n.dps-role dt { border-color:#683535!important; }
div.infobox-n.dps-role .heading,
div.infobox-n.dps-role .subheading { background-color:#913737!important; }
div.infobox-n.buff dd,
div.infobox-n.buff dt { border-color:#399!important; }
div.infobox-n.buff .heading,
div.infobox-n.buff .subheading { background-color:#399!important; }
div.infobox-n.debuff dd,
div.infobox-n.debuff dt { border-color:#363!important; }
div.infobox-n.debuff .heading,
div.infobox-n.debuff .subheading { background-color:#363!important; }
div.infobox-n.armor dd,
div.infobox-n.weapon dd,
div.infobox-n.item dd,
div.infobox-n.armor dt,
div.infobox-n.weapon dt,
div.infobox-n.item dt { border-color:#C30; }
div.infobox-n.armor .heading,
div.infobox-n.weapon .heading,
div.infobox-n.item .heading,
div.infobox-n.armor .subheading,
div.infobox-n.weapon .subheading,
div.infobox-n.item .subheading { background:#C30; }
div.infobox-n.skin dd,
div.infobox-n.skin dt { border-color:#C4003E; }
div.infobox-n.skin .heading,
div.infobox-n.skin .subheading { background:#C4003E; }
div.infobox-n.recipe {
width:250px;
display:inline-block;
float:none;
clear:none;
vertical-align:top;
font-size:1em;
margin:0 1em 1em 0;
}
div.infobox-n.recipe .heading,
div.infobox-n.recipe .subheading {
font-size:1.133em;
background:#533610;
}
div.infobox-n.recipe .wrapper { padding:0 10px; }
div.infobox-n.crafting .heading,
div.infobox-n.crafting .subheading { background:#533610; }
div.infobox-n.crafting dd,
div.infobox-n.recipe dd,
div.infobox-n.crafting dt,
div.infobox-n.recipe dt { border-color:#533610; }
div.infobox-n.npc dd,
div.infobox-n.npc dt { border-color:#390; }
div.infobox-n.npc .heading,
div.infobox-n.npc .subheading { background:#390; }
div.infobox-n.skill dd,
div.infobox-n.skill dt { border-color:#999; }
div.infobox-n.skill .heading,
div.infobox-n.skill .subheading { background:#444; }
div.infobox-n.trait dd,
div.infobox-n.trait dt { border-color:#bb7639; }
div.infobox-n.trait .heading,
div.infobox-n.trait .subheading { background:#ce8d54; }
div.infobox-n.skill .icon > div { border:2px solid #111; }
div.infobox-n.effect .condition { background:#363; }
div.infobox-n.effect .boon { background:#399; }
div.infobox-n.pet dd,
div.infobox-n.pet dt { border-color:#360; }
div.infobox-n.pet .heading,
div.infobox-n.pet .subheading { background:#360; }
div.infobox-n.quest dd,
div.infobox-n.quest dt { border-color:#F90; }
div.infobox-n.quest .heading,
div.infobox-n.quest .subheading { background:#F90; }
div.infobox-n.area dd,
div.infobox-n.area dt { border-color:#306; }
div.infobox-n.area .heading,
div.infobox-n.area .subheading { background:#306; }
div.nav dt,
div.nav dd,
div.infobox-n dt,
div.infobox-n dd,
div.nav table { line-height:1.667em; }
div.infobox .heading,
div.infobox .subheading,
div.nav .heading,
div.nav .subheading {
color:#000!important;
text-shadow:none!important;
border-width:0!important;
}
/** NAV BARS **/
div.nav {
position:relative;
width:500px;
margin:auto;
}
div.nav .box {
position:relative;
font-size:.9230769231em;
border-spacing:0;
overflow:visible;
min-height:60px;
border:1px solid #AAA;
margin:5px;
padding:0;
}
div.nav .heading {
font-family:Arial, sans-serif!important;
background-color:#888;
font-size:1.083em;
line-height:100%;
margin:-1px -1px 0;
padding:.769em 0;
}
div.nav .subheading {
font-family:Arial, sans-serif;
font-size:1em;
font-size-adjust:.52;
padding:.833em 0;
}
.nav .selflink { font-weight:bold; }
div.nav dt,
div.nav dd,
div.infobox dt,
div.infobox dd,
div.nav table { line-height:1.667em; }
div.nav .center {
text-align:center;
margin:10px 0;
}
div.nav .box table {
background-color:transparent;
border-collapse:collapse;
width:100%;
margin:.667em 0;
}
div.nav dt {
float:left;
text-align:right;
width:125px;
clear:left;
border-right:2px solid #999;
margin:0 -2px 0 0;
padding:2px 8px;
}
div.nav dd {
float:left;
text-align:left;
border-left:2px solid #888;
width:325px;
margin:0;
padding:2px 8px;
}
div.nav table th {
text-align:right;
border-right:2px solid #888;
vertical-align:top;
padding:2px 8px;
}
div.nav table td { padding:2px 8px; }
div.nav table td a,
div.nav table td strong.selflink { white-space:nowrap; }
div.nav.thin .box {
width:400px;
margin-left:50px;
}
div.nav.thin dt { width:75px; }
div.nav.thin dd { width:290px; }
div.nav.wide .box {
width:600px;
margin-left:-50px;
}
div.nav.wide dt { width:150px; }
div.nav.wide dd { width:400px; }
div.nav .heading .selflink { font-weight:bold !important; }
div.nav.npc .heading { background-color:#6C3; }
div.nav.npc dd,
div.nav.npc dt,
div.nav.npc table th { border-color:#6C3; }
div.nav.pve .heading { background-color:#FC6; }
div.nav.pve dd,
div.nav.pve dt,
div.nav.pve table th { border-color:#FC6; }
div.nav.equip .heading { background-color:#F96; }
div.nav.equip dd,
div.nav.equip dt,
div.nav.equip table th { border-color:#F96; }
div.nav.mech1 .heading { background-color:#9a66cc; }
div.nav.mech1 dd,
div.nav.mech1 dt,
div.nav.mech1 table th { border-color:#9a66cc; }
div.nav.mech2 .heading { background-color:#3CC; }
div.nav.mech2 dd,
div.nav.mech2 dt,
div.nav.mech2 table th { border-color:#3CC; }
div.nav.location .heading { background-color:#96C; }
div.nav.location dd,
div.nav.location dt,
div.nav.location table th { border-color:#96C; }
div.nav.lore .heading { background-color:#C6C; }
div.nav.lore dd,
div.nav.lore dt,
div.nav.lore table th { border-color:#C6C; }
div.nav.quest .heading { background-color:#F8B57D; }
div.nav.quest dd,
div.nav.quest dt,
div.nav.quest table th { border-color:#F8B57D; }
div.nav.debuff .heading { background-color:#51A651; }
div.nav.debuff dd,
div.nav.debuff dt,
div.nav.debuff table th { border-color:#51A651; }
div.nav.hom .heading { background-color:#C96; }
div.nav.hom dd,
div.nav.hom dt,
div.nav.hom table th { border-color:#C96; }
div.nav.crafting .heading,
div.nav.recipe .heading { background-color:#963; }
div.nav.crafting dd,
div.nav.hom dt,
div.nav.crafting table th,
div.nav.recipe dd,
div.nav.hom dt,
div.nav.recipe table th { border-color:#963; }
div.nav.guardian .heading,
div.nav.guardian .subheading { background-color:#39C; }
div.nav.guardian dd,
div.nav.guardian dt,
div.nav.guardian table th { border-color:#39C; }
/* FFXIV Wiki - Custom */
div.nav.class-nav table th.class-cell,
div.nav.class-nav table td.class-cell {
text-align: left;
font-weight: normal;
}
div.nav.class-nav table th {
text-align: center;
}
div.nav.class-nav table th:last-child {
border: none;
}
div.nav.class-nav {
width: 840px;
}
/* Table */
.table {
border:0 solid;
border-collapse:collapse;
border-spacing:0;
font-size:.9230769231em;
text-align:left;
clear:none;
position:relative;
display:inline-block;
vertical-align:top;
margin:10px 0;
padding:0;
}
/* make table captions bold */
.table > caption { font-weight: bold }
/* this is a hack to add borders to IE8- */
.table > thead, .table > tbody { border:0 solid #aaa\0/ }
.table tr {
border:1px solid #aaa\0/;
text-align:left;
border-color:#AAA;
}
/* and this removes them for IE9+ */
:root .table tr { border-top-width:0; border-bottom-width:0; }
.table > * > tr > :first-child { border-left:1px solid #AAA; }
.table > * > tr > :last-child { border-right:1px solid #AAA; }
.table > tbody > tr:last-child,
.table > tbody > tr:last-child > *,
.table > tfoot > tr:last-child > *,
.table > caption { border-bottom:1px solid #AAA; }
.table > tbody:first-child > tr:first-child > *,
.table > tbody > tr.heading > *,
.table > thead > tr:first-child > * {
background-image:url("/images/c/cc/Infobox_header_overlay.png");
background-color:#EEE;
border-color:#AAA;
padding:.5em;
}
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th {
line-height:1.667em;
padding:.25em .5em;
}
.table tr > th, .table[class*=center] tr { text-align:center; }
.table[class*=left] tr { text-align:left; }
.table[class*=right] tr { text-align:right; }
.table[class*=middle] tr { vertical-align:middle; }
.table[class*=top] tr { vertical-align:top; }
.table[class*=bottom] tr { vertical-align:bottom; }
.table > :first-child > tr:first-child,
.table > tbody > tr.heading {
background-color:#EEE;
border:1px solid #aaa!important;
}
.table > tbody > tr > th, .table > tfoot > tr > th {
background-color:#E7E7E7;
border-color:#AAA;
}
.table > tbody > tr:nth-child(odd) {
background-color:#F3F3F3;
border-color:#AAA;
}
.table > tbody,
.table > tbody > tr.heading,
.table > tbody > tr > [rowspan],
.table > tbody > tr > [colspan] { border:1px solid #AAA; }
.table > :first-child > tr:first-child + tr [rowspan],
.table > :first-child > tr:first-child + tr [colspan] { border-top-width:0; }
.table .line,
.table .line-bottom {
border-bottom-width:1px!important;
border-bottom-style:solid;
}
.table .line-top {
border-top-width:1px!important;
border-top-style:solid;
border-top-color:#AAA;
}
.table .line-left {
border-left-width:1px!important;
border-left-style:solid;
border-left-color:#AAA;
}
.table .line-right {
border-right-width:1px!important;
border-right-style:solid;
border-right-color:#AAA;
}
.table table {
background-color:transparent;
padding:0;
margin:0;
}
/* any */
.table.any > :first-child > tr:first-child,
.table.any > tbody > tr.heading,
.table.any > :first-child > tr:first-child > *,
.table.any > tbody > tr.heading > * {
background-color:#888 !important;
border-color:#6D6D6D !important;
}
.table.any > tbody > tr > th,
.table.any > tfoot > tr > th,
.table.any > thead > tr > th,
table.table > tbody > tr.any > th {
background-color:#CCC;
border-color:#AAA;
}
.table.any > tbody > tr:nth-child(odd),
.table > tbody > tr.any:nth-child(odd) {
background-color:#EEE;
}