-
Notifications
You must be signed in to change notification settings - Fork 0
/
homepage.php
141 lines (129 loc) · 4.08 KB
/
homepage.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
nav {
width: 100%;
background-color: hsl(203, 69%, 32%);
height: 75px;
line-height: 75px;
padding: 0px 120px;
text-align: center;
border-bottom: none;
}
nav h1 {
font-size: 36px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: aliceblue;
text-transform: uppercase;
}
/* Added CSS for the centered hover button */
.center-button {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.center-button a {
display: inline-block;
padding: 12px 24px;
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 24px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.center-button a:hover {
background-color: hsl(212, 87%, 52%);
}
/* Updated CSS to position the social icons */
.social-icons {
position: fixed;
bottom: 0px;
right: 0px;
display: flex;
gap: 10px;
color: black;
font-size: 40px; /* Adjust the font size for bigger icons */
text-decoration: none;
}
.social-icons a {
display: flex;
justify-content: center;
align-items: center;
width: 60px;
height: 60px;
background-color: #FFF;
color: black;
border-radius: 50%;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.social-icons a:hover {
transform: scale(1.2);
background-color: #fff;
}
/* Added CSS to position the image */
.image-container {
width: 1500px;
position: relative;
margin-top: 75px; /* Adjusted margin to leave space for the nav bar */
}
.image-container img {
width: 100%;
display: block;
}
/* Added CSS to position the text after the image */
.made-by-text {
position: absolute;
top: 900px;
width: 100%;
text-align: center;
font-size: 25px;
color: black;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: bold;
text-align: center;
}
</style>
</head>
<body>
<nav>
<h1>Sparks Bank</h1>
</nav>
<div class="image-container">
<img src="images/bank.png" alt="Bank Image">
<div class="center-button">
<a href="cards.php">Get Started</a>
</div>
<div class="made-by-text">
@.Made by Deepak
</div>
</div>
<div class="social-icons">
<a href="https://github.com/TechSavvyMind"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/y-lakshmi-deepak-847b31227/"><i class="fab fa-linkedin"></i></a>
</div>
</body>
</html>