mirror of
https://github.com/seigler/cryptohistory.org
synced 2025-07-27 09:46:10 +00:00
style fixes
This commit is contained in:
parent
7f00d09e1e
commit
654a9cd51f
2 changed files with 11 additions and 7 deletions
|
@ -44,7 +44,7 @@ if( !$match || !is_callable( $match['target'] ) || false === call_user_func_arra
|
||||||
try {
|
try {
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
header($_SERVER["SERVER_PROTOCOL"]." 500 Server Error", true, 500);
|
header($_SERVER["SERVER_PROTOCOL"]." 500 Server Error", true, 500);
|
||||||
echo 'There was some problem generating that for you.';
|
echo '<h1>500 Server Error</h1><p>There was a problem generating this page</p>';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: 1.25rem;
|
line-height: 1.25;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -48,11 +48,10 @@
|
||||||
code {
|
code {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0.1em;
|
padding: 0.1em;
|
||||||
margin: -0.1em;
|
border: 1px dashed black;
|
||||||
border: 1px dashed rgba(0,0,0,0.2);
|
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
line-height: 1.25rem;
|
background-color: rgba(0,0,0,0.75);
|
||||||
background-color: black;
|
background-clip: padding-box;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -64,6 +63,11 @@
|
||||||
padding: 0 2rem 2rem;
|
padding: 0 2rem 2rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<meta name="twitter:card" content="summary" />
|
||||||
|
<meta name="twitter:site" content="@seiglerj" />
|
||||||
|
<meta name="twitter:title" content="Cryptohistory : Charts" />
|
||||||
|
<meta name="twitter:description" content="Embeddable SVG and PNG cryptocurrency charts" />
|
||||||
|
<meta name="twitter:image" content="http://cryptohistory.org/charts/dark/dash-btc/24h/svg" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -80,7 +84,7 @@
|
||||||
<section>
|
<section>
|
||||||
<h2>Build your own chart:</h2>
|
<h2>Build your own chart:</h2>
|
||||||
<p>The URL is flexible:<br>
|
<p>The URL is flexible:<br>
|
||||||
<code>http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}</code>.</p>
|
<code>http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}</code></p>
|
||||||
<p>Theme: <code>dark</code> or <code>light</code>. (More planned)</p>
|
<p>Theme: <code>dark</code> or <code>light</code>. (More planned)</p>
|
||||||
<p>Currency: anything active on Poloniex. Prices are all in bitcoin.</p>
|
<p>Currency: anything active on Poloniex. Prices are all in bitcoin.</p>
|
||||||
<p>Timespan: <code>7d</code> or <code>24h</code>. (More planned)</p>
|
<p>Timespan: <code>7d</code> or <code>24h</code>. (More planned)</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue