-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
65 lines (63 loc) · 1.6 KB
/
index.php
File metadata and controls
65 lines (63 loc) · 1.6 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<?php include 'include.php'; ?>
<head>
<title>Inspire</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- include google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=OpenSans:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;1,300&display=swap" rel="stylesheet">
<style>
body {
background-size: cover;
background-image: url(<?php echo $url ?>);
}
p {
font-family: 'Open Sans', sans-serif;
font-size: 3rem;
color: blanchedalmond;
text-shadow: 2px 2px #0f0f0f;
text-align: center;;
position: absolute;
top: 33%;
left: 50%;
transform: translate(-50%, -50%);
}
h1 {
font-family: 'Open Sans', sans-serif;
font-size: 2rem;
color: aliceblue;
text-shadow: 2px 2px #0f0f0f;
}
footer{
text-align: right;
color: aliceblue;
font-size: 1.5em;
width: 100%;
bottom: 20%;
right: 20%;
position: absolute;
text-shadow: 2px 2px #0f0f0f;
}
a {
color: aliceblue;
}
</style>
</head>
<body>
<h1><center>
<?php echo $series ?>
</center></h1>
<p>
<?php echo $quote ?><br>
</p>
<footer>
<a href="<?php echo $link_author; ?>"><?php echo "Quote Author: " . $quote_author; ?></a>
<br>
Image Author: <?php echo $img_author ?>
</footer>
</body>
</html>