-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththank_you.css
155 lines (132 loc) · 2.98 KB
/
thank_you.css
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #ffffff;
color: #333;
line-height: 1.2;
display: flex;
justify-content: center; /* Centers the content horizontally */
align-items: center; /* Centers the content vertically */
min-height: 100vh; /* Full viewport height */
flex-direction: column; /* Stack header, main, and footer */
}
/* Header Styles */
header {
background: linear-gradient(75deg, #d10d3e, #bfba1a);
color: white;
padding: 30px;
text-align: center;
width: 100%; /* Ensure header takes full width */
}
header h1 {
margin: 0;
font-size: 4em;
}
/* Navigation Bar */
nav {
display: flex;
justify-content: center;
background-color: #333;
padding: 10px 0;
}
nav a {
color: white;
text-decoration: none;
padding: 14px 20px;
font-weight: 600;
transition: background 0.3s;
}
nav a:hover {
background-color: #ff7e5f;
border-radius: 5px;
}
/* Footer Styles */
footer {
background-color: #333;
color: white;
padding: 15px 0;
text-align: center;
margin-top: 40px;
font-size: 0.9em;
width: 100%; /* Ensure footer takes full width */
}
footer p {
margin: 3% 0;
}
footer a {
color: white;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
}
footer a:hover {
color: #ff7e5f;
}
/* Main Content */
main {
padding: 20px;
max-width: 800px;
margin: 20px auto; /* Centers content horizontally with some margin */
text-align: center;
width: 100%; /* Ensure it takes up full width of container */
}
/* Receipt Container */
.receipt-container {
background: #b9b9b9;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.receipt-container h2 {
font-size: 2em;
margin-bottom: 20px;
}
.receipt-container .restaurant-info p,
.receipt-container .order-details p {
font-size: 1.2em;
margin: 10px 0;
}
.receipt-container table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
.receipt-container table thead {
background: #f8552d;
color: white;
}
.receipt-container table th,
.receipt-container table td {
padding: 12px;
text-align: center;
border: 1px solid #ddd;
}
.receipt-container table th {
font-size: 1em;
}
.receipt-container table tbody tr:nth-child(odd) {
background: #f9f9f9;
}
.receipt-container table tbody tr:nth-child(even) {
background: #e2e2e2;
}
.receipt-container table tfoot {
font-weight: bold;
background: #f0f0f0;
}
.receipt-container button {
background: #f8552d;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 1em;
cursor: pointer;
transition: background 0.3s;
}
.receipt-container button:hover {
background: #bfba1a;
}
footer {
margin-top: 40px;
}