Update README

This commit is contained in:
Hakan Ensari 2012-11-21 13:06:51 +00:00
parent 663f0a038b
commit 9b77466273

View File

@ -29,25 +29,22 @@
background: -ms-linear-gradient(left, #fff 0%, #eee 100%); background: -ms-linear-gradient(left, #fff 0%, #eee 100%);
background: -moz-linear-gradient(left, #fff 0%, #eee 100%); background: -moz-linear-gradient(left, #fff 0%, #eee 100%);
background: -webkit-linear-gradient(left, #fff 0%, #eee 100%); background: -webkit-linear-gradient(left, #fff 0%, #eee 100%);
color: #333;
font: 15px/1.5 'Open Sans', sans-serif;
} }
#wrapper { #wrapper {
margin: 5% auto; margin: 0 auto;
max-width: 680px; max-width: 460px;
padding: 20px; padding: 10px;
} }
header { header {
padding-bottom: 30px; padding: 3em 0;
} }
header h1 { header h1 {
font: bold 36px/1.25 'Open Sans', sans-serif; font: bold 36px/1.25 'Open Sans', sans-serif;
} }
section { p {
padding-top: 24px; padding-bottom: 1em;
}
.doc {
color: #333;
font: 15px/1.5 'Open Sans', sans-serif;
padding-right: 50px;
} }
code { code {
border-radius: 5px; border-radius: 5px;
@ -57,8 +54,8 @@
border: 1px solid #ccc; border: 1px solid #ccc;
display: block; display: block;
font-size: 11px; font-size: 11px;
padding: 10px; margin-bottom: 2em;
width: 360px; padding: 1em;
} }
code:before { code:before {
color: #006ce1; color: #006ce1;
@ -72,28 +69,32 @@
<h1>Fixer: A JSON and JSONP API for exchange rates</h1> <h1>Fixer: A JSON and JSONP API for exchange rates</h1>
</header> </header>
<section class="doc"> <p>
<p> Get the latest foreign exchange reference rates, quoted against the
Get the latest foreign exchange reference rates, quoted against the euro.
euro. </p>
</p> <code>
</section> curl http://fixer.io/latest
<section class="sample"> </code>
<code>
curl http://fixer.io/latest
</code>
</section>
<section class="doc"> <p>
<p> Quote against another currency.
</p>
<code>
curl http://fixer.io/latest?base=USD
</code>
<p>
Get a historical snapshot. Get a historical snapshot.
</p> </p>
</section> <code>
<section class="sample"> curl http://fixer.io/2000-01-03
<code> </code>
curl http://fixer.io/2000-01-03
</code> <p>
</section> We source the rates from the European Central Bank and
<a href="http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html">update daily by 2pm UTC</a>.
</p>
</div> </div>
</body> </body>