Guild Wars 2 Wiki:Projects/CSS documentation/content general- common
From Guild Wars 2 Wiki
Jump to navigationJump to search
/* TOC display level limiter, will only display the TOC up to level N */
.toc1 li.toclevel-2,
.toc1 li.toclevel-3,
.toc1 li.toclevel-4,
.toc1 li.toclevel-5,
.toc1 li.toclevel-6,
.toc2 li.toclevel-3,
.toc2 li.toclevel-4,
.toc2 li.toclevel-5,
.toc2 li.toclevel-6,
.toc3 li.toclevel-4,
.toc3 li.toclevel-5,
.toc3 li.toclevel-6,
.toc4 li.toclevel-5,
.toc4 li.toclevel-6,
.toc5 li.toclevel-6,
.hide {
display: none;
}
/* TOC heading font */
#toc h2,
.toc h2 {
font-family: Arial, sans-serif !important;
}
/* Edit buttons - only right aligned within tables, otherwise use MediaWiki default of left aligned */
table .mw-editsection {
float: right;
}
/* References */
ol.references {
font-size: 90%;
}
sup,
sub {
line-height: 1em;
}
/* prevent multi-columns (specifically added this rule for achievement pages) */
.mw-references-columns {
column-count: 1;
}
#content .hiddenlinks a,
#content .hiddenlinks a:link,
#content .hiddenlinks a:visited {
color: inherit;
}
/* Custom gallery element styles */
ul.gallery.simple-overlay .gallerytext p {
margin: 0;
padding: 2px 5px;
font-weight: bold;
}
ul.gallery.simple-overlay .gallerytext {
background-color: rgba(255, 255, 255, 0.85);
position: absolute;
bottom: 5px;
right: 5px;
}