-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (82 loc) · 2.33 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice Header</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f0f0f0;
}
.container {
max-width: 797px; /* Adjust this value based on your preference */
margin: auto; /* Centers the container */
}
.header {
background-color: white;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo {
display: flex;
align-items: center;
}
.logo img {
width: 320px;
height: 50px;
object-fit: contain;
}
.status {
text-align: right;
}
.unpaid {
color: #ff4500;
font-weight: bold;
}
.due-date {
margin: 5px 0;
color: #666;
}
.pay-now {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
text-decoration: none;
display: inline-block;
border-radius: 5px;
}
.main-image {
display: flex;
justify-content: center; /* Centers the child img horizontally */
}
.main-image img {
max-width: 100%;
height: auto;
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds shadow to the image */
}
</style>
</head>
<body>
<div class="container"> <!-- Wraps both header and main image -->
<div class="header">
<div class="logo">
<img src="logo.png" alt="Company Logo">
</div>
<div class="status">
<div class="unpaid">Unpaid</div>
<div class="due-date">Due Date: 19th Sep 2024</div>
<a href="payment-invoice3332223939-u38982833-i8282-gfdui33.html" class="pay-now">Pay Now</a>
</div>
</div>
<div class="main-image">
<img src="invoice.png" alt="Invoice Image">
</div>
</div>
</body>
</html>