MediaWiki:Vector.css: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
   li#ca-edit,
   li#ca-edit,
   li#pt-preferences,
   li#pt-preferences,
  li#pt-login,
   li#pt-logout,
   li#pt-logout,
  li#pt-mycontris,
  li#ca-history,
   */
   */
   li#ca-nstab-main,
   li#ca-nstab-main,
Line 15: Line 19:
   li#ca-viewsource,
   li#ca-viewsource,
   li#ca-nstab-special,
   li#ca-nstab-special,
  li#ca-history,
 
   li#ca-delete,
   /* li#ca-delete, */
   li#ca-move,
   /* li#ca-move, */
   li#ca-protect,
   /* li#ca-protect, */
   li#ca-watch,
   li#ca-watch,
   li#ca-unwatch,
   li#ca-unwatch,
  li#pt-watchlist,
   li#pt-userpage,
   li#pt-userpage,
  li#pt-login,
   li#pt-mytalk,
   li#pt-mytalk,
  li#pt-watchlist,
  li#pt-mycontris,
   #p-navigation h5,
   #p-navigation h5,
   #p-authoring h5,
   #p-authoring h5,
Line 67: Line 70:
margin-top: 1em;  
margin-top: 1em;  
margin-bottom: 1em;  
margin-bottom: 1em;  
background-color: #f9f9f9;
background-color: #eee;
border: 1px dashed #888;
   }
   }


Line 82: Line 84:
   /*  http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F */
   /*  http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F */
   #footer {
   #footer {
margin: 0 0 1em 0;
margin-top: 0em;
padding: 0;
margin-right: 0em;
margin-bottom: 1em;
margin-left: 12em;
padding: 1em;
clear: none;
clear: none;
column-width:25em; -moz-column-width:25em; -webkit-column-width:25em; column-gap:1em; -moz-column-gap:1em; -webkit-column-gap:1em;
column-width:25em; -moz-column-width:25em; -webkit-column-width:25em; column-gap:1em; -moz-column-gap:1em; -webkit-column-gap:1em;

Latest revision as of 18:36, November 20, 2020

/* CSS placed here will affect users of the Vector skin */
/* parent styles:  https://wiki.anl.gov/wiki_cnm/skins/vector/main.css */

/* http://www.w3.org/TR/CSS2/media.html */
@media screen {

  /* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_remove_the_article.2Fedit_etc_tabs.3F */
  /*
  li#ca-edit,
  li#pt-preferences,
  li#pt-login,
  li#pt-logout,

  li#pt-mycontris,
  li#ca-history,
  */
  li#ca-nstab-main,
  li#ca-talk,
  li#ca-viewsource,
  li#ca-nstab-special,

  /* li#ca-delete, */
  /* li#ca-move, */
  /* li#ca-protect, */
  li#ca-watch,
  li#ca-unwatch,
  li#pt-watchlist,

  li#pt-userpage,
  li#pt-mytalk,
  #p-navigation h5,
  #p-authoring h5,
  #p-search h5,
  #p-tb h5,
  #searchGoButton {
          display:none;
  }
  
  /* http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F */
  body.page-Main_Page h1.firstHeading { display:none; }

  h1 { line-height: 120%; font-size: 188%; }
  h2 { line-height: 180%; margin-top: 2ex; }
  h3 { line-height: 200%; margin-top: 1ex; }
  h4 { line-height: 200%; margin-top: 1ex; }

  #footer,
  #catlinks,
  div#userloginForm form,
  div#userloginForm table,
  div#userlogin form#userlogin2,
  div#userlogin form#userlogin2 table,
  #p-navigation .pBody,
  #p-authoring .pBody,
  #p-search .pBody,
  #p-tb .pBody {
	background: none;
	border: none;
  }
 
  /* spacing at https://wiki.anl.gov/cnm/Special:UserLogin */
  #userloginprompt {
	padding: 4ex;
  }
  input[type="submit"]#wpLoginattempt {
	margin-top: 5ex;
  }
  /* syntaxhighlight extension - http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Method_1.2C_CSS_file */
  div.mw-geshi {
	margin-top: 1em; 
	margin-bottom: 1em; 
	background-color: #eee;
  }

  /* better set off the category links box (identified by inspecting HTML output) */
  /* https://wiki.anl.gov/wiki_cnm/skins/monobook/main.css?207 */
  #catlinks {
	/* Can do quite well without the extra visual interruption:
        border-top: 1px solid #aaa;
        */
	margin-top: 8ex;
  }

  /*  http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F */
  #footer {
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 12em;
	padding: 1em;
	clear: none;
	column-width:25em; -moz-column-width:25em; -webkit-column-width:25em; column-gap:1em; -moz-column-gap:1em; -webkit-column-gap:1em;
  }
  /* img#footer { display: none; } */
  li#footer-poweredbyico { display: none; }
}