Common.css – MediaWiki

From Bohemia Interactive Community
Revision as of 01:53, 22 December 2006 by Hardrock (talk | contribs)

Categories:

Categories:

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.
 /* This stylesheet contains any specialized styles of the wiki */

 /* global styles */
 div.editsection {
   margin-top: 2em;
 }
 h2 {
   margin-top: 1.5em;
 }
 h3 {
   margin-top: 1em;
 }
 h4 {
   font-size: 1.1em;
 }

 /* wikitableclass for skinning normal tables */
 table.wikitable {
   margin: 1em 1em 1em 0;
   background: #f9f9f9;
   border: 1px #aaaaaa solid;
   border-collapse: collapse;
 }
 
 table.wikitable th, table.wikitable td {
   border: 1px #aaaaaa solid;
   padding: 0.2em;
 }
 
 table.wikitable th {
   background: #f2f2f2;
   text-align: center; 
 }
 
 table.wikitable caption {
   margin-left: inherit;
   margin-right: inherit;
 }

 /* operator tables */
 table.operators {
   width: 500px;
   margin: 0 1em 1em 1em; 
   border: 1px solid #A3B0BF;
 }
 table.operators caption {
   margin-top: 1em;
   margin-bottom: 0.3em;
   color: #006;
 }
 table.operators th, table.operators td {
   padding: 2px 5px;
 }
 table.operators th {
   background-color: #cedff2;
 }
 table.operators td {
   background-color: #eee;
 }

 /**
  * command_description is the namespace for all styles used in the
  * Template:Command for the scripting commands.
  */
  
 .command_description {
   width: 85%;
 }
 .command_description h2 {
   font-size: 1.8em;
   font-weight: bold;
   color: darkblue;
   border: 0;
 }
 .command_description img {
   margin: 0 0 10px 3px;
 }
 .command_description h3 {
   margin: 0;
   padding: 5px;
   border: 1px solid #cedff2;
   background: #f5faff;
   font-size: 1.2em;
   font-weight: bold;
   color: #6191C3;
 }
 .command_description dt {
   font-weight: bold;
   float: left;
   clear: both;
   width: 100px;
   padding: 5px 5px 0 5px;
 }
 .command_description dt.note {
   font-weight: normal;
 }
 .command_description dd {
   margin: 0;
   padding: 5px 5px 5px 120px;
 }
 .command_description dd.param {
   text-indent: -20px;
   padding-left: 160px;
   background-color: #F8F8F8;
 }
 .command_description dd.note {
   background-color: #F8F8F8;
 }
 .command_description dd.notedate {
   clear: both;
   margin: 20px 0 0 0;
   padding: 2px;
   border-bottom: 1px solid #ccc;
   font-size: 0.9em;
   text-align: right;
 }
 /*
  * before:
  *
 .command_description pre, .command_description code, .command_description dd.example code, .command_description dd.note code {
   font-family: Lucida Console, monospace;
   font-size: 0.9em;
   padding: 7px;
   line-height: 1em;
 }
 .command_description code {
   padding: 3px;
 }
 .command_description dd.example code, .command_description dd.note code {
   white-space: pre;
   display: block;
   background-color: #F9F9F9;
   border:1px dashed #2F6FAB;
 }
 *
 * after:
 */
 code, pre {
   font-family: Lucida Console, monospace;
   font-size: 0.9em;
   padding: 7px;
   line-height: 1.2em;
   padding: 7px;
   white-space: pre;
   display: block;
   background-color: #F9F9F9;
   border:1px dashed #2F6FAB;
 }

 /*
  * tool_description is the namespace for all styles used in the Template:Tool.
  */
 .tool_description {
   width: 85%;
 }
 .tool_description h2 {
   font-size: 1.8em;
   font-weight: bold;
   color: green;
   border: 0;
 }
 .tool_description img {
   margin: 0 0 10px 3px;
 }
 .tool_description h3 {
   margin: 0;
   padding: 5px;
   border: 1px solid #cef2df;
   background: #f5fffa;
   font-size: 1.2em;
   font-weight: bold;
   color: #57B083;
 }
 .tool_description dt {
   font-weight: bold;
   float: left;
   clear: both;
   width: 90px;
   padding: 5px 5px 0 5px;
 }
 .tool_description dt.note {
   font-weight: normal;
 }
 .tool_description dd {
   margin: 0;
   padding: 5px 5px 5px 110px;
 }
 .tool_description dd.param {
   text-indent: -20px;
   padding-left: 150px;
   background-color: #F8F8F8;
 }
 .tool_description dd.note {
   background-color: #F8F8F8;
 }
 .tool_description dd.notedate {
   clear: both;
   margin: 20px 0 0 0;
   padding: 2px;
   border-bottom: 1px solid #ccc;
   font-size: 0.9em;
   text-align: right;
 }
 .tool_description pre, .tool_description code, .tool_description dd.example code, .tool_description dd.note code {
   font-family: Lucida Console, Courier New, monospace;
   font-size: 0.9em;
   padding: 7px;
   line-height: 1em;
 }
 .tool_description code {
   padding: 3px;
 }
 .tool_description dd.example code, .tool_description dd.note code {
   white-space: pre;
   display: block;
   background-color: #F9F9F9;
   border:1px dashed #2FAB6F;
 }

 /* Floating box */
 .floating_box1 {
   border: 1px solid #A3B0BF;
   background: #CEDFF2;
   width: 170px;
   height: 200px;
   padding: 0 5px;
   float: left;
   margin-right: 10px;
   margin-bottom: 10px;
 }
 .floating_box1 h2 {
   margin-top: 0.5em;
 }

 /* Bug priorities */
 .bug_priority_1, .bug_priority_2, .bug_priority_3, .bug_priority_4, .bug_priority_5, .bug_priority_0 {
   border-top: 1px solid black;
   padding: 0 0 2px 10px;
 }
 .bug_priority_1 .priority, .bug_priority_2 .priority, .bug_priority_3 .priority, .bug_priority_4 .priority, .bug_priority_5 .priority, .bug_priority_0 .priority {
   width: 200px;
   float: right;
   padding: 2px 5px;
   margin: 0 0 0 5px;
   font-size: 0.8em;
   font-weight: bold;
   line-height: 1em;
 }

 .bug_priority_1 {
   border-color: #e88;
   background-color: #fdc; 
 }
 .bug_priority_1 .priority {
   background-color: #e88;
   color: #a22;
 }

 .bug_priority_2 {
   border-color: #dd8;
   background-color: #ffb; 
 }
 .bug_priority_2 .priority {
   background-color: #dd8;
   color: #991;
 }

 .bug_priority_3 {
   border-color: #bee;
   background-color: #dff; 
 }
 .bug_priority_3 .priority {
   background-color: #bee;
   color: #099;
 }

 .bug_priority_4 {
   border-color: #bcd;
   background-color: #dde7ff; 
 }
 .bug_priority_4 .priority {
   background-color: #bcd;
   color: #469;
 }

 .bug_priority_5 {
   border-color: #ccc;
   background-color: #f6f6f6; 
 }
 .bug_priority_5 .priority {
   background-color: #ccc;
   color: #555;
 }

 .bug_priority_0 {
   border-color: #af9;
   background-color: #dfd; 
 }
 .bug_priority_0 .priority {
   background-color: #af9;
   color: #090;
 }