Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 43 additions & 30 deletions Website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<title>Machine Learning Repositories</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="logo.png" type="image/png"> <!-- Added favicon -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<header>
Expand All @@ -31,8 +32,14 @@

<main>
<section class="welcome-section">
<h2>Welcome to the Machine Learning Repositories</h2>
<p>Explore a curated collection of diverse machine learning repositories available on GitHub, presented by the RecodeHive community.</p>
<div class="container">
<div>
<div>
<h1 class="welcome-title">Welcome to <span class="highlight">Machine Learning Repositories</span></h1>
<p class="welcome-description">Explore a curated collection of diverse machine learning repositories available on GitHub, presented by the <span> <a href="https://github.com/recodehive"> RecodeHive </a></span>community.</p>
</div>
</div>
</div>
</section>

<!-- Toggle button for Repository Statistics -->
Expand All @@ -41,35 +48,41 @@ <h2>Welcome to the Machine Learning Repositories</h2>
</section>

<!-- Statistics Cards -->
<section id="statistics-cards">
<h2>Repository Statistics</h2>
<div class="stats-grid">
<div class="stat-card">
<h3>Total Stars</h3>
<p id="total-stars">Loading...</p>
</div>
<div class="stat-card">
<h3>Total Forks</h3>
<p id="total-forks">Loading...</p>
</div>
<div class="stat-card">
<h3>Open Issues</h3>
<p id="open-issues">Loading...</p>
</div>
<div class="stat-card">
<h3>License</h3>
<p id="license">Loading...</p>
</div>
<div class="stat-card">
<h3>Repository Size</h3>
<p id="repo-size">Loading...</p>
</div>
<div class="stat-card">
<h3>Most Used Language</h3>
<p id="most-used-language">Loading...</p>
</div>
<section id="statistics-cards">
<h2>Repository Statistics</h2>
<div class="stats-grid">
<div class="stat-card">
<i class="fas fa-star stat-icon"></i>
<h3>Total Stars</h3>
<p id="total-stars">Loading...</p>
</div>
</section>
<div class="stat-card">
<i class="fas fa-code-branch stat-icon"></i>
<h3>Total Forks</h3>
<p id="total-forks">Loading...</p>
</div>
<div class="stat-card">
<i class="fas fa-exclamation-circle stat-icon"></i>
<h3>Open Issues</h3>
<p id="open-issues">Loading...</p>
</div>
<div class="stat-card">
<i class="fas fa-balance-scale stat-icon"></i>
<h3>License</h3>
<p id="license">Loading...</p>
</div>
<div class="stat-card">
<i class="fas fa-database stat-icon"></i>
<h3>Repository Size</h3>
<p id="repo-size">Loading...</p>
</div>
<div class="stat-card">
<i class="fas fa-code stat-icon"></i>
<h3>Most Used Language</h3>
<p id="most-used-language">Loading...</p>
</div>
</div>
</section>

