proper docs and other tweaks
This commit is contained in:
parent
69b80af03e
commit
02c6788194
@ -118,7 +118,7 @@ a {
|
||||
|
||||
|
||||
h2.usedby-title {
|
||||
background: #888;
|
||||
background: #999;
|
||||
border-radius: 0;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
@ -126,15 +126,15 @@ h2.usedby-title {
|
||||
text-shadow: none;
|
||||
}
|
||||
.usedby {
|
||||
background: #f0f0f0;
|
||||
background: #f7f7f7;
|
||||
margin: 0px 0 70px;
|
||||
text-align: center;
|
||||
padding: 10px 10px 15px;
|
||||
box-shadow: inset 0 0 25px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 0 25px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.logo {
|
||||
opacity: 0.5;
|
||||
opacity: 0.6;
|
||||
padding-top: 55px;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
@ -195,6 +195,7 @@ th, td {
|
||||
text-align: left;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid #ccc;
|
||||
vertical-align: top;
|
||||
}
|
||||
th {
|
||||
background: #eee;
|
||||
@ -299,3 +300,55 @@ h2 {
|
||||
|
||||
text-shadow: 0 -1px 1px rgba(0,0,0,0.35);
|
||||
}
|
||||
|
||||
|
||||
.toc-col {
|
||||
float: left;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.map-col {
|
||||
width: 180px;
|
||||
border-right: 1px solid #ddd;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
#toc h4 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#toc ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
margin-top: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
|
||||
table td {
|
||||
color: #666;
|
||||
}
|
||||
table td:first-child {
|
||||
color: #777;
|
||||
}
|
||||
table td:last-child {
|
||||
color: black;
|
||||
}
|
||||
|
||||
table td code i {
|
||||
color: #9a9;
|
||||
}
|
||||
|
||||
table td code b {
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.api-page table td,
|
||||
.api-page table th {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.api-page h4 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ If you have any questions, take a look at the <a href="https://github.com/Leafle
|
||||
|
||||
</div>
|
||||
|
||||
<h2 class="usedby-title">Trusted by the best ♥</h2>
|
||||
<h2 class="usedby-title">Trusted by the best</h2>
|
||||
<div class="usedby">
|
||||
<a class="logo logo-github" href="#">GitHub</a>
|
||||
<a class="logo logo-foursquare" href="#">foursquare</a>
|
||||
|
@ -7,7 +7,7 @@ bodyclass: api-page
|
||||
<h2>API Reference</h2>
|
||||
|
||||
<div id="toc" class="clearfix">
|
||||
<div class="span-5 colborder">
|
||||
<div class="toc-col map-col">
|
||||
<h4>Map</h4>
|
||||
<ul>
|
||||
<li><a href="#map-usage">Usage example</a></li>
|
||||
@ -17,9 +17,9 @@ bodyclass: api-page
|
||||
</ul>
|
||||
<h4>Map Methods</h4>
|
||||
<ul>
|
||||
<li><a href="#map-set-methods">For modifying map state</a></li>
|
||||
<li><a href="#map-get-methods">For getting map state</a></li>
|
||||
<li><a href="#map-stuff-methods">For layers and controls</a></li>
|
||||
<li><a href="#map-set-methods">Modifying map state</a></li>
|
||||
<li><a href="#map-get-methods">Getting map state</a></li>
|
||||
<li><a href="#map-stuff-methods">Layers and controls</a></li>
|
||||
<li><a href="#map-conversion-methods">Conversion methods</a></li>
|
||||
<li><a href="#map-misc-methods">Other methods</a></li>
|
||||
</ul>
|
||||
@ -29,7 +29,7 @@ bodyclass: api-page
|
||||
<li><a href="#map-panes">Panes</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span-3">
|
||||
<div class="toc-col">
|
||||
<h4>UI Layers</h4>
|
||||
<ul>
|
||||
<li><a href="#marker">Marker</a></li>
|
||||
@ -54,7 +54,7 @@ bodyclass: api-page
|
||||
<li><a href="#circlemarker">CircleMarker</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span-3">
|
||||
<div class="toc-col">
|
||||
<h4>Other Layers</h4>
|
||||
<ul>
|
||||
<li><a href="#layergroup">LayerGroup</a></li>
|
||||
@ -79,7 +79,7 @@ bodyclass: api-page
|
||||
<li><a href="#control-scale">Scale</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span-3">
|
||||
<div class="toc-col">
|
||||
<h4>Events</h4>
|
||||
<ul>
|
||||
<li><a href="#events">Event methods</a></li>
|
||||
@ -102,7 +102,7 @@ bodyclass: api-page
|
||||
<li><a href="#draggable">Draggable</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span-3 last">
|
||||
<div class="toc-col last-col">
|
||||
<h4>Interfaces</h4>
|
||||
<ul>
|
||||
<li><a href="#ihandler">IHandler</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user