Fred Gandt/sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (little tweak)
(The CSS for Cfg* Config Reference pages I am currently working with locally. Tell me if there's anything disagreeable before I add it and the updated pages.)
Line 3: Line 3:


<syntaxhighlight lang="css">
<syntaxhighlight lang="css">
/* Styling for Cfg* Config Reference pages. Use Template:Cfg_ref  in combination */
/**
 
  * Class handling presentation of "Cfg* Config Reference" pages.
  * Use "Template:Cfg ref" in conjunction.
  */
  .cfg_reference {
  .cfg_reference {
   width: 85%;
   width: 85%;
Line 12: Line 15:
   font-weight: bold;
   font-weight: bold;
   color: #404040;
   color: #404040;
  margin-top: 0px;
  padding-top: 0px;
   border: none;
   border: none;
}
.cfg_reference h3 {
  color: #404040;
  margin-top: 0px;
  padding-top: 0px;
}
.cfg_reference p {
  margin-left: 1.2em;
  }
  }
  .cfg_reference img {
  .cfg_reference img {
   margin: 0px 0px 10px 3px;
   margin: 0px 0px 10px 3px;
  }
  }
  .cfg_reference h3 {
  .cfg_reference table.operators {
   color: #404040;
   background-color: #a0a0a0;
  border-spacing: 1px;
}
.cfg_reference table.operators {
  margin-left: 2em;
}
.cfg_reference table.operators th {
  background-color: #d0d0d0;
}
.cfg_reference table.operators td {
  background-color: #efefef;
}
.cfg_reference div.mw-geshi {
  margin-left: 2em;
}
.cfg_reference div.abc {
  border-left: 25px solid #d0d0d0;
}
.cfg_reference div.abc h2 {
  background-color: #fff;
  margin-left: -25px;
  padding: 0.5em 0em 0.5em 0.2em;
  }
  }
  .cfg_reference div.abc h3 {
  .cfg_reference div.abc h3 {
   width:200px;
  float: left;
   margin: 0px;
   width: 25px;
   padding: 5px;
   margin: 0px 0px 0px -25px;
   border: 1px solid #808080;
   padding-top: 0.3em;
   background-color: #d0d0d0;
   border: none;
   border-top: 1px solid #808080;
   font-size: 1.7em;
   font-size: 1.7em;
   font-weight: bold;
   font-weight: bold;
   color: #404040;
   color: #404040;
   text-align: center;
   text-align: center;
  border-bottom: none;
  }
  }
  .cfg_reference div.abc h4 {
  .cfg_reference div.abc h4 {
   background-color: #efefef;
   background-color: #efefef;
   padding: 0.5em 0.5em 0.1em;
   background: -webkit-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   border-top-style: solid;
   background: -o-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   border-top-width: 1px;
   background: -moz-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   border-top-color: #808080;
   background: linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   border-left-style: solid;
   padding: 0.3em 0.5em 0.1em 0.5em;
   border-left-width: 1px;
   border-top: 1px solid #808080;
  border-left-color: #808080;
   font-size: 1.3em;
   font-size: 1.3em;
   font-weight: normal;
   font-weight: normal;
Line 46: Line 79:
   color: #404040;
   color: #404040;
  }
  }
  .cfg_reference p {
  .cfg_reference div.abc dl {
   margin-left: 1.2em;
   margin-left: 1.2em;
  }
  }
  .cfg_reference div.mw-geshi {
   
  margin-left: 1.2em;
  /* End of .cfg_reference
}
  *
  .cfg_reference dt {
  **/
  font-weight: bold;
  float: left;
  clear: both;
  width: 100px;
  padding: 5px 5px 0 5px;
}
.cfg_reference dd {
  margin: 0;
  padding: 5px 5px 5px 120px;
}
.cfg_reference table.operators {
  background-color: #a0a0a0;
  border-spacing: 1px;
}
.cfg_reference table.operators th {
  background-color: #d0d0d0;
}
.cfg_reference table.operators td {
  background-color: #efefef;
}
 
/* End Cfg* Config Reference class */
</syntaxhighlight>
</syntaxhighlight>

Revision as of 19:20, 5 May 2014

Work in progress. Please do not edit, unless this page is known to be causing problems on the BIKI. If it is causing problems, please simply blank the page (remove all content and save). Thank you.
/**
  * Class handling presentation of "Cfg* Config Reference" pages.
  * Use "Template:Cfg ref" in conjunction.
  */
 
 .cfg_reference {
   width: 85%;
 }
 .cfg_reference h2 {
   font-size: 1.8em;
   font-weight: bold;
   color: #404040;
   margin-top: 0px;
   padding-top: 0px;
   border: none;
 }
 .cfg_reference h3 {
   color: #404040;
   margin-top: 0px;
   padding-top: 0px;
 }
 .cfg_reference p {
   margin-left: 1.2em;
 }
 .cfg_reference img {
   margin: 0px 0px 10px 3px;
 }
 .cfg_reference table.operators {
   background-color: #a0a0a0;
   border-spacing: 1px;
 }
 .cfg_reference table.operators {
   margin-left: 2em;
 }
 .cfg_reference table.operators th {
   background-color: #d0d0d0;
 }
 .cfg_reference table.operators td {
   background-color: #efefef;
 }
 .cfg_reference div.mw-geshi {
   margin-left: 2em;
 }
 .cfg_reference div.abc {
   border-left: 25px solid #d0d0d0;
 }
 .cfg_reference div.abc h2 {
   background-color: #fff;
   margin-left: -25px;
   padding: 0.5em 0em 0.5em 0.2em;
 }
 .cfg_reference div.abc h3 {
   float: left;
   width: 25px;
   margin: 0px 0px 0px -25px;
   padding-top: 0.3em;
   border: none;
   border-top: 1px solid #808080;
   font-size: 1.7em;
   font-weight: bold;
   color: #404040;
   text-align: center;
 }
 .cfg_reference div.abc h4 {
   background-color: #efefef;
   background: -webkit-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   background: -o-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   background: -moz-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   background: linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
   padding: 0.3em 0.5em 0.1em 0.5em;
   border-top: 1px solid #808080;
   font-size: 1.3em;
   font-weight: normal;
   font-family: "Lucida Console", monospace;
   color: #404040;
 }
 .cfg_reference div.abc dl {
   margin-left: 1.2em;
 }
 
 /* End of .cfg_reference
  *
  **/