SamuraiGhost commited on
Commit
b0f0c65
·
verified ·
1 Parent(s): f8486b5

make it look more professional

Browse files
Files changed (1) hide show
  1. banking.html +184 -55
banking.html CHANGED
@@ -7,93 +7,209 @@
7
  <link rel="stylesheet" href="style.css">
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9
  <style>
 
 
 
 
 
 
 
 
10
  body {
11
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12
- background-color: #f5f7fa;
13
  margin: 0;
14
  padding: 0;
 
 
15
  }
 
16
  .banking-header {
17
- background-color: #0056b3;
18
  color: white;
19
- padding: 20px;
20
  text-align: center;
 
 
 
 
 
 
 
21
  }
 
 
 
 
 
 
 
22
  .account-summary {
23
- display: flex;
24
- justify-content: space-around;
25
- margin: 20px;
26
- flex-wrap: wrap;
27
  }
 
28
  .account-card {
29
  background: white;
30
- border-radius: 10px;
31
- padding: 20px;
32
- width: 250px;
33
- box-shadow: 0 4px 8px rgba(0,0,0,0.1);
34
- margin: 10px;
35
  }
36
- .transaction-history {
37
- background: white;
38
- margin: 20px;
39
- padding: 20px;
40
- border-radius: 10px;
41
- box-shadow: 0 4px 8px rgba(0,0,0,0.1);
42
  }
43
- table {
44
- width: 100%;
45
- border-collapse: collapse;
 
 
46
  }
47
- th, td {
48
- padding: 12px;
49
- text-align: left;
50
- border-bottom: 1px solid #ddd;
 
 
 
 
 
 
51
  }
 
52
  .quick-actions {
53
  display: flex;
54
  justify-content: center;
55
- margin: 20px;
 
56
  flex-wrap: wrap;
57
  }
 
58
  .action-btn {
59
- background: #0056b3;
60
  color: white;
61
  border: none;
62
- padding: 15px 25px;
63
- margin: 10px;
64
- border-radius: 5px;
65
  cursor: pointer;
66
- font-size: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  }
68
  </style>
69
  </head>
 
70
  <body>
71
  <div class="banking-header">
72
- <h1><i class="fas fa-university"></i> Online Banking</h1>
 
73
  </div>
74
-
 
75
  <div class="account-summary">
76
  <div class="account-card">
77
  <h3>Checking Account</h3>
78
- <p>Balance: $5,432.10</p>
79
- <p>Account: •••• 4567</p>
 
80
  </div>
81
  <div class="account-card">
82
  <h3>Savings Account</h3>
83
- <p>Balance: $12,345.67</p>
84
- <p>Account: •••• 8910</p>
 
85
  </div>
86
  <div class="account-card">
87
  <h3>Credit Card</h3>
88
- <p>Balance: $1,234.56</p>
89
- <p>Available: $5,000.00</p>
 
90
  </div>
91
  </div>
92
-
93
  <div class="quick-actions">
94
- <button class="action-btn"><i class="fas fa-exchange-alt"></i> Transfer</button>
95
  <button class="action-btn"><i class="fas fa-money-bill-wave"></i> Pay Bills</button>
96
- <button class="action-btn"><i class="fas fa-piggy-bank"></i> Deposit</button>
 
97
  </div>
98
 
99
  <div class="transaction-history">
@@ -106,24 +222,37 @@
106
  <th>Status</th>
107
  </tr>
108
  <tr>
109
- <td>05/15/2023</td>
110
- <td>Grocery Store</td>
111
- <td>-$125.34</td>
112
- <td>Completed</td>
 
 
 
 
 
 
 
 
 
 
 
 
113
  </tr>
114
  <tr>
115
- <td>05/14/2023</td>
116
- <td>Salary Deposit</td>
117
- <td>+$3,500.00</td>
118
- <td>Completed</td>
119
  </tr>
120
  <tr>
