Common.css – MediaWiki

From Bohemia Interactive Community
Categories:
m (removed bug priority heading css)
m (small fix)
Line 206: Line 206:
   float: right;
   float: right;
   padding: 2px 5px;
   padding: 2px 5px;
   margin: 0;
   margin: 0 0 0 5px;
   font-size: 0.8em;
   font-size: 0.8em;
   font-weight: bold;
   font-weight: bold;

Revision as of 17:17, 18 December 2006

 /* This stylesheet contains any specialized styles of the wiki */

/* 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;
}
 

/**
 * 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 #9fd6fa;
   background: #d8f0fd;
   width: 170px;
   height: 200px;
   padding: 0 5px;
   float: left;
   margin-right: 10px;
   margin-bottom: 10px;
 }

/* Bug priorities */
 .bug_priority_1, .bug_priority_2, .bug_priority_3, .bug_priority_4, .bug_priority_5 {
   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 {
   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: #cde;
   background-color: #e7eeff; 
 }
 .bug_priority_4 .priority {
   background-color: #cde;
   color: #469;
 }

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