diff --git a/public/index.html b/public/index.html index f137fc4..3e1a27e 100644 --- a/public/index.html +++ b/public/index.html @@ -29,25 +29,22 @@ background: -ms-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%); + color: #333; + font: 15px/1.5 'Open Sans', sans-serif; } #wrapper { - margin: 5% auto; - max-width: 680px; - padding: 20px; + margin: 0 auto; + max-width: 460px; + padding: 10px; } header { - padding-bottom: 30px; + padding: 3em 0; } header h1 { font: bold 36px/1.25 'Open Sans', sans-serif; } - section { - padding-top: 24px; - } - .doc { - color: #333; - font: 15px/1.5 'Open Sans', sans-serif; - padding-right: 50px; + p { + padding-bottom: 1em; } code { border-radius: 5px; @@ -57,8 +54,8 @@ border: 1px solid #ccc; display: block; font-size: 11px; - padding: 10px; - width: 360px; + margin-bottom: 2em; + padding: 1em; } code:before { color: #006ce1; @@ -72,28 +69,32 @@

Fixer: A JSON and JSONP API for exchange rates

-
-

- Get the latest foreign exchange reference rates, quoted against the - euro. -

-
-
- - curl http://fixer.io/latest - -
+

+ Get the latest foreign exchange reference rates, quoted against the + euro. +

+ + curl http://fixer.io/latest + -
-

+

+ Quote against another currency. +

+ + curl http://fixer.io/latest?base=USD + + +

Get a historical snapshot. -

-
-
- - curl http://fixer.io/2000-01-03 - -
+

+ + curl http://fixer.io/2000-01-03 + + +

+ We source the rates from the European Central Bank and + update daily by 2pm UTC. +