Difference between revisions of "MediaWiki:Common.css"
From Cross the Hurdles
Lalit Kumar (talk | contribs) |
Lalit Kumar (talk | contribs) |
||
Line 12: | Line 12: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#content { | #content { | ||
− | margin: | + | margin: 0 auto; |
padding: 0 1em 0.5em 1em; | padding: 0 1em 0.5em 1em; | ||
position: relative; | position: relative; | ||
Line 33: | Line 27: | ||
top: 0; | top: 0; | ||
} | } | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
#column-content { | #column-content { | ||
− | + | width: 100%; | |
− | margin: | + | padding: 0; |
− | + | margin: 100px auto 0px 300px; | |
+ | float: none; | ||
} | } | ||
+ | |||
#bodyContent{ | #bodyContent{ | ||
background: #fff; | background: #fff; | ||
Line 51: | Line 43: | ||
#globalWrapper { | #globalWrapper { | ||
− | background: | + | background: transparent; |
background-image: none !important; | background-image: none !important; | ||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); |
Revision as of 08:21, 11 September 2020
/* CSS placed here will be applied to all skins */
#privacy, #about, #disclaimer, #mobileview {display: none;}
body{
background:#f2f2f2;
background-image: none !important;
font-size: 14px;
color: black;
margin: 0;
padding: 0;
direction: ltr; /* Needed for RTL flipping */
unicode-bidi: embed;
}
#content {
margin: 0 auto;
padding: 0 1em 0.5em 1em;
position: relative;
z-index: 2;
}
#column-one {
background: #fff none repeat scroll 0 0;
display: table;
margin: 0 auto;
padding-top: 0;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
position: fixed;
top: 0;
}
#column-content {
width: 100%;
padding: 0;
margin: 100px auto 0px 300px;
float: none;
}
#bodyContent{
background: #fff;
border-radius: 3px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
padding: 20px;
}
#globalWrapper {
background: transparent;
background-image: none !important;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
font-size: 127%;
padding: 0;
position: unset;
width: unset;
}
/* scale back up to a sane default */
#globalWrapper img{
max-width: 100%;
height: auto;
}
#firstHeading, .firstHeading {
padding-top: 0;
overflow: visible;
max-width: 930px;
padding: 20px;
}