iigs-game-engine/docs/assets/css/toolref.css

261 lines
3.7 KiB
CSS
Raw Normal View History

2022-06-12 01:06:49 +00:00
/* Style for the fancy API documentation */
div.example {
border-top: 1px solid red;
}
div.example > h5 {
font-weight: bold;
font-size: larger;
color: #111;
}
2022-06-12 01:06:49 +00:00
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
{
2022-06-29 19:26:56 +00:00
clear: both;
2022-06-12 01:06:49 +00:00
border-top: 3px double red;
margin: 1em 0;
}
2022-06-29 19:26:56 +00:00
div.api:before {
border-bottom: 1px solid red;
content:"";
height: 1px;
width: 100%;
float: left;
}
2022-06-29 19:26:56 +00:00
div.api > p
{
margin-left: 100px;
}
2022-06-12 01:06:49 +00:00
div.api h4
{
margin: 0.5em 0px 0px 0px;
2022-06-29 19:26:56 +00:00
padding-left: 100px;
2022-06-12 01:06:49 +00:00
}
div.api .tn
{
2022-06-29 19:26:56 +00:00
float: left;
margin-left: -100px;
2022-06-12 01:06:49 +00:00
}
div.section
{
2022-06-29 19:26:56 +00:00
clear: both;
2022-06-12 01:06:49 +00:00
margin-top: 2em;
}
2022-06-29 19:26:56 +00:00
div.section > p
{
margin-left: 100px;
}
2022-06-12 01:06:49 +00:00
div.transition {
height:2em;
2022-06-29 19:26:56 +00:00
color: black;
2022-06-12 01:06:49 +00:00
font-weight: bold;
background-color: red;
padding-left: 100px;
font-size: smaller;
font-family: helvetica;
padding-top:1em;
}
div.api div.section h5
{
2022-06-29 19:26:56 +00:00
/* margin: 0px 0px 0px -100px; */
2022-06-12 01:06:49 +00:00
color: red;
font-size: 0.9em;
2022-06-29 19:26:56 +00:00
float: left;
2022-06-12 01:06:49 +00:00
}
table.bits
{
text-align: center;
border-spacing: 0;
border-collapse: collapse;
}
table.bitfield-definitions tr > td:first-child
{
white-space: nowrap;
}
2022-06-12 01:06:49 +00:00
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;
2022-06-12 01:06:49 +00:00
}
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;
2022-06-29 19:26:56 +00:00
clear: both;
}
.sc {
font-variant: small-caps;
}
table.stack col.col-1
{
width: 15em;
}
table.stack col.col-2
{
width: 2em;
2022-06-12 01:06:49 +00:00
}
table.stack tr
{
background-color: transparent;
}
table.stack th
{
background-color: transparent;
border: none;
2022-06-29 19:26:56 +00:00
text-align: left;
height: 2em;
padding-left: 0;
2022-06-12 01:06:49 +00:00
}
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;
}
2022-06-29 19:26:56 +00:00
table.stack td + td + td
{
padding-left: 5em;
text-indent: -5em;
}
2022-06-12 01:06:49 +00:00
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;
}