121
- <td>05/12/2023</td>
122
- <td>Utility Bill</td>
123
- <td>-$85.67</td>
124
- <td>Completed</td>
125
  </tr>
126
  </table>
127
  </div>
 
128
  </body>
129
  </html>
 
7
  <link rel="stylesheet" href="style.css">
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9
  <style>
10
+ :root {
11
+ --primary-color: #0056b3;
12
+ --secondary-color: #003366;
13
+ --accent-color: #007bff;
14
+ --light-gray: #f8f9fa;
15
+ --dark-gray: #343a40;
16
+ }
17
+
18
  body {
19
+ font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
20
+ background-color: var(--light-gray);
21
  margin: 0;
22
  padding: 0;
23
+ color: #333;
24
+ line-height: 1.6;
25
  }
26
+
27
  .banking-header {
28
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
29
  color: white;
30
+ padding: 25px 20px;
31
  text-align: center;
32
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
33
+ }
34
+
35
+ .banking-header h1 {
36
+ margin: 0;
37
+ font-weight: 500;
38
+ font-size: 2.2rem;
39
  }
40
+
41
+ .container {
42
+ max-width: 1200px;
43
+ margin: 30px auto;
44
+ padding: 0 20px;
45
+ }
46
+
47
  .account-summary {
48
+ display: grid;
49
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
50
+ gap: 20px;
51
+ margin-bottom: 30px;
52
  }
53
+
54
  .account-card {
55
  background: white;
56
+ border-radius: 8px;
57
+ padding: 25px;
58
+ box-shadow: 0 4px 12px rgba(0,0,0,0.05);
59
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
60
+ border-top: 4px solid var(--accent-color);
61
  }
62
+
63
+ .account-card:hover {
64
+ transform: translateY(-5px);
65
+ box-shadow: 0 6px 16px rgba(0,0,0,0.1);
 
 
66
  }
67
+
68
+ .account-card h3 {
69
+ color: var(--dark-gray);
70
+ margin-top: 0;
71
+ font-weight: 500;
72
  }
73
+
74
+ .account-card p {
75
+ margin: 8px 0;
76
+ color: #666;
77
+ }
78
+
79
+ .account-card .balance {
80
+ font-size: 1.5rem;
81
+ font-weight: 500;
82
+ color: var(--primary-color);
83
  }
84
+
85
  .quick-actions {
86
  display: flex;
87
  justify-content: center;
88
+ gap: 15px;
89
+ margin: 30px 0;
90
  flex-wrap: wrap;
91
  }
92
+
93
  .action-btn {
94
+ background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
95
  color: white;
96
  border: none;
97
+ padding: 12px 24px;
98
+ border-radius: 6px;
 
99
  cursor: pointer;
100
+ font-size: 1rem;
101
+ font-weight: 500;
102
+ transition: all 0.3s ease;
103
+ display: flex;
104
+ align-items: center;
105
+ gap: 8px;
106
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
107
+ }
108
+
109
+ .action-btn:hover {
110
+ transform: translateY(-2px);
111
+ box-shadow: 0 4px 8px rgba(0,0,0,0.15);
112
+ }
113
+
114
+ .action-btn i {
115
+ font-size: 1.1rem;
116
+ }
117
+
118
+ .transaction-history {
119
+ background: white;
120
+ border-radius: 8px;
121
+ box-shadow: 0 4px 12px rgba(0,0,0,0.05);
122
+ padding: 25px;
123
+ margin-bottom: 30px;
124
+ }
125
+
126
+ .transaction-history h2 {
127
+ margin-top: 0;
128
+ color: var(--dark-gray);
129
+ font-weight: 500;
130
+ padding-bottom: 15px;
131
+ border-bottom: 1px solid #eee;
132
+ }
133
+
134
+ table {
135
+ width: 100%;
136
+ border-collapse: collapse;
137
+ }
138
+
139
+ th {
140
+ background-color: var(--light-gray);
141
+ color: var(--dark-gray);
142
+ font-weight: 500;
143
+ padding: 15px;
144
+ text-align: left;
145
+ }
146
+
147
+ td {
148
+ padding: 15px;
149
+ border-bottom: 1px solid #eee;
150
+ color: #555;
151
+ }
152
+
153
+ tr:hover {
154
+ background-color: rgba(0,86,179,0.03);
155
+ }
156
+
157
+ .positive {
158
+ color: #28a745;
159
+ font-weight: 500;
160
+ }
161
+
162
+ .negative {
163
+ color: #dc3545;
164
+ font-weight: 500;
165
+ }
166
+
167
+ .status {
168
+ padding: 5px 10px;
169
+ border-radius: 4px;
170
+ font-size: 0.85rem;
171
+ font-weight: 500;
172
+ }
173
+
174
+ .status.completed {
175
+ background-color: rgba(40,167,69,0.1);
176
+ color: #28a745;
177
  }
178
  </style>
179
  </head>
180
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
181
  <body>
182
  <div class="banking-header">
183
+ <h1><i class="fas fa-university"></i> Premier Banking</h1>
184
+ <p>Welcome back, John Doe</p>
185
  </div>
186
+
187
+ <div class="container">
188
  <div class="account-summary">
189
  <div class="account-card">
190
  <h3>Checking Account</h3>
191
+ <p class="balance">$5,432.10</p>
192
+ <p><i class="fas fa-wallet"></i> •••• 4567</p>
193
+ <p><small>Available balance: $5,432.10</small></p>
194
  </div>
195
  <div class="account-card">
196
  <h3>Savings Account</h3>
197
+ <p class="balance">$12,345.67</p>
198
+ <p><i class="fas fa-piggy-bank"></i> •••• 8910</p>
199
+ <p><small>APY: 0.50%</small></p>
200
  </div>
201
  <div class="account-card">
202
  <h3>Credit Card</h3>
203
+ <p class="balance">$1,234.56</p>
204
+ <p><i class="fas fa-credit-card"></i> •••• 3456</p>
205
+ <p><small>Available credit: $5,000.00</small></p>
206
  </div>
207
  </div>
 
208
  <div class="quick-actions">
209
+ <button class="action-btn"><i class="fas fa-exchange-alt"></i> Transfer Funds</button>
210
  <button class="action-btn"><i class="fas fa-money-bill-wave"></i> Pay Bills</button>
211
+ <button class="action-btn"><i class="fas fa-piggy-bank"></i> Make Deposit</button>
212
+ <button class="action-btn"><i class="fas fa-chart-line"></i> Investments</button>
213
  </div>
214
 
215
  <div class="transaction-history">
 
222
  <th>Status</th>
223
  </tr>
224
  <tr>
225
+ <td>May 15, 2023</td>
226
+ <td>Whole Foods Market</td>
227
+ <td class="negative">-$125.34</td>
228
+ <td><span class="status completed">Completed</span></td>
229
+ </tr>
230
+ <tr>
231
+ <td>May 14, 2023</td>
232
+ <td>ACME Corporation - Salary</td>
233
+ <td class="positive">+$3,500.00</td>
234
+ <td><span class="status completed">Completed</span></td>
235
+ </tr>
236
+ <tr>
237
+ <td>May 12, 2023</td>
238
+ <td>Pacific Gas & Electric</td>
239
+ <td class="negative">-$85.67</td>
240
+ <td><span class="status completed">Completed</span></td>
241
  </tr>
242
  <tr>
243
+ <td>May 10, 2023</td>
244
+ <td>Netflix Subscription</td>
245
+ <td class="negative">-$14.99</td>
246
+ <td><span class="status completed">Completed</span></td>
247
  </tr>
248
  <tr>
249
+ <td>May 8, 2023</td>
250
+ <td>Starbucks Coffee</td>
251
+ <td class="negative">-$6.75</td>
252
+ <td><span class="status completed">Completed</span></td>
253
  </tr>
254
  </table>
255
  </div>
256
+ </div> <!-- Close container div -->
257
  </body>
258
  </html>