MediaWiki:Common.css

From NodeNet
Jump to navigationJump 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.
  /* Permacomputing-inspired minimal style */                                                                                                                                                                             
  body {                                                                                                                                                                                                                  
      font-family: monospace;                                                                                                                                                                                             
      background: #fff;                                                                                                                                                                                                   
      color: #000;
  }

  /* Main content */
  #content, .mw-body {
      background: #fff;                                                                                                                                                                                                   
      border: 1px solid #ccc;
      box-shadow: none;                                                                                                                                                                                                   
      padding: 1.5em;
  }
                                                                                                                                                                                                                          
  h1, h2, h3, h4 {
      font-family: monospace;                                                                                                                                                                                             
      font-weight: bold;
      border-bottom: 1px solid #000;
      padding-bottom: 0.2em;                                                                                                                                                                                              
  }
                                                                                                                                                                                                                          
  a { color: #00f; }
  a:visited { color: #808; }

  /* Sidebar */                                                                                                                                                                                                           
  #mw-panel {
      font-family: monospace;                                                                                                                                                                                             
      background: #f9f9f9;
      border-right: 1px solid #ccc;
  }                                                                                                                                                                                                                       
  
  #mw-panel .portal h3 {                                                                                                                                                                                                  
      font-family: monospace;
      border-bottom: 1px solid #ccc;                                                                                                                                                                                      
      font-size: 0.9em;
      text-transform: uppercase;                                                                                                                                                                                          
  }
                                                                                                                                                                                                                          
  /* Remove gradients and shadows */
  #mw-head, .mw-header {
      background: #fff;                                                                                                                                                                                                   
      border-bottom: 1px solid #ccc;
      box-shadow: none;                                                                                                                                                                                                   
  }               
                                                                                                                                                                                                                          
  /* Tables */
  table {                                                                                                                                                                                                                 
      border-collapse: collapse;
  }
  td, th {
      border: 1px solid #ccc;
      padding: 0.3em 0.6em;
  }