Difference between revisions of MediaWiki:Common.css

NottNott (talk | contribs)
No edit summary
NottNott (talk | contribs)
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 2: Line 2:
/* Reset italic styling set by user agent */
/* Reset italic styling set by user agent */


/*


#siteSub { display:block; }
CUSTOM ENDMYOPIA WIKI STYLING BEGIN


.ns-3008 #content, .ns-3009 #content {
*/
background-color: #FFFFF3;  
 
/* 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%;
}
}
.ns-3008 div.thumb, .ns-3009 div.thumb {
@media only screen and (max-width: 800px) {
border-color: #FFFFF3;  
    /* 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;
    }
}
}


Line 1,451: Line 1,502:
white-space: pre-wrap;
white-space: pre-wrap;
}
}
/* Add space above DDLC logo */
#p-logo {
padding-top: 8px;
}
/* Hide main page title
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
display: none;
}*/