forked from Mirrors/openclonk
docs: Re-add some style features that were lost in the last update
Specifically, inline image positions, function syntax indentation, dt and table caption.
parent
a9dfe2ed82
commit
0400fe945d
|
@ -6,14 +6,19 @@ body {
|
|||
color: black;
|
||||
}
|
||||
|
||||
body, table caption, dt, div.fnsyntax {
|
||||
body {
|
||||
font-size: small;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
.text, div.fnsyntax, pre.code, ul, ol, dl {
|
||||
.text, pre.code, ul, ol, dl {
|
||||
margin: 8px 0 12px 0;
|
||||
}
|
||||
/* indent the parameters of the function if it's broken into multiple lines*/
|
||||
div.fnsyntax {
|
||||
text-indent: -1em;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 0 76px;
|
||||
|
@ -32,14 +37,21 @@ dd {
|
|||
img {
|
||||
margin-right: 6px;
|
||||
}
|
||||
.text img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img#cpem {
|
||||
float: left;
|
||||
margin: 0 6px 6px 18px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color:#222222;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 188%;
|
||||
font-size: 2em;
|
||||
font-weight: normal;
|
||||
margin-top: 1.32em;
|
||||
padding: 0;
|
||||
|
@ -49,7 +61,7 @@ h1 {
|
|||
|
||||
h2 {
|
||||
font-weight: normal;
|
||||
font-size: 140%;
|
||||
font-size: 150%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-top: 0.8em;
|
||||
|
@ -57,9 +69,15 @@ h2 {
|
|||
border-bottom: 3px solid #eee;
|
||||
}
|
||||
|
||||
h3 {
|
||||
h3, table caption, dt {
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
font-size: 110%;
|
||||
font-size:132%;
|
||||
margin: 0;
|
||||
border-bottom:1px solid #eee;
|
||||
margin-bottom:0.3em;
|
||||
margin-top:1em;
|
||||
padding:0.2em 0.1em 0.3em 0;
|
||||
}
|
||||
|
||||
table {
|
||||
|
@ -141,7 +159,6 @@ ul.nav {
|
|||
ul.nav li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
ul.nav a {
|
||||
color: #ccc;
|
||||
padding: 6px 10px;
|
||||
|
|
Loading…
Reference in New Issue