Difference between revisions of "User:Bcode/common.css"

From NetHackWiki
Jump to navigation Jump to search
(custom CSS)
(No difference)

Revision as of 23:01, 13 October 2012

/* List display */
#content li ul, #content li ol {
    border-left: 1px solid rgb(220, 220, 220);
}
#content li {
    border-bottom: 1px solid rgb(220, 220, 220);
}
#content li li:last-child {
    border-bottom: none;
}
#content ul ul {
    list-style: none !important;
}
#content li li {
    margin-left: 0.75em;
}

/* Reference list display */
#content ol.references li:nth-child(odd) {
    background-color: rgb(240, 240, 255);
}
#content ol.references li:nth-child(even) {
    border-bottom: none !important;
}

/* For nicer reference/text jumps */
#content sup:target, #content ol.references li:target {
    background-color: rgb(255,200,200);
}

/* Make the sidebar stay where it is */
#mw-panel {
    position: fixed !important;
}

/* Encyclopedia entries */
.nhencyclopedia {
    background-color: rgb(240,240,245) !important;
}
.nhencyclopedia * {
    font-style: normal;
}