Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nojimage
Last active July 8, 2019 04:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojimage/85e4212008440f937acab11c34750f5f to your computer and use it in GitHub Desktop.
Save nojimage/85e4212008440f937acab11c34750f5f to your computer and use it in GitHub Desktop.
<?php $p=$_GET;krsort($p);arsort($p);$v=array_values($p);echo str_replace('{t}',htmlspecialchars(strrev($v[2]??'')),bzdecompress(file_get_contents('v.bz2')));
<!DOCTYPE html>
<style>
body,html{height:100vh;background-color:#fff;color:#465560;font-family:sans-serif;font-feature-settings:"pkna";letter-spacing:.04em;font-size:1rem;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{font-size:1rem}*{box-sizing:border-box;padding:0;margin:0}table{width:100%;height:100%}html{box-sizing:border-box;-webkit-text-size-adjust:100%}td{text-align:center;height:50%;width:5%}h1{font-weight:400;margin:0}.w{width:80%}.h{height:10%}
</style><body><table border=0 cellspacing=0>
<tr><td bgcolor=#147ecc>&nbsp;</td><td>&nbsp;</td><td class=w><table>
<tr><td class=h>&nbsp;</td></tr>
<tr><td style=height:80%><img src=mc.png width=100%><h1>{t}</h1></td></tr>
<tr><td class=h>&nbsp;</td></tr></table></td><td>&nbsp;</td><td bgcolor=#147ecc>&nbsp;
@nojimage
Copy link
Author

vはbzip2圧縮

@nojimage
Copy link
Author

あと改行とかで数バイト削れそうだけどこれぐらいで。

@nojimage
Copy link
Author

58728 (コード: 738 + 画像: 57990)

@nojimage
Copy link
Author

nojimage commented Jul 1, 2019

58655 (コード: 665 + 画像: 57990)
tableレイアウトやめたいけどdivだとずれる…

@nojimage
Copy link
Author

nojimage commented Jul 8, 2019

画像ファイル
mc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment