Warning:
This wiki has been archived and is now read-only.

MediaWiki:Common.css

From RIF
Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
 /* CSS placed here will be applied to all skins */

 .rfc_2119 {
    font-variant: small-caps;
    font-style: normal;
 }

 
 /* from http://en.wikipedia.org/wiki/MediaWiki:Common.css */
 
 /* wikitable/prettytable class for skinning normal tables */
 table.wikitable,
 table.prettytable {
     margin: 1em 1em 1em 0;
     background: #f9f9f9;
     border: 1px #aaa solid;
     border-collapse: collapse;
 }
 .wikitable th, .wikitable td,
 .prettytable th, .prettytable td {
     border: 1px #aaa solid;
     padding: 0.2em;
 }
 .wikitable th,
 .prettytable th {
     background: #f2f2f2;
     text-align: center;
 }
 .wikitable caption,
 .prettytable caption {
     font-weight: bold;
 }


 /* for linked data tables */

 table.data-table {
    font-size:0.9em; 
    color:black;
    border-style: none; 
    border-collapse:collapse;
 }
 
 
 .data-table tr:hover {
    background: #cec;
 } 
 
 table.data-table th:hover a {
    text-decoration: underline;		      
    color: blue;
 }
 
 table.data-table th {
    background-color:#E8E8E8;
    font-weight:normal;
 }
 
 table.data-table th a {
    text-decoration: none;		      
    color: black;
 }
 
 #bodyContent table.data-table th a.external {
    text-decoration: none;		      
    color: black;
 }
 
 table.data-table th:hover {
    background-color:#F0F0F0;
    /* text-decoration: none;		      
    color: blue; */
 }

 
 table.data-table td, th {
    border:1px solid #AAAAAA;
    padding-left:0.3em;
    padding-right:0.3em;
    /* text-align:center; */
 }
 
 /*
    Make a few changes for add-on class "form-table"
 */
 
 table.form-table {
    border-collapse: separate;
    border-spacing: 0.2em;
 }
 
 table.form-table th {
    border: none;
    /* text-align: right;  */
 }
 
 table.form-table td {
    text-align: left;
 }



 /* wikitable/prettytable class for skinning normal tables */
 table.wikitable,
 table.prettytable {
     margin: 1em 1em 1em 0;
     background: #f9f9f9;
     border: 1px #aaa solid;
     border-collapse: collapse;
 }
 .wikitable th, .wikitable td,
 .prettytable th, .prettytable td {
     border: 1px #aaa solid;
     padding: 0.2em;
 }
 .wikitable th,
 .prettytable th {
     background: #f2f2f2;
     text-align: center;
 }
 .wikitable caption,
 .prettytable caption {
     font-weight: bold;
 }

 .node {
     color: blue;
     font-weight: bold;
 }


 .syntax-translation-table td {
    vertical-align: top;
 }

 .syntax-translation-table table {
       border-collapse: collapse;
       background: #FFF;
    }

 .syntax-translation-table th,td {
       padding: 4px 1em;
       background: #eee;
       border: 1px black solid;
    }

 .syntax-translation-table pre {
   background-color: #eee;
   border: none;
   color:black;
   line-height:1.1em;
   padding: 0; 
 }

.notvalid pre {
   background-color: #e99
}