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

MediaWiki:Common.css

From Navipedia
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}