diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-14 09:02:30 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-14 09:02:30 +0200 |
| commit | 1ab3c69aa13e7406112a55f83e873bea6b4ea817 (patch) | |
| tree | cd33108f17af0c8062eefca328b4eff90eba58b3 | |
| parent | 3293b44e1e52d09dbafde0f49b11fbe531c0f8c6 (diff) | |
Revert "Remove now-dead code for kawaii grill images"
This reverts commit 79fbcfb4a236650b2ee48569729947878e997466.
| -rw-r--r-- | css/pomf.css | 8 | ||||
| -rw-r--r-- | static/grill.php | 17 |
2 files changed, 21 insertions, 4 deletions
diff --git a/css/pomf.css b/css/pomf.css index 676845e..75e7130 100644 --- a/css/pomf.css +++ b/css/pomf.css @@ -34,11 +34,11 @@ * PAGE LAYOUT */ body { - background-attachment: fixed; + background-attachment: fixed, fixed; background-color: #F7F7F7; - background-image: url('img/bg.png'); - background-position: top left; - background-repeat: repeat; + background-image: url('grill.php'), url('img/bg.png'); + background-position: 85% 100%, top left; + background-repeat: no-repeat, repeat; color: #333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; diff --git a/static/grill.php b/static/grill.php new file mode 100644 index 0000000..5984b12 --- /dev/null +++ b/static/grill.php @@ -0,0 +1,17 @@ +<?php + +$images = array( + 'img/2.png', + 'img/3.png', + 'img/4.png', + 'img/5.png', + 'img/6.png', + 'img/7.png', + 'img/8.png', + 'img/9.png', + 'img/10.png', +); + +if (headers_sent() === false) { + header('Location: '.$images[array_rand($images)], true, 303); +} |
