MediaWiki:Common.css: Difference between revisions
		
		
		
		
		
		⧼vector-jumptonavigation⧽
		⧼vector-jumptosearch⧽
		
				
		
		
	
 (add sidebox class)  | 
				 (right-align sidebox, with margin on left)  | 
				||
| Line 87: | Line 87: | ||
    table.sidebox,  |     table.sidebox,  | ||
    table.sidebox {  |     table.sidebox {  | ||
       margin:1em 1em   |        margin:1em 1em 1em 2em;  | ||
       background:#F9F9F9;  |        background:#F9F9F9;  | ||
       border:1px #AAA solid;  |        border:1px #AAA solid;  | ||
       border-collapse:collapse;  |        border-collapse:collapse;  | ||
      float:right;  | |||
       }  |        }  | ||
Revision as of 20:43, 2 March 2009
/* CSS placed here will be applied to all skins */
#f-copyrightico { display: none; };
/* Messagebox templates - CSS from http://en.wikipedia.org/w/index.php?oldid=266620825 */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto;
}
.mbox-inside .standard-talk,
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
    background: #F8EABA;
}
/*****
** Table formatting - from http://meta.wikimedia.org/w/index.php?title=MediaWiki:Common.css&oldid=1350114
*****/
   table.wikitable,
   table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }
   table.wikitable th, table.wikitable td,
   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }
   table.wikitable th,
   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }
   table.wikitable caption,
   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }
/*****
** Sidebox formatting
*****/
   table.sidebox,
   table.sidebox {
      margin:1em 1em 1em 2em;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      float:right;
      }
   table.sidebox th, table.sidebox td,
   table.sidebox th, table.sidebox td {
      border:1px #AAA solid;
      padding:0.2em;
      }
   table.sidebox th,
   table.sidebox th {
      background:#F2F2F2;
      text-align:center;
      }