Difference between revisions of "MediaWiki:Common.css"
From Cross the Hurdles
Lalit Kumar (talk | contribs) |
Lalit Kumar (talk | contribs) |
||
Line 33: | Line 33: | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
+ | } | ||
+ | #column-content { | ||
+ | float: right; | ||
+ | margin: 0px auto 0px 300px; | ||
+ | max-width: 930px; | ||
} | } | ||
#bodyContent{ | #bodyContent{ | ||
Line 38: | Line 43: | ||
border-radius: 3px; | border-radius: 3px; | ||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14); | box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14); | ||
− | |||
− | |||
padding: 20px; | padding: 20px; | ||
} | } | ||
Line 45: | Line 48: | ||
#globalWrapper { | #globalWrapper { | ||
background: #fff none repeat scroll 0 0; | background: #fff none repeat scroll 0 0; | ||
+ | background-image: none; | ||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); | ||
font-size: 127%; | font-size: 127%; | ||
Line 56: | Line 60: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
+ | } | ||
+ | |||
+ | #firstHeading, .firstHeading { | ||
+ | padding-top: 0; | ||
+ | overflow: visible; | ||
+ | margin: 100px auto 0; | ||
+ | max-width: 930px; | ||
+ | padding: 20px; | ||
} | } |
Revision as of 06:57, 11 September 2020
/* CSS placed here will be applied to all skins */
#privacy, #about, #disclaimer, #mobileview {display: none;}
body{
background:#f2f2f2;
font-size: 14px;
color: black;
margin: 0;
padding: 0;
direction: ltr; /* Needed for RTL flipping */
unicode-bidi: embed;
}
#column-content {
width: 100%;
padding: 0;
}
#content {
margin: 3.4em 0 0 15em;
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);
}
#content {
background: #e1eaff;
margin: 0 auto;
position: relative;
z-index: 2;
}
#column-content {
float: right;
margin: 0px auto 0px 300px;
max-width: 930px;
}
#bodyContent{
background: #fff;
border-radius: 3px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
padding: 20px;
}
#globalWrapper {
background: #fff none repeat scroll 0 0;
background-image: none;
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;
margin: 100px auto 0;
max-width: 930px;
padding: 20px;
}