Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
(Replaced content with "/* CSS placed here will be applied to all skins */ To change the background colors of only the text areas of all the pages: body{background-image:none}")
Line 3: Line 3:
 
/* To change the background colors of only the text areas of all the pages */
 
/* To change the background colors of only the text areas of all the pages */
 
body{background-image:none}
 
body{background-image:none}
 +
 +
 +
h1 { color: #aaff77}
 +
  h2 { color: #77aaff}
 +
 +
  h1, h2 { margin-bottom: 0.2em; } /*color: #aaff77 */
 +
  h3, h4, h5 { margin-bottom: 0.3em; }
 +
  p { margin: 0.4em 0px 0.5em; line-height: 1.5em; }
 +
  p img { margin: 0px; }
 +
  ul { line-height: 1.5em; list-style-type: square; margin: 0.3em 0px 0px 1.6em; padding: 0px; }
 +
  ol { line-height: 1.5em; margin: 0.3em 0px 0px 3.2em; padding: 0px; list-style-image: none; }
 +
  li { margin-bottom: 0.1em; }
 +
  dt { font-weight: bold; margin-bottom: 0.1em; }
 +
  dl { margin-top: 0.2em; margin-bottom: 0.5em; }
 +
  dd { line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em; }
 +
  q {  }
 +
  pre, code, tt, kbd, samp, .mw-code { font-family: monospace,Courier; }
 +
  code { background-color: #f9f9f9; }
 +
  pre, .mw-code { padding: 1em; border: 1px solid #dddddd; color: black; background-color: #f9f9f9; }
 +
  table { font-size: 100%; }
 +
  fieldset { border: 1px solid #2f6fab; margin: 1em 0px; padding: 0px 1em 1em; line-height: 1.5em; }
 +
  fieldset.nested { margin: 0px 0px 0.5em; padding: 0px 0.5em 0.5em; }
 +
  legend { padding: 0.5em; font-size: 95%; }
 +
  form { border: medium none; margin: 0px; }
 +
  textarea { width: 100%; padding: 0.1em; display: block; box-sizing: border-box; }
 +
  select { vertical-align: top; }
 +
  .center { width: 100%; text-align: center; }
 +
  .center * { margin-left: auto; margin-right: auto; }
 +
  .small { font-size: 94%; }
 +
  table.small { font-size: 100%; }
 +
  #toc, .toc, .mw-warning { border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; }
 +
  #toc, .toc { display: table; padding: 7px; }
 +
  table#toc, table.toc { border-collapse: collapse; }
 +
  table#toc td, table.toc td { padding: 0px; }
 +
  #toc h2, .toc h2 { display: inline; border: medium none; padding: 0px; font-size: 100%; font-weight: bold; }
 +
  #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }
 +
  #toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0px; padding: 0px; text-align: left; }
 +
  #toc ul ul, .toc ul ul { margin: 0px 0px 0px 2em; }
 +
  #toc .toctoggle, .toc .toctoggle { font-size: 94%; }
 +
  .toccolours { border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; }
 +
  .mw-warning { margin-left: 50px; margin-right: 50px; text-align: center; }

Revision as of 11:50, 25 November 2014

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

/* To change the background colors of only the text areas of all the pages */
body{background-image:none}


h1 { color: #aaff77}
  h2 { color: #77aaff}
 
  h1, h2 { margin-bottom: 0.2em; } /*color: #aaff77 */
  h3, h4, h5 { margin-bottom: 0.3em; }
  p { margin: 0.4em 0px 0.5em; line-height: 1.5em; }
  p img { margin: 0px; }
  ul { line-height: 1.5em; list-style-type: square; margin: 0.3em 0px 0px 1.6em; padding: 0px; }
  ol { line-height: 1.5em; margin: 0.3em 0px 0px 3.2em; padding: 0px; list-style-image: none; }
  li { margin-bottom: 0.1em; }
  dt { font-weight: bold; margin-bottom: 0.1em; }
  dl { margin-top: 0.2em; margin-bottom: 0.5em; }
  dd { line-height: 1.5em; margin-left: 1.6em; margin-bottom: 0.1em; }
  q {  }
  pre, code, tt, kbd, samp, .mw-code { font-family: monospace,Courier; }
  code { background-color: #f9f9f9; }
  pre, .mw-code { padding: 1em; border: 1px solid #dddddd; color: black; background-color: #f9f9f9; }
  table { font-size: 100%; }
  fieldset { border: 1px solid #2f6fab; margin: 1em 0px; padding: 0px 1em 1em; line-height: 1.5em; }
  fieldset.nested { margin: 0px 0px 0.5em; padding: 0px 0.5em 0.5em; }
  legend { padding: 0.5em; font-size: 95%; }
  form { border: medium none; margin: 0px; }
  textarea { width: 100%; padding: 0.1em; display: block; box-sizing: border-box; }
  select { vertical-align: top; }
  .center { width: 100%; text-align: center; }
  .center * { margin-left: auto; margin-right: auto; }
  .small { font-size: 94%; }
  table.small { font-size: 100%; }
  #toc, .toc, .mw-warning { border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; }
  #toc, .toc { display: table; padding: 7px; }
  table#toc, table.toc { border-collapse: collapse; }
  table#toc td, table.toc td { padding: 0px; }
  #toc h2, .toc h2 { display: inline; border: medium none; padding: 0px; font-size: 100%; font-weight: bold; }
  #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }
  #toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0px; padding: 0px; text-align: left; }
  #toc ul ul, .toc ul ul { margin: 0px 0px 0px 2em; }
  #toc .toctoggle, .toc .toctoggle { font-size: 94%; }
  .toccolours { border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; }
  .mw-warning { margin-left: 50px; margin-right: 50px; text-align: center; }