Difference between revisions of "MediaWiki:Common.css"
From Cross the Hurdles
Lalit Kumar (talk | contribs) |
Lalit Kumar (talk | contribs) |
||
Line 14: | Line 14: | ||
width: 100%; | width: 100%; | ||
padding: 0; | padding: 0; | ||
+ | margin: 0 0 0.6em 337px;; | ||
+ | float: none; | ||
} | } | ||
#content { | #content { | ||
Line 27: | Line 29: | ||
padding-top: 0; | padding-top: 0; | ||
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14); | box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14); | ||
+ | position: fixed; | ||
+ | top: 0; | ||
} | } | ||
#content { | #content { | ||
− | |||
margin: 0 auto; | margin: 0 auto; | ||
position: relative; | position: relative; | ||
Line 65: | Line 68: | ||
padding-top: 0; | padding-top: 0; | ||
overflow: visible; | overflow: visible; | ||
− | |||
max-width: 930px; | max-width: 930px; | ||
padding: 20px; | padding: 20px; | ||
} | } |
Revision as of 07:45, 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;
margin: 0 0 0.6em 337px;;
float: none;
}
#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);
position: fixed;
top: 0;
}
#content {
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;
max-width: 930px;
padding: 20px;
}