Difference between revisions of "MediaWiki:Common.css"

From Everlaster
Jump to: navigation, search
(Created page with "Reset italic styling set by user agent: cite, dfn { font-style: inherit; } Straight quote marks for <q>: q { quotes: '"' '"' "'" "'"; } /* Avoid collision...")
 
(Blanked the page)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Reset italic styling set by user agent */
 
cite, dfn {
 
    font-style: inherit;
 
}
 
  
/* Straight quote marks for <q> */
 
q {
 
    quotes: '"' '"' "'" "'";
 
}
 
 
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
 
blockquote {
 
    overflow: hidden;
 
    margin: 1em 0;
 
    padding: 0 40px;
 
}
 
 
/* Prevent the 'double bold' bug in Firefox when using DirectWrite */
 
strong.selflink {
 
    font-weight: 700;
 
}
 
 
/* Consistent size for <small>, <sub> and <sup> */
 
small {
 
    font-size: 85%;
 
}
 
.mw-body-content sub,
 
.mw-body-content sup,
 
span.reference /* for Parsoid */ {
 
    font-size: 80%;
 
}
 
 
/* Same spacing for indented and unidented paragraphs on talk pages */
 
.ns-talk .mw-body-content dd {margin-top:0.4em; margin-bottom:0.4em;}
 
 
/* Main page fixes */
 
#interwiki-completelist {
 
    font-weight: bold;
 
}
 
 
/* Reduce page jumps by hiding collapsed/dismissed content */
 
.client-js .mw-special-Watchlist #watchlist-message,
 
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) {
 
    display: none;
 
}
 
 
/* Tone down 'Changed since last visit' colors */
 
span.updatedmarker {
 
    background-color: transparent;
 
    color: #006400;
 
}
 
 
/* Edit window toolbar */
 
#toolbar {
 
    height: 22px;
 
    margin-bottom: 6px;
 
}
 
 
/* Hide charinsert base for those not using the gadget */
 
#editpage-specialchars {
 
    display: none;
 
}
 
 
/* Highlight linked elements (such as clicked references) in blue */
 
body.action-info .mw-body-content :target,
 
.citation:target {
 
    background-color: #DEF;  /* Fallback */
 
    background-color: rgba(0, 127, 255, 0.133);
 
}
 
 
/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
 
.citation {
 
    word-wrap: break-word;
 
}
 
 
/* For linked citation numbers and document IDs, where the number need not be shown
 
  on a screen or a handheld, but should be included in the printed version */
 
@media screen, handheld {
 
    .citation .printonly {
 
        display: none;
 
    }
 
}
 

Latest revision as of 05:48, 23 September 2017