Common.css – MediaWiki

From Bohemia Interactive Community
Categories:
m (slightly altered floating_box1)
mNo edit summary
Line 195: Line 195:
   margin-right: 10px;
   margin-right: 10px;
   margin-bottom: 10px;
   margin-bottom: 10px;
}
/* Bug priorities */
.bug_priority_1 {
  border-top: 1px solid #ddd;
  background-color: #eee;
  padding: 0 0 2px 4px;
}
.bug_priority_1 .heading {
  width: 100px;
  float: left;
  color: #aaa;
  padding: 0;
  margin: 0;
}
.bug_priority_1 .priority {
  width: 200px;
  float: right;
  background-color: #ddd;
  padding: 2px 5px;
  margin: 0;
  font-size: 0.8em;
  line-height: 1em;
  color: #666;
  }
  }

Revision as of 12:52, 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 {
   border-top: 1px solid #ddd;
   background-color: #eee; 
   padding: 0 0 2px 4px;
 }
 .bug_priority_1 .heading {
   width: 100px;
   float: left;
   color: #aaa;
   padding: 0;
   margin: 0;
 }
 .bug_priority_1 .priority {
   width: 200px;
   float: right;
   background-color: #ddd;
   padding: 2px 5px;
   margin: 0;
   font-size: 0.8em;
   line-height: 1em;
   color: #666;
 }