mirror of
https://github.com/vale981/quickdocs-server
synced 2025-03-04 16:51:38 -05:00
Tweak styles of API reference.
This commit is contained in:
parent
e9124fd969
commit
0ddb01dfc4
2 changed files with 13 additions and 16 deletions
|
@ -397,6 +397,10 @@ ul {
|
|||
padding-bottom: 40px;
|
||||
border-top: 1px dotted #CCC;
|
||||
}
|
||||
.system header .description {
|
||||
margin: 15px 0 10px 10px !important;
|
||||
color: #666;
|
||||
}
|
||||
.toc {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
|
@ -443,8 +447,9 @@ ul {
|
|||
}
|
||||
.api .lambda-list {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
margin-left: 4px;
|
||||
color: #555;
|
||||
font-family: Consolas, "Liberation Mono", Courier, monospace;
|
||||
}
|
||||
.api .lambda-list .symbol-name {
|
||||
font-size: 95%;
|
||||
|
@ -453,7 +458,7 @@ ul {
|
|||
.api .lambda-list .keyword {
|
||||
color: #777;
|
||||
font-style: italic;
|
||||
font-size: 90%;
|
||||
font-size: 100%;
|
||||
}
|
||||
.api .initial-value {
|
||||
color: #777;
|
||||
|
@ -480,9 +485,10 @@ ul {
|
|||
}
|
||||
.api .symbol-type {
|
||||
position: absolute;
|
||||
left: -78px;
|
||||
left: -80px;
|
||||
display: inline-block;
|
||||
padding-right: 10px;
|
||||
font-style: italic;
|
||||
font-size: 85%;
|
||||
text-align: right;
|
||||
width: 60px;
|
||||
|
@ -516,7 +522,7 @@ ul {
|
|||
.api .docstring {
|
||||
margin: 5px 0 10px;
|
||||
font-size: 90%;
|
||||
color: #333;
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.api .docstring pre {
|
||||
|
@ -524,9 +530,6 @@ ul {
|
|||
margin: 0;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.api .description {
|
||||
margin: 15px 0 10px 10px !important;
|
||||
}
|
||||
.error {
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<div class="api">
|
||||
{% for package in system.packages %}
|
||||
<section class="package">
|
||||
<h2 id="package-{{ package.name }}">{{ package.name }}</h2>
|
||||
<h2 id="package-{{ package.name }}"><a href="#package-{{ package.name }}">{{ package.name }}</a></h2>
|
||||
{% if package.docstring %}
|
||||
<div class="docstring"><pre>{{ package.docstring }}</pre></div>
|
||||
{% endif %}
|
||||
|
@ -52,13 +52,7 @@
|
|||
{% if symbol.externalp %}
|
||||
<li class="symbol">
|
||||
<span class="symbol-type label {{ symbol.type }}">{{ symbol.type | capfirst }}</span>
|
||||
<code class="symbol-name">
|
||||
{% if symbol.setfp %}
|
||||
(setf {{ symbol.name }})
|
||||
{% else %}
|
||||
{{ symbol.name }}
|
||||
{% endif %}
|
||||
</code>
|
||||
<code class="symbol-name">{% if symbol.setfp %}(setf {{ symbol.name }}){% else %}{{ symbol.name }}{% endif %}</code>
|
||||
{% if symbol.lambda-list %}
|
||||
<span class="lambda-list">
|
||||
{{ symbol.lambda-list | lambda-list | safe }}
|
||||
|
@ -71,7 +65,7 @@
|
|||
includes ({% for include in symbol.include-structs %}<code class="symbol-name">{{ include | symbol }}</code>{% if not forloop.last %}, {% endif %}{% endfor %})
|
||||
{% endif %}
|
||||
{% if symbol.initial-value %}
|
||||
<span class="initial-value">{{ symbol.initial-value }}</span>
|
||||
<span class="initial-value">{{ symbol.initial-value | lower }}</span>
|
||||
{% endif %}
|
||||
<div class="docstring">{{ symbol.docstring }}</div>
|
||||
{% if symbol.type == "class" or symbol.type == "struct" %}
|
||||
|
|
Loading…
Add table
Reference in a new issue