mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-22 11:34:14 +00:00
261 lines
3.7 KiB
CSS
261 lines
3.7 KiB
CSS
/* Style for the fancy API documentation */
|
|
div.example {
|
|
border-top: 1px solid red;
|
|
}
|
|
|
|
div.example > h5 {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
color: #111;
|
|
}
|
|
|
|
div.api_intro h1, h2, h3, h4, h5 {
|
|
font-family: helvetica, sans-serif;
|
|
}
|
|
|
|
div.api_intro h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
div.api_intro h2 {
|
|
border-top: 3px double red;
|
|
margin: 1em 0;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
div.api h1, h2, h3, h4, h5 {
|
|
font-family: helvetica, sans-serif;
|
|
}
|
|
|
|
div.api
|
|
{
|
|
clear: both;
|
|
border-top: 3px double red;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
div.api:before {
|
|
border-bottom: 1px solid red;
|
|
content:"";
|
|
height: 1px;
|
|
width: 100%;
|
|
float: left;
|
|
}
|
|
|
|
div.api > p
|
|
{
|
|
margin-left: 100px;
|
|
}
|
|
|
|
|
|
div.api h4
|
|
{
|
|
margin: 0.5em 0px 0px 0px;
|
|
padding-left: 100px;
|
|
}
|
|
|
|
div.api .tn
|
|
{
|
|
float: left;
|
|
margin-left: -100px;
|
|
}
|
|
|
|
div.section
|
|
{
|
|
clear: both;
|
|
margin-top: 2em;
|
|
}
|
|
|
|
div.section > p
|
|
{
|
|
margin-left: 100px;
|
|
}
|
|
|
|
div.transition {
|
|
height:2em;
|
|
color: black;
|
|
font-weight: bold;
|
|
background-color: red;
|
|
padding-left: 100px;
|
|
font-size: smaller;
|
|
font-family: helvetica;
|
|
padding-top:1em;
|
|
}
|
|
|
|
div.api div.section h5
|
|
{
|
|
/* margin: 0px 0px 0px -100px; */
|
|
color: red;
|
|
font-size: 0.9em;
|
|
float: left;
|
|
}
|
|
|
|
table.bits
|
|
{
|
|
text-align: center;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table.bitfield-definitions tr > td:first-child
|
|
{
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table.bits td
|
|
{
|
|
padding: 5px;
|
|
width: 1em;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.intro {
|
|
font-size: smaller;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.intro th {
|
|
font-family: helvetica, sans-serif;
|
|
text-align: left;
|
|
padding-top: 1em;
|
|
}
|
|
|
|
.intro_header th {
|
|
border-top: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
padding-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
}
|
|
|
|
.intro td {
|
|
padding-right: 1em;
|
|
}
|
|
|
|
div.warning, div.important
|
|
{
|
|
border-top: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
font-family: helvetica;
|
|
font-size: small;
|
|
/* margin-top: 2em; */
|
|
margin-left: 100px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
div.warning:before
|
|
{
|
|
display: block;
|
|
content: "Warning";
|
|
font-weight: bold;
|
|
margin-top: 1em;
|
|
color: red;
|
|
}
|
|
|
|
div.important:before
|
|
{
|
|
display: block;
|
|
content: "Important";
|
|
font-weight: bold;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.parameters h5 {
|
|
font-family: helvetica;
|
|
color: red;
|
|
}
|
|
|
|
table.errors
|
|
{
|
|
border-spacing: 0;
|
|
}
|
|
|
|
table.errors th {
|
|
font-family: helvetica;
|
|
font-size: smaller;
|
|
color: red;
|
|
text-align: left;
|
|
width: 100px;
|
|
height: 4em;
|
|
}
|
|
|
|
table.stack
|
|
{
|
|
border: none;
|
|
border-spacing: 0;
|
|
margin: 1em 0;
|
|
clear: both;
|
|
}
|
|
|
|
.sc {
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
table.stack col.col-1
|
|
{
|
|
width: 15em;
|
|
}
|
|
|
|
table.stack col.col-2
|
|
{
|
|
width: 2em;
|
|
}
|
|
|
|
table.stack tr
|
|
{
|
|
background-color: transparent;
|
|
}
|
|
|
|
table.stack th
|
|
{
|
|
background-color: transparent;
|
|
border: none;
|
|
text-align: left;
|
|
height: 2em;
|
|
padding-left: 0;
|
|
}
|
|
|
|
table.stack th:first-child,
|
|
table.stack td:first-child
|
|
{
|
|
white-space: nowrap;
|
|
width: 12em;
|
|
}
|
|
|
|
table.stack td
|
|
{
|
|
border: none;
|
|
background-color: transparent;
|
|
padding: 0.25em 1em;
|
|
}
|
|
|
|
table.stack td + td + td
|
|
{
|
|
padding-left: 5em;
|
|
text-indent: -5em;
|
|
}
|
|
|
|
table.stack em
|
|
{
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
margin-left: .5em;
|
|
}
|
|
|
|
.stack .top {
|
|
border-left: 2px solid black;
|
|
border-right: 2px solid black;
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.stack .bot {
|
|
border-top: 1px solid black;
|
|
border-left: 2px solid black;
|
|
border-right: 2px solid black;
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
} |