Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
Line 7: Line 7:
 
     margin-bottom: 1em;
 
     margin-bottom: 1em;
  
/* Headlines in blue */
+
 
h1, h2, h3, h4, h5, h6 {
+
/* HIER STARTET DIE VERSUCHSREIHE */
     color: #77aaff;
+
 
 +
/* 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-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;
 
}
 
}
 
/* Erase the title "Main Page" from the main page */
 
body.page-Main_Page h1.firstHeading {display: none}
 

Revision as of 16:03, 2 December 2014

/* To change the background colors of only the text areas of all the pages */
body{background-image:none; color: #ffffff}

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


/* HIER STARTET DIE VERSUCHSREIHE */

/* 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;
}