Guild Wars 2 Wiki:Projects/CSS documentation/content general- vector

From Guild Wars 2 Wiki
Jump to navigationJump to search
sup,
sub {
    line-height: 0;
}

pre,
xmp,
plaintext,
listing {
    white-space: pre-wrap;
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    padding: 0;
}

.mw-body h1,
.mw-body h2 {
    font-family: "EasonPro", "Times New Roman", serif !important;
    font-weight: normal;
}

.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    font-family: Arial, sans-serif !important;
    font-weight: bold;
}

.mw-body h1 {
    font-size: 2.231em;
    line-height: 1.25em;
    margin-top: 0.724em;
    margin-bottom: 0.69em;
}

/* note: this element is outside div.bodyContent so is actually the same displayed font size as h1 2.231em */
.mw-body #firstHeading {
    font-size: 1.8125em;
    margin-top: 0;
    margin-bottom: 0.2em;
}

.mw-body h2 {
    font-size: 1.923em;
    line-height: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.4em;
}

.mw-body h3 {
    font-size: 1.308em;
    line-height: 1.15em;
    margin-top: 1.353em;
    margin-bottom: 0.588em;
}

.mw-body h4 {
    font-size: 1.154em;
    line-height: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.667em;
    padding: 0;
}

.mw-body h5 {
    font-size: 1em;
    line-height: 1.15em;
    margin-top: 1.308em;
    margin-bottom: 0.769em;
}

.mw-body h6 {
    font-size: 0.923em;
    line-height: 1em;
    margin-top: 1.5em;
    margin-bottom: 0.833em;
}

.mw-body #toc {
    margin: 10px 0px;
}

.mw-body #toc h2,
.mw-body .toc h2 {
    font-size: inherit;
    font-family: sans-serif !important;
    font-weight: bold;
}

table.table th > h1,
table.table th > h2,
table.table th > h3,
table.table th > h4,
table.table th > h5,
table.table th > h6 {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    border: none;
}

/** LISTS **/
p,
ul,
ol,
dl {
    margin-top: 0.769em;
    margin-bottom: 0.769em;
    line-height: 1.538em;
}

dd,
dt,
li {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.538em;
}

li > ul,
li > ol {
    margin-top: 0;
    margin-bottom: 0;
}

#content li > ul,
#content li > ol {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul {
    list-style-type: square;
    list-style-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%225%22 height=%2213%22 viewBox=%220 0 1.323 3.44%22%3E %3Cpath fill=%22%23638c9c%22 d=%22M0 1.852v1.323h1.323V1.852z%22/%3E %3C/svg%3E");
}

hr {
    background-color: #5A5C5E; /* color scheme: gray page border - note hr looks like a line but actually only respects background-color */
}

h1,
h2,
h3,
h4,
h5,
h6,
.tocnumber,
.wikitable,
pre,
code,
.mw-code,
textarea {
    color: #EAEAEA; /* color scheme: font offwhite */
}

.toc,
#filetoc,
.toccolours,
h1,
h2,
pre,
.mw-code,
code,
textarea,
div.thumbinner,
html .thumbimage,
li.gallerybox div.thumb,
.wikitable,
.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    border-color: #5A5C5E; /* color scheme: gray page border */
}

.wikitable > tr > th,
.wikitable > * > tr > th {
    background-color: #1A1A1A; /* color scheme: super dark */
}

.wikitable,
pre,
.mw-code,
code,
textarea,
.toc,
.toccolours,
#filetoc,
div.thumbinner,
html .thumbimage,
li.gallerybox div.thumb {
    background-color: #40434A; /* color scheme: inactive tabs */
}