Difference between revisions of "User:Bcode/common.css"
Jump to navigation
Jump to search
(custom CSS) |
(highlight new user external link additions) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
− | #content | + | #content ul { |
list-style: none !important; | list-style: none !important; | ||
} | } | ||
#content li li { | #content li li { | ||
margin-left: 0.75em; | margin-left: 0.75em; | ||
+ | } | ||
+ | |||
+ | #content ol + ol, #content ul + ul, #content dl + dl { | ||
+ | border-top: 2px dotted red; | ||
+ | } | ||
+ | |||
+ | /* Redirect links */ | ||
+ | #content a.mw-redirect { | ||
+ | color: rgb(0,120,50); | ||
} | } | ||
/* Reference list display */ | /* Reference list display */ | ||
− | + | ol.references li:nth-child(odd) { | |
background-color: rgb(240, 240, 255); | background-color: rgb(240, 240, 255); | ||
} | } | ||
− | + | ol.references li:nth-child(even) { | |
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
− | /* | + | /* Nicer reference/text jumps */ |
− | + | .reference:target, ol.references li:target { | |
background-color: rgb(255,200,200); | background-color: rgb(255,200,200); | ||
} | } | ||
Line 40: | Line 49: | ||
.nhencyclopedia * { | .nhencyclopedia * { | ||
font-style: normal; | font-style: normal; | ||
+ | } | ||
+ | |||
+ | .mw-tag-newuser-extlinks { | ||
+ | background-color: #fcc; | ||
} | } |
Latest revision as of 18:56, 30 July 2017
/* 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 {
list-style: none !important;
}
#content li li {
margin-left: 0.75em;
}
#content ol + ol, #content ul + ul, #content dl + dl {
border-top: 2px dotted red;
}
/* Redirect links */
#content a.mw-redirect {
color: rgb(0,120,50);
}
/* Reference list display */
ol.references li:nth-child(odd) {
background-color: rgb(240, 240, 255);
}
ol.references li:nth-child(even) {
border-bottom: none !important;
}
/* Nicer reference/text jumps */
.reference:target, 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;
}
.mw-tag-newuser-extlinks {
background-color: #fcc;
}