MediaWiki:Monobook.css: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:
   h4 { line-height: 200%; margin-top: 1ex; }
   h4 { line-height: 200%; margin-top: 1ex; }


  /* better set off the category links box (identified by inspecting HTML output) */
   #footer,#catlinks,#generated-sidebar {
  /* https://wiki.anl.gov/wiki_cnm/skins/monobook/main.css?207 */
   #catlinks {
background: none;
background: none;
border-left: none;
border: none;
border-right: none;
border-top: 1px solid #aaa;
border-bottom: none;
 
margin-top: 6ex;
   }
   }


   /*  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 {
background: none;
border-top: none;
border-bottom: none;
margin: 0 0 1em 0;
margin: 0 0 1em 0;
padding: 0;
padding: 0;
   }
   }


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

Revision as of 15:34, May 25, 2011

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

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

  /* 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,#generated-sidebar {
	background: none;
	border: none;
  }

  /*  http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_footer.3F */
  #footer {
	margin: 0 0 1em 0;
	padding: 0;
  }

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