-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
executable file
·37 lines (33 loc) · 1.27 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php include "comicslib.php"; ?>
<html>
<head>
<title>mincomixsite demo</title>
<style>
* { margin:0; padding:0; -webkit-text-size-adjust:100%; font-family:Arial, Verdana, serif; }
BODY { text-align:center; margin-bottom:30px; }
IMG { max-width:800px; }
.pageHeader { margin-left:auto; margin-right:auto; text-align:center; margin-bottom:30px; }
.pageHeader H1 { font-size:6em; margin-top:10px; }
.pageHeader H2 { font-size:2em; margin-bottom:20px; margin-top:10px; }
.links { display:block; margin-top:30px; }
.links A { width:75px; height:50px; background-color:black; color:white; display:inline-block;
border-color:gray; text-decoration:none; margin:25px; font-size:2em;
font-weight:bold; padding-top:0.5em; }
.links A:hover { color:gray; }
</style>
</head>
<body>
<div class="pageHeader">
<h1>mincomixsite</h1>
<h2>tagline for <a href="https://github.com/codercowboy/mincomixsite">mincomixsite</a> demo</h2>
</div>
<img src="<?= $currentComicImage ?>"/>
<div class="links">
<a href="?comic=first">< <</a>
<a href="?comic=<?= $previousComicDate ?>"><</a>
<a href="?comic=<?= $nextComicDate ?>">></a>
<a href="?comic=last">> ></a>
</div>
</body>
<!-- Powered by mincomixsite (https://github.com/codercowboy/mincomixsite) -->
</html>