<!-- Languages -->
<section id="languages">
Expand Down
136 changes: 112 additions & 24 deletions Website/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Ensure full height of the body and remove margin/padding */
html, body {
html,
body {
height: 100%;
margin: 0;
padding: 0;
Expand All @@ -13,7 +14,7 @@ body {
}

header {
background-color: #333;
background-color: #333;
padding: 10px 20px;
}

Expand All @@ -26,7 +27,8 @@ header {
.logo-container {
display: flex;
align-items: center;
margin-right: 20px; /* Adds space between logo and links */
margin-right: 20px;
/* Adds space between logo and links */
}

.brand-name {
Expand All @@ -37,34 +39,66 @@ header {
.nav-links {
list-style: none;
display: flex;
flex-grow: 1; /* Makes the nav links take up available space */
justify-content: flex-end; /* Align links to the left */
gap: 50px; /* Adds space between each link */
flex-grow: 1;
/* Makes the nav links take up available space */
justify-content: flex-end;
/* Align links to the left */
gap: 50px;
/* Adds space between each link */
margin-left: 20px;
right: 10px; /* Adjust this value for the gap between logo and links */
right: 10px;
/* Adjust this value for the gap between logo and links */
}

.nav-links a {
text-decoration: none;
color: #f1f1f1;
font-weight: bold;
white-space: nowrap; /* Prevents wrapping of links */
white-space: nowrap;
/* Prevents wrapping of links */
}

.nav-links a:hover{
.nav-links a:hover {
text-decoration: underline;
}

main {
padding: 20px;
flex: 1; /* Makes main content take up the remaining space */
flex: 1;
/* Makes main content take up the remaining space */
}


.welcome-section {
text-align: center;
margin-bottom: 30px;
}

.welcome-title {
font-size: 37px;
}

.welcome-description {
font-size : 22px;
width:60%;
margin: auto;
}

.welcome-description a {
text-decoration: none;
color: black;
font-weight: 600;
}

.welcome-description a:hover {
text-decoration: underline;
cursor: pointer;
}
.highlight {
color: rgb(3, 3, 122);
text-shadow: rgb(183, 189, 248) 1px 0 10px;
}

h2 {
font-size: 2em;
margin-bottom: 20px;
Expand All @@ -80,7 +114,8 @@ button#toggle-stats {
margin: 0 auto 20px auto;
padding: 10px 20px;
font-size: 1.1em;
background-color: #1a1a5e; /* Dark blue button */
background-color: #1a1a5e;
/* Dark blue button */
color: #f1f1f1;
border: none;
cursor: pointer;
Expand All @@ -94,7 +129,6 @@ button#toggle-stats:hover {
#statistics-cards {
display: none;
text-align: center;
color: black;
}

.stats-grid {
Expand All @@ -105,19 +139,65 @@ button#toggle-stats:hover {
}

.stat-card {
background-color: white;
background-color: #050066;
/* background: linear-gradient(130deg, #473eed, #04004c); */
padding: 20px;
border-radius: 8px;
width: 150px;
text-align: center;
margin-bottom: 20px;
color: #fff;
text-shadow: 1px 1px 2px rgb(0, 10, 150), 0 0 1em rgb(34, 174, 255), 0 0 0.5em rgb(0, 221, 255);
transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.stat-card:hover {
/* background-color: #1a1d29; */
background: linear-gradient(135deg, #090293, #040054);
/* background: linear-gradient(135deg, #473eed, #04004c); */
transform: scale(1.05);
text-shadow: 1px 1px 2px rgb(233, 0, 202), 0 0 1em rgb(34, 174, 255), 0 0 0.5em rgb(0, 221, 255);
cursor: pointer;
}


.stat-card h3 {
font-size: 1.2em;
margin-bottom: 10px;
}

.stat-card p {
font-size: 18px;
color: rgb(243, 206, 1);
text-shadow: none;
font-weight: 500;
}

.stat-icon {
font-size: 2.7em;
margin-bottom: 10px;
color: rgb(255, 255, 255);
text-shadow: none;
transition: all 0.3s ease-in-out;
}


.stat-card:hover h3 {
color: #ffffff;
}
.stat-card:hover p {
color: yellow;
font-weight: 500;

}

.stat-card:hover .stat-icon
{
color: white;
text-shadow: 1px 1px 2px rgb(233, 0, 202), 0 0 1em rgb(34, 174, 255), 0 0 0.5em rgb(0, 221, 255);
color: rgb(255, 213, 98);

}
#languages {
text-align: center;
margin-bottom: 30px;
Expand All @@ -128,25 +208,30 @@ button#toggle-stats:hover {
padding: 0;
display: inline-block;
text-align: center;
column-count: 4; /* Adjust this value to increase or decrease the number of columns */
column-gap: 40px; /* Space between columns */
column-count: 4;
/* Adjust this value to increase or decrease the number of columns */
column-gap: 40px;
/* Space between columns */
}

#language-list li {
margin: 10px 0;
text-align: left; /* Align text to the left within each column */
text-align: left;
/* Align text to the left within each column */
}


/* Footer stays at the bottom */
.footer {
background-color: #121245; /* Dark blue for footer */
background-color: #121245;
/* Dark blue for footer */
color: #f1f1f1;
padding: 20px;
text-align: center;
margin-top: auto;
}
#footer-link{

#footer-link {
color: white
}

Expand All @@ -155,15 +240,17 @@ button#toggle-languages {
margin: 20px auto;
padding: 10px 20px;
font-size: 1.1em;
background-color: #1a1a5e; /* Dark blue button */
background-color: #1a1a5e;
/* Dark blue button */
color: #f1f1f1;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}

button#toggle-languages:hover {
background-color: #2a2a7e; /* Lighter blue on hover */
background-color: #2a2a7e;
/* Lighter blue on hover */
}

#repo-list {
Expand All @@ -188,7 +275,7 @@ button#toggle-languages:hover {
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
flex: 1 1 calc(33.333% - 20px);
flex: 1 1 calc(33.333% - 20px);
max-width: calc(33.333% - 20px);
padding: 20px;
box-sizing: border-box;
Expand All @@ -199,6 +286,7 @@ button#toggle-languages:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card .btn-view-repo {
display: inline-block;
padding: 0.5rem 1rem;
Expand All @@ -209,8 +297,8 @@ button#toggle-languages:hover {
font-size: 0.875rem;
}

.card .btn-view-repo:hover{
background-color:#2a2a7e;
.card .btn-view-repo:hover {
background-color: #2a2a7e;
}


Expand All @@ -223,7 +311,7 @@ button#toggle-languages:hover {

@media (max-width: 480px) {
.card {
flex: 1 1 100%;
flex: 1 1 100%;
max-width: 100%;
}
}