diff --git a/gallery.css b/gallery.css new file mode 100644 index 0000000..e2ecca8 --- /dev/null +++ b/gallery.css @@ -0,0 +1,10 @@ +* { box-sizing: border-box; } +html { background-color: #2c3e50; color: #eee; } +.wrapper { max-width: 1284px; margin: 0 auto; } +a { color: #00aced; } +ul.gallery { background-color: #eee; padding: 0; } +ul.gallery li { display: inline-block; list-style-type: none; outline: 2px solid #00aced; background-color: #000; } +ul.gallery li a { text-decoration: none; } +ul.gallery li a:hover { color: yellow; } +ul.gallery li p { font-size: large; text-align: center; color: #fff; } +ul.gallery li img { max-width: 100%; } \ No newline at end of file diff --git a/generate.php b/generate.php new file mode 100644 index 0000000..0bb7924 --- /dev/null +++ b/generate.php @@ -0,0 +1,52 @@ + + + + + tilde.town gallery + + + + +
+

tilde.town gallery

+

by Severák

+

I really like Neocities browse page. I was wondering how would it look for tilde.town.

+

So here is it:

+
+ + +HTML; + + +file_put_contents('download.bat', implode(PHP_EOL, $download)); +file_put_contents('index.html', implode(PHP_EOL, $gallery)); + +echo 'OK - generated index.html + download.bat' . PHP_EOL; \ No newline at end of file