MediaWiki:Gadget-ms-Mainpage.css/diffs: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "/* This is some old code we used to use on the Mainpage to handle the way that the page history looked. It's kinda cool and involved, so we're keeping it around as a...")
 
 

Latest revision as of 18:32, 19 February 2024

/* This is some old code we used to use on the

  Mainpage to handle the way that the page
  history looked. It's kinda cool and involved,
  so we're keeping it around as an archive — 
  in case it can be used again. */


/* ================

  DIFFS 
  ================ 

body.mainpage table.diff, body.mainpage td.diff-otitle, body.mainpage td.diff-ntitle {

  background-color:transparent;

}

body.mainpage td.diff-addedline {

       border:2px solid white;

background: #537d00 !important;

       color: black !important;
       padding:10px;
       line-height:120%;
       font-size:14px;
       font-family: Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace !important;

} body.mainpage td.diff-deletedline {

       border:2px solid white;

background: #c34f31 !important;

       color: black !important;
       padding:10px;
       line-height:120%; 
       font-size:14px;
       font-family: Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace !important;

} body.mainpage td.diff-context { background:transparent !important;

       color: #fff !important;
       border: none;
       font-weight:bold;
       font-size:12px;
       margin-bottom:5px;
       margin-top:5px;
       padding:10px;
       line-height:120%;

} body.mainpage span.diffchange { color:#fff; font-weight: bold; text-decoration: none;

       font-size:14px;

} body.mainpage .WikiaArticle #pagehistory li.selected {

  background-color:#aecfff;
  color:#012c57!important;

} body.mainpage .WikiaArticle #pagehistory li.selected a {

  color:#012c57!important

}