Difference between revisions of "User:Valento/vector.css"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* General */
/* DEBUG
div.ffxiv-action-icon > div { border: 1px dashed green; }
div.ffxiv-action-icon > div img { border: 1px dashed red; }
div.ffxiv-action-icon > div:after { border: 1px dashed blue; }
*/


p img {
/** ACTION ICONS **/
     margin: 0;
div.ffxiv-action-icon {
     position: relative;
    display: inline-block;
}
}


img {
/* Grey background */
     border: none;
div.ffxiv-action-icon > div {
     position: relative;
    width: 48px;
    height: 48px;
    display: inline-block;
    background: url(/mediawiki/images/2/2b/Action_background.png) no-repeat 4px 2px;
    -moz-background-size: 40px 40px;
    -o-background-size: 40px 40px;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
     vertical-align: middle;
     vertical-align: middle;
}
}


p, ul, ol, dl {
/* Icon */
     margin-top: 0.7692307692em;
div.ffxiv-action-icon > div img {
     margin-bottom: 0.7692307692em;
     position: absolute;
     line-height: 1.5384615385em;
    top: 2px;
    left: 50%;
     margin-left: -20px;
    display: block;
     z-index: 1;
}
}


.infobox-n .clear, .nav .clear, .recipe-box .clear {
/* Glassy overlay */
     height: 5px;
div.ffxiv-action-icon > div:after {
    content: "";
    background: url(/mediawiki/images/d/d9/Action_overlay_glassy.png) no-repeat;
    width: 48px;
     height: 48px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
}


/* Infobox specific */
/* Icon link */
 
div.ffxiv-action-icon > a {
div.infobox-n {
    width: 40px;
  float:right;
    height: 40px;
  position:relative;
    position: absolute;
  width:250px;
    top: 0;
  background:#FFF;
    z-index: 3;
  font-size:.923em;
    left: 2px;
  border:1px solid #AAA;
    text-decoration: none;
  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 {
/* Mid-size */
  text-align:center;
div.ffxiv-action-icon.mid > div {
  color:#444;
    width: 38px;
  font-size:9px!important;
    height: 38px;
  background-color:rgba(255,255,255,0.5);
    background-size: 30px 30px;
  border-radius:.75em;
  line-height:1em;
  margin:.25em -.5em;
  padding:2px;
}
}
 
div.ffxiv-action-icon.mid > div img {
div.infobox-n .wrapper {
    top: 1px;
  clear:both;
    left: 60%;
  padding:0;
}
}
 
div.ffxiv-action-icon.mid > div:after {
div.infobox-n .statistics {
    width: 36px;
  text-align:center;
    height: 36px;
  margin:0 8px;
    background-size: 36px 36px;
}
}
 
div.ffxiv-action-icon.mid > a {
div.statistics span + span { margin-left:5px; }
    width: 30px;
 
    height: 30px;
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:.5em!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,
/* Small-size */
div.infobox-n dl { margin:10px 0; }
div.ffxiv-action-icon.small > div {
 
    width: 28px;
div.infobox-n dt {
    height: 24px;
  float:left;
    background-size: 18px 20px;
  text-align:right;
  width:78px;
  line-height:1em;
  font-weight:700;
  clear:left;
  border-right:2px solid #999;
  margin:0 -2px 0 0;
  padding:2px 8px 2px 3px;
}
}
 
div.ffxiv-action-icon.small > div img {
div.infobox-n dd {
    top: 1px;
  float:left;
    left: 78%;
  width:125px;
  font-weight:400;
  border-left:2px solid #999;
  margin:0;
  padding:2px 7px;
}
}
 
div.ffxiv-action-icon.small > div:after {
div.infobox-n .image_wrapper {
    width: 24px;
  text-align:center;
    height: 24px;
  padding:0;
    background-size: 24px 24px;
  margin:10px 0;
}
}
 
div.ffxiv-action-icon.small > a {
div.infobox-n::after,
    width: 20px;
div.nav .box::after,
    height: 20px;
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("/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.guardian dd,
div.infobox-n.guardian dt { border-color:#066!important; }
div.infobox-n.guardian .heading,
div.infobox-n.guardian .subheading { background-color:#066!important; }
div.infobox-n.revenant dd,
div.infobox-n.revenant dt { border-color:#861313!important; }
div.infobox-n.revenant .heading,
div.infobox-n.revenant .subheading { background-color:#861313!important; }
div.infobox-n.warrior dd,
div.infobox-n.warrior dt { border-color:#c60!important; }
div.infobox-n.warrior .heading,
div.infobox-n.warrior .subheading { background-color:#c60!important; }
div.infobox-n.engineer dd,
div.infobox-n.engineer dt { border-color:#630!important; }
div.infobox-n.engineer .heading,
div.infobox-n.engineer .subheading { background-color:#630!important; }
div.infobox-n.ranger dd,
div.infobox-n.ranger dt { border-color:#360!important; }
div.infobox-n.ranger .heading,
div.infobox-n.ranger .subheading { background-color:#360!important; }
div.infobox-n.thief dd,
div.infobox-n.thief dt { border-color:#933!important; }
div.infobox-n.thief .heading,
div.infobox-n.thief .subheading { background-color:#933!important; }
div.infobox-n.elementalist dd,
div.infobox-n.elementalist dt { border-color:#c00!important; }
div.infobox-n.elementalist .heading,
div.infobox-n.elementalist .subheading { background-color:#c00!important; }
div.infobox-n.mesmer dd,
div.infobox-n.mesmer dt { border-color:#606!important; }
div.infobox-n.mesmer .heading,
div.infobox-n.mesmer .subheading { background-color:#606!important; }
div.infobox-n.necromancer dd,
div.infobox-n.necromancer dt { border-color:#063!important; }
div.infobox-n.necromancer .heading,
div.infobox-n.necromancer .subheading { background-color:#063!important; }
div.infobox-n.asura dd,
div.infobox-n.asura dt { border-color:#63c!important; }
div.infobox-n.asura .heading,
div.infobox-n.asura .subheading { background-color:#63c!important; }
div.infobox-n.charr dd,
div.infobox-n.charr dt { border-color:#900!important; }
div.infobox-n.charr .heading,
div.infobox-n.charr .subheading { background-color:#900!important; }
div.infobox-n.human dd,
div.infobox-n.human dt { border-color:#c90!important; }
div.infobox-n.human .heading,
div.infobox-n.human .subheading { background-color:#c90!important; }
div.infobox-n.norn dd,
div.infobox-n.norn dt { border-color:#069!important; }
div.infobox-n.norn .heading,
div.infobox-n.norn .subheading { background-color:#069!important; }
div.infobox-n.sylvari dd,
div.infobox-n.sylvari dt { border-color:#060!important; }
div.infobox-n.sylvari .heading,
div.infobox-n.sylvari .subheading { background-color:#060!important; }
div.infobox-n.boon dd,
div.infobox-n.boon dt { border-color:#399!important; }
div.infobox-n.boon .heading,
div.infobox-n.boon .subheading { background-color:#399!important; }
div.infobox-n.condition dd,
div.infobox-n.condition dt { border-color:#363!important; }
div.infobox-n.condition .heading,
div.infobox-n.condition .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.trait dd,
div.infobox-n.skill dt,
div.infobox-n.trait dt { border-color:#999; }
div.infobox-n.skill .heading,
div.infobox-n.trait .heading,
div.infobox-n.skill .subheading,
div.infobox-n.trait .subheading { background:#444; }
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;
}
/* 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;
  }

Latest revision as of 19:37, 26 June 2017

/* DEBUG
div.ffxiv-action-icon > div { border: 1px dashed green; }
div.ffxiv-action-icon > div img { border: 1px dashed red; }
div.ffxiv-action-icon > div:after { border: 1px dashed blue; }
*/

/** ACTION ICONS **/
div.ffxiv-action-icon {
    position: relative;
    display: inline-block;
}

/* Grey background */
div.ffxiv-action-icon > div {
    position: relative;
    width: 48px;
    height: 48px;
    display: inline-block;
    background: url(/mediawiki/images/2/2b/Action_background.png) no-repeat 4px 2px;
    -moz-background-size: 40px 40px;
    -o-background-size: 40px 40px;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    vertical-align: middle;
}

/* Icon */
div.ffxiv-action-icon > div img {
    position: absolute;
    top: 2px;
    left: 50%;
    margin-left: -20px;
    display: block;
    z-index: 1;
}

/* Glassy overlay */
div.ffxiv-action-icon > div:after {
    content: "";
    background: url(/mediawiki/images/d/d9/Action_overlay_glassy.png) no-repeat;
    width: 48px;
    height: 48px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Icon link */
div.ffxiv-action-icon > a {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    z-index: 3;
    left: 2px;
    text-decoration: none;
}

/* Mid-size */
div.ffxiv-action-icon.mid > div {
    width: 38px;
    height: 38px;
    background-size: 30px 30px;
}
div.ffxiv-action-icon.mid > div img {
    top: 1px;
    left: 60%;
}
div.ffxiv-action-icon.mid > div:after {
    width: 36px;
    height: 36px;
    background-size: 36px 36px;
}
div.ffxiv-action-icon.mid > a {
    width: 30px;
    height: 30px;
}

/* Small-size */
div.ffxiv-action-icon.small > div {
    width: 28px;
    height: 24px;
    background-size: 18px 20px;
}
div.ffxiv-action-icon.small > div img {
    top: 1px;
    left: 78%;
}
div.ffxiv-action-icon.small > div:after {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
}
div.ffxiv-action-icon.small > a {
    width: 20px;
    height: 20px;
}