Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(43 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 */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page h1.firstHeading { display:none; }


.XinReality1 {
.XinReality1 {
Line 72: Line 73:


.dull2 .body {
.dull2 .body {
  height: 100%;
  margin: 0 0 0 0;
  padding: 5px 5px 0px 10px;
}
.dull3 {
  border: 3px double #bbc2ca;
  margin: 0 0 10px 0;
  padding: 3px 6px;
  vertical-align: top;
}
.dull3 .heading {
  margin: 0 0 0px 0;
  padding: 5px 0 10px 0;
}
.dull3 .body {
   height: 100%;
   height: 100%;
   margin: 0 0 0 0;
   margin: 0 0 0 0;
Line 79: Line 98:
/* Stub template style */
/* Stub template style */
.stub {
.stub {
    text-align: center;
     margin: 3px;
     margin: 3px;
     margin-left: 25%;
     margin-left:10%;
     margin-right: 25%;
     margin-right:10%;
     border-collapse: collapse;
     border-collapse: collapse;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     background: #DFE8FF;
     background: #DFE8FF;
}
}
.needConfirmation {
    text-align: center;
    margin: 3px;
    margin-left:10%;
    margin-right:10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #eab676;
}


/* Infobox template style */
/* Infobox template style */
Line 131: Line 162:
     display: none;
     display: none;
}
}
/* widen the sidebar */
div#mw-panel {
            width: 12em;
}
div#footer, #mw-head-base, div#content {
            margin-left: 12em;
}
#left-navigation {
            left: 12em;
}
div#mw-panel div.portal {
  padding-bottom: 5px;
}
div#p-namespaces {
            margin-left: 1em;
}
div#mw-panel div.portal {
            margin: 0 0.6em 0 0;
}
div#mw-panel div.portal div.body ul li {
          margin-left: 1em;
}
div#mw-panel div.portal h3 {
        margin-left: 2.4em;
}
/*we don't want disqus on the main page*/
.page-Main_Page #disqus-wrapper {
    display:none!important;
}
/*Show only desktop ad code on Desktop*/
.nodesktop{
display:none!important;
}
/* top and bottom banners (add header and footer) */
body {
background: url() top left no-repeat, url() bottom left no-repeat;
height:auto;
min-height:110vh;
}
body {
background-repeat: no-repeat!important;
}
/* display mobile or desktop */
/* used by the front page start*/
/* Default styles for desktop (769px or more) */
.desktop-view {
    display: block;
}
.mobile-view {
    display: none;
}
@media only screen and (max-width: 768px) {
  .desktop-view { display: none !important; }
  .mobile-view { display: block !important; }
}
/* used by the front page end*/