MediaWiki:Common.css

From CrowdSociety
Revision as of 11:17, 3 December 2014 by Tmarian (Talk)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* To change the background colors of only the text areas of all the pages */
body{background-image:none; color: #ffffff}

#article {
background-color:#ffffff;
}
 
#articleFooter {
background-color:#ffffff;
}

/* To change the size of the whitespace abouve an article's title */
#siteNotice {
    margin-top: 95px;
    margin-bottom: 1em;


/* CHANGES OF LINKS COLORS */
.mw-body a:link { color: #000000; text-decoration: underline;  } /* normal unvisited links */
.mw-body a:link:visited { color: #000000; text-decoration: line-through;  } /* visited links */
.mw-body a:link:active { color: #000000; text-decoration: underline; } /* active links */
.mw-body a:link.new { color: #000000; text-decoration: underline;  } /* new links */
.mw-body a:link.interwiki { color: #000000; text-decoration: underline; } /* interwiki links */
.mw-body a:link.external { color: #000000; text-decoration: underline; } /* external links */
.mw-body a:link.stub { color: #000000; text-decoration: line-through; } /* hovered links */
 
.mw-body a:link {color: #000000; text-decoration: underline;}
.mw-body a:visited {color: #000000; text-decoration: line-through;}
.mw-body a:hover {color: #000000; text-decoration: line-through;}
.mw-body a:active {color: #000000; text-decoration: underline;} /*what does active link mean? ... maybe change to line-through */

.mw-body a.mw-redirect {color: #000000; text-decoration: underline;}
.mw-body a.mw-redirect:visited {color: #000000; text-decoration: line-through;}

.mw-body a.external {color: #000000; text-decoration: underline;}
.mw-body a.external:visited {color: #000000; text-decoration: line-through;}

/* VARIOUS TESTS START HERE: */

/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}
q {
    quotes: '"' '"' "'" "'";  /* Straight quote marks for <q> */
}
blockquote {
    overflow: hidden;  /* Avoid collision of background with floating elements */
}
strong.selflink {
    font-weight: underline;  /* Prevent the 'double bold' bug in Firefox when using DirectWrite */
}
 
/* Main page fixes */
#interwiki-completelist {
    font-weight: underline;
}
body.page-Main_Page #ca-delete {
    display: none !important;
}
body.page-Main_Page #mp-topbanner {
    clear: both;
}
 
/* Edit window toolbar */
#toolbar {
    height: 11px;
    margin-bottom: 6px;
}
 
/* Highlight data points in the info action if specified in the URL */
body.action-info :target {
    background: #FFF;
}
 
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}
 
/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
    background-color: #FFF;
}
 
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}
 
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}
 
/* Styling for citations (CSS3). 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;
    }
}
 
/* Reset top margin for lists embedded in columns */
div.columns {
    margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
    margin-top: 0;
}
 
/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}
 
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
    overflow-x: hidden;
    margin-left: 0;
    padding-left: 1.6em;
}
.flowlist ol {
    overflow-x: hidden;
    margin-left: 0;
    padding-left: 3.2em;
}
.flowlist dl {
    overflow-x: hidden;
}