Difference between revisions of MediaWiki:Common.css

NottNott (talk | contribs)
 
NottNott (talk | contribs)
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Reset italic styling set by user agent */
/* Reset italic styling set by user agent */
/*
CUSTOM ENDMYOPIA WIKI STYLING BEGIN
*/
/* Get rid of Chrome outline when selecting editing box */
input:focus, textarea:focus, select:focus{
        outline: none;
    }
/* Hide main page title */
/* if you can't make it work for both languages, just don't do it! yay
body.page-EndMyopia_Wiki h1 { display: none; }
body.page-EndMyopia_Wiki/fr h1 { display: none; }
*/
/*
CUSTOM ENDMYOPIA WIKI STYLING END
THE FOLLOWING IS GENERIC STUFF IMPORTED FROM WIKIPEDIA (we think?)
*/
/* For portals, added 2011-12-07 -bv */
/* On wide screens, show these as two columns */
/* On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
    float: left;
    width: 50%;
}
.portal-column-right {
    float: right;
    width: 49%;
}
.portal-column-left-wide {
    float: left;
    width: 60%;
}
.portal-column-right-narrow {
    float: right;
    width: 39%;
}
.portal-column-left-extra-wide {
    float: left;
    width: 70%;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
cite, dfn {
cite, dfn {
     font-style: inherit;
     font-style: inherit;
Line 1,437: Line 1,501:
pre {
pre {
white-space: pre-wrap;
white-space: pre-wrap;
}
/* Add space above DDLC logo */
#p-logo {
padding-top: 8px;
}
}