Difference between revisions of "MediaWiki:Common.css"

From LQ's wiki
Jump to: navigation, search
(Created page with "/* CSS placed here will be applied to all skins */ HTML to pdf - specific print toggle formatting: .custom-print-toggle { cursor: pointer; font-size: 0.5em; ...")
(No difference)

Revision as of 14:36, 23 January 2014

/* CSS placed here will be applied to all skins */
 
/* HTML to pdf - specific print toggle formatting */
 
.custom-print-toggle {
    cursor: pointer;
    font-size: 0.5em;
    margin-left: 2em;
    padding: 0.05em 1em;
    color: darkgreen;
    font-weight: bold;
}
 
.custom-print-toggle.print-mode {
    color: #F44;
}
 
#firstHeading > .custom-print-toggle {
    display: none;
}
 
#firstHeading:hover > .custom-print-toggle {
    display: inline-block;
}
 
body.custom-print #mw-navigation,
body.custom-print #mw-page-base,
body.custom-print div#footer,
body.custom-print #catlinks,
body.custom-print .editsection,
body.custom-print #toc {
    display: none;
}
 
body.custom-print #content {
    margin-left: 0;
    border: 1px solid transparent;
}
 
body.custom-print h1 {
    text-align: center;
}
 
table.wikitable {
    margin: 1em 0;
    background-color: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    color: black;
}
 
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
 
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #f2f2f2;
    text-align: center;
}
 
table.navbox {
    width: 100%;
}
 
 
pre {
    font-size: 1.2em;
    padding: 1em; 
    margin: 1em 0; 
    border: 1px dashed #2f6fab;
    background-color: #f9f9f9;
}