If you wish to contribute or participate in the discussions about articles you are invited to contact the Editor

MediaWiki:Common.css: Difference between revisions

From Navipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 43: Line 43:


#mw-page-base {
#mw-page-base {
     background-image: url( "/skins/common/Navipedia_bg.jpg" );
     background-image: url( "skins/common/Navipedia_bg.jpg" );
     background-color: blue;
     background-color: blue;
     background-repeat: no-repeat;
     background-repeat: no-repeat;

Latest revision as of 10:49, 7 February 2019

/* CSS placed here will be applied to all skins */

body.page-Main_Page h1.firstHeading { display:none; }

/* even and odd in tables*/
smwtable.row-even {background-color:#FFF;}
smwtable.row-odd {background-color:#CDE6EA;}

@media print {
.noprint {
    display:none;
  }
}

@media only screen {
.hide {
    display:none;
  }
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}

a.new {
    color: #ba0000;
}

#mw-page-base {
    background-image: url( "skins/common/Navipedia_bg.jpg" );
    background-color: blue;
    background-repeat: no-repeat;
    height: 6em;

}

#p-personal a, #p-personal a.new  {
    color: white;
}

#left-navigation {
    margin-top: 7.5em;
}

#right-navigation {
    margin-top: 7.5em;
}

.mw-body {
    margin-top: 4em;
}

#p-logo {
    height: 5em;
}

#p-logo a {
    height: 5em;
    background: transparent;
}

#mw-panel #p-logo + .portal h3 {
   display: block;
}

#mw-panel #p-logo + .portal .body {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
}

#mw-panel .portal {
    margin: 0 0 0 0;
}

#mw-panel .portal h3 {
    font-weight:bold;
}

#p-personal a:visited , #p-personal a.new:visited {
    color: white;
}