Fred Gandt/sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
(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.)
(Page cleanup to prevent it showing in categories)
Tag: Replaced
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Important|Work in progress. Please do not edit, unless this page is known to be causing problems on the BIKI.
[[Category:Sandbox]]
If it is causing problems, please simply blank the page (remove all content and save). Thank you.}}
 
<syntaxhighlight lang="css">
/**
  * 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
  *
  **/
</syntaxhighlight>

Latest revision as of 20:43, 5 January 2020