Skip to content

Commit e7e721b

Browse files
authored
Merge pull request #1135 from MastanSayyad/main
Create Basic Website Template
2 parents 7b77c25 + d544a2f commit e7e721b

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed

Website/index.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Machine Learning Repositories</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<header>
11+
<h1>Machine Learning Repos</h1>
12+
<nav>
13+
<ul>
14+
<li><a href="#">Home</a></li>
15+
<li><a href="#">About</a></li>
16+
<li><a href="#">Organization</a></li>
17+
<li><a href="#">FAQ</a></li>
18+
<li><a href="#">Contact</a></li>
19+
</ul>
20+
</nav>
21+
</header>
22+
23+
<main>
24+
<section>
25+
<h2>Welcome to the Machine Learning Repositories</h2>
26+
<p>This website provides an overview of various machine learning repositories available on GitHub, brought to you by the RecodeHive organization.</p>
27+
<a href="https://github.com/recodehive/machine-learning-repos" class="cta-button">Visit the Repository</a>
28+
</section>
29+
</main>
30+
31+
<footer>
32+
<p>&copy; 2024 Machine Learning Repos - <a href="https://github.com/recodehive">RecodeHive</a>. All rights reserved.</p>
33+
</footer>
34+
35+
<script src="js/script.js"></script>
36+
</body>
37+
</html>

Website/styles.css

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
margin: 0;
4+
padding: 0;
5+
background-color: #f4f4f4;
6+
overflow-y: auto; /* Ensure vertical scrollbar appears if needed */
7+
}
8+
9+
::-webkit-scrollbar {
10+
width: 10px; /* Set the width of the scrollbar */
11+
}
12+
13+
::-webkit-scrollbar-track {
14+
background: #f4f4f4; /* Background color of the track */
15+
}
16+
17+
::-webkit-scrollbar-thumb {
18+
background: #007bff; /* Color of the scrollbar thumb */
19+
border-radius: 5px; /* Round the corners of the scrollbar thumb */
20+
}
21+
22+
::-webkit-scrollbar-thumb:hover {
23+
background: #0056b3; /* Darker color on hover */
24+
}
25+
26+
header {
27+
background-color: #333;
28+
color: white;
29+
padding: 10px 0;
30+
display: flex;
31+
justify-content: space-between;
32+
align-items: center;
33+
padding: 20px 20px;
34+
}
35+
36+
header h1 {
37+
margin: 0;
38+
text-align: left;
39+
}
40+
41+
nav ul {
42+
list-style: none;
43+
padding: 0;
44+
margin: 0;
45+
display: flex;
46+
}
47+
48+
nav ul li {
49+
margin: 0 15px;
50+
}
51+
52+
nav ul li a {
53+
color: white;
54+
text-decoration: none;
55+
font-weight: bold;
56+
}
57+
58+
main {
59+
padding: 20px;
60+
text-align: center;
61+
}
62+
63+
.cta-button {
64+
display: inline-block;
65+
padding: 10px 20px;
66+
background-color: #007bff;
67+
color: white;
68+
text-decoration: none;
69+
border-radius: 5px;
70+
margin-top: 20px;
71+
}
72+
73+
footer {
74+
background-color: #333;
75+
color: white;
76+
text-align: center;
77+
padding: 10px 0;
78+
position: fixed;
79+
width: 100%;
80+
bottom: 0;
81+
}
82+
83+
footer a {
84+
text-decoration: none;
85+
color: #f4f4f4;
86+
}

0 commit comments

Comments
 (0)