-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (99 loc) · 2.72 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<title>Railway Management System</title>
<style>
/* Add some basic styling to make it look nice */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0; /* Light gray background */
background-image: linear-gradient(to bottom, #f0f0f0, #ccc); /* Gradient background */
}
h1 {
color: #333; /* Dark gray text */
font-size: 48px;
margin-bottom: 10px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Text shadow */
}
p {
font-size: 18px;
margin-bottom: 20px;
color: #666; /* Darker gray text */
}
a {
text-decoration: none;
color: #337ab7; /* Blue link color */
}
a:hover {
color: #23527c; /* Darker blue on hover */
}
/* Add some graphics and layout styling */
.container {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #fff; /* White background */
border: 1px solid #ddd; /* Light gray border */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
border-radius: 10px; /* Rounded corners */
}
.logo {
width: 150px;
height: 150px;
margin: 20px auto;
background-image: url('train-logo.png'); /* Replace with your logo image */
background-size: contain;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
}
.button {
display: inline-block;
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
color: #fff;
background-color: #337ab7; /* Blue button color */
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
}
.button:hover {
background-color: #23527c; /* Darker blue on hover */
}
/* Add some graphics elements */
.train {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background-image: url('train-icon.png'); /* Replace with your train icon image */
background-size: contain;
border-radius: 50%;
animation: move 3s infinite; /* Animate the train moving */
}
@keyframes move {
0% {
transform: translate(-50%, -50%) translateX(0);
}
100% {
transform: translate(-50%, -50%) translateX(100%);
}
}
</style>
</head>
<body>
<div class="container">
<div class="logo"></div>
<h1>Railway Management System</h1>
<p>Welcome to the Railway Management System!</p>
<p>
<a href="/register" class="button">Register</a>
<a href="/login" class="button">Login</a>
</p>
<div class="train"></div>
</div>
</body>
</html>