diff --git a/index.php b/index.php index dd80341..8588bc5 100644 --- a/index.php +++ b/index.php @@ -44,7 +44,7 @@ if( !$match || !is_callable( $match['target'] ) || false === call_user_func_arra try { } catch (Exception $e) { header($_SERVER["SERVER_PROTOCOL"]." 500 Server Error", true, 500); - echo 'There was some problem generating that for you.'; + echo '

500 Server Error

There was a problem generating this page

'; return true; } diff --git a/views/index.php b/views/index.php index f087e22..36a8e0b 100644 --- a/views/index.php +++ b/views/index.php @@ -12,7 +12,7 @@ } body { font-family: sans-serif; - line-height: 1.25rem; + line-height: 1.25; margin: 0 auto; box-sizing: border-box; color: white; @@ -48,11 +48,10 @@ code { display: inline-block; padding: 0.1em; - margin: -0.1em; - border: 1px dashed rgba(0,0,0,0.2); + border: 1px dashed black; font-size: 1.2em; - line-height: 1.25rem; - background-color: black; + background-color: rgba(0,0,0,0.75); + background-clip: padding-box; } img { max-width: 100%; @@ -64,6 +63,11 @@ padding: 0 2rem 2rem; } + + + + +
@@ -80,7 +84,7 @@

Build your own chart:

The URL is flexible:
- http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}.

+ http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}

Theme: dark or light. (More planned)

Currency: anything active on Poloniex. Prices are all in bitcoin.

Timespan: 7d or 24h. (More planned)