Common.css – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
  /* Trying to introduce common.css - did I already see it here? */
  /* This stylesheet contains any specialized styles of the wiki */


/**
  * command_description is the namespace for all styles used in the
  * Template:Command for the scripting commands.
  */
  .command_description {
  .command_description {
   width: 85%;
   width: 85%;
  }
  }
  .command_description h2 {
  .command_description h2 {
   margin: 0;
   margin: 0;
Line 14: Line 17:
   color: #6191C3;
   color: #6191C3;
  }
  }
  .command_description dt {
  .command_description dt {
   float: left;
   float: left;
Line 42: Line 44:
   display: block;
   display: block;
   border-bottom: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
}
   font-size: 0.9em;
 
.command_description ol.notes
{
   background-color: #f8f8f8;
  margin: 0;
  padding: 0;
 
}
.command_description ol.notes li
{
  margin: 0 0 0 30px;
  padding: 5px 0 5px 80px;
  }
  }

Revision as of 14:31, 28 July 2006

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

 /**
  * command_description is the namespace for all styles used in the
  * Template:Command for the scripting commands.
  */
 .command_description {
   width: 85%;
 }
 .command_description h2 {
   margin: 0;
   padding: 5px;
   border: 1px solid #cedff2;
   background: #f5faff;
   font-size: 1.2em;
   font-weight: bold;
   color: #6191C3;
 }
 .command_description dt {
   float: left;
   clear: both;
   width: 90px;
   padding: 5px 5px 0 5px;
 }
 .command_description dt.note {
   font-weight: normal;
 }
 .command_description dd {
   margin: 0;
   padding: 5px 5px 5px 110px;
 }
 .command_description dd.param {
   padding-left: 130px;
   background-color: #F8F8F8;
 }
 .command_description dd.note {
   background-color: #F8F8F8;
   margin-bottom: 15px;
 }
 .command_description dd.notedate {
   clear: both;
   margin: 0;
   padding: 2px;
   display: block;
   border-bottom: 1px solid #ccc;
   font-size: 0.9em;
 }