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

MediaWiki:Common.css

From Government Linked Data (GLD) Working Group Wiki
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 */


 /* copied from mw_metadata */
 
 table.datatable {
 	font-size: 0.8em;
 	margin-left: 0.5em;
 	margin-bottom: 0.5em;
 	width: 300px;
 }
 
 table.datatable caption {
 	font-weight: bold;
 }
 
 table.datatable th {
 	font-weight: normal;
 }
 
 table.datatable td {
 	padding: 0.1em;
 }
 
 table.datatable {
 	border: none;
 	border-collapse: collapse;
 }
 
 table.datatable td, table.datatable th {
 	/* text-align: center;  */
 	border: 1px solid #aaaaaa;
 	padding-left: 1em;
 	padding-right: 1em;
 }
 
 table.datatable th {
 	background-color: #f9f9f9;
 }
 
 table.datatable td {
 	/* background-color: #fcfcfc;   */
 }
 
 table.datatable td.doc0 {
      /* background-color: #fcfcfc;  */
 }

 table.datatable tr:hover {
    background-color:#eeeeee;
 }


/* by sandro */
table.open-data-table {
   font-size:0.9em; 
   color:black;
   border-style: none; 
   border-collapse:collapse;
}

/*
table.open-data-table th:hover a {
   text-decoration: underline;		      
   color: blue;
}
*/

table.open-data-table th {
   background-color:#E8E8E8;
   font-weight:normal;
}

table.open-data-table th a {
   text-decoration: none;		      
   color: black;
}

#bodyContent table.open-data-table th a.external {
   text-decoration: none;		      
   color: black;
}

table.open-data-table th:hover {
   background-color:#F0F0F0;
   text-decoration: none;		      
   color: blue;
}

table.open-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;
}