Skip to content

Commit

Permalink
Merge branch 'Main' into Add-HangMan-Game
Browse files Browse the repository at this point in the history
  • Loading branch information
rutikakengal authored Jan 16, 2025
2 parents 65f5552 + 64a111a commit 41bc4c2
Show file tree
Hide file tree
Showing 41 changed files with 18,182 additions and 66 deletions.
129 changes: 65 additions & 64 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ html {
width: 100%;
height: 100%;
z-index: -1;
filter: blur(5px);
}

.content {
Expand All @@ -20,119 +21,119 @@ html {
padding: 20px;
}

#bgCanvas {
filter: blur(5px);
}

@media(max-width:426px) {
.links table tbody tr td{
padding: 8px 4px;
.links table tbody tr td {
padding: 6px 2px; /* Reduce padding for smaller screens */
}
}

@media(max-width:330px) {
.links table tbody tr td{
.links table tbody tr td {
padding-left: 2px;
padding-right: 2px;
}
}

.links table tbody tr .project-name{
padding: 8px 7px;
}
.links table tbody tr .project-name {
padding: 6px 4px; /* Reduce padding for project names */
}

.links table tbody tr td a{
.links table tbody tr td a {
margin-left: 4px;
}

}
}

/* Add hover effect for links */
.links table tbody tr td a:hover {
color: #007BFF; /* Change color on hover */
text-decoration: underline; /* Highlight links */
}

/* Base styles */
body {
font-family: sans-serif;
background-color: #181818; /* Dark gray background */
color: #ffffff; /* White text color */
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: sans-serif;
background-color: #181818; /* Dark gray background */
color: #ffffff; /* White text color */
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}

/* Header styles */
header {
background-color: #2ecc71; /* Teal color */
color: #ffffff; /* White text */
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #2ecc71; /* Teal color */
color: #ffffff; /* White text */
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}

header h1 {
margin: 0;
font-size: 2rem; /* Adjust font size as needed */
margin: 0;
font-size: 2rem; /* Adjust font size as needed */
}

header nav {
display: flex;
gap: 1rem;
display: flex;
gap: 1rem;
}

header a {
color: #ffffff;
text-decoration: none;
color: #ffffff;
text-decoration: none;
}

/* Main content styles */
main {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

main h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: #ffffff; /* White heading text */
font-size: 3rem;
margin-bottom: 1rem;
color: #ffffff; /* White heading text */
}

/* Search bar styles */
#search-bar {
display: flex;
margin-bottom: 2rem;
display: flex;
margin-bottom: 2rem;
}

#searchInput {
padding: 1rem;
border-radius: 5px;
border: none;
background-color: #0d0d0d; /* Dark gray input background */
color: #f5eeee; /* White input text */
flex-grow: 1;
padding: 1rem;
border-radius: 5px;
border: none;
background-color: #0d0d0d; /* Dark gray input background */
color: #f5eeee; /* White input text */
flex-grow: 1;
}

#searchButton {
padding: 1rem 1.5rem;
background-color: #2ecc71; /* Teal button color */
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
height: 24px;
padding: 1rem 1.5rem;
background-color: #2ecc71; /* Teal button color */
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
height: 24px;
}

/* No projects message */s
/* No projects message */
#no-projects {
text-align: center;
margin-top: 2rem;
text-align: center;
margin-top: 2rem;
}

/* Footer styles */
footer {
background-color: #222222;
padding: 1rem;
text-align: center;
color: #f3eeee; /* Light gray footer text */
}
background-color: #222222;
padding: 1rem;
text-align: center;
color: #f3eeee; /* Light gray footer text */
}
2 changes: 2 additions & 0 deletions index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/Slide puzzle Game/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Slide puzzle Game/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions public/Slide puzzle Game/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Slide puzzle Game</title>
<link rel="stylesheet" href="puzzle.css">
<script src="puzzle.js"></script>
</head>
<body>
<img id="title" src="./img/logo.png" alt="">
<div id="board"></div>
<h1><span id="turns">0</span></h1>
<h1 id="time">Time Left: 05:00</h1>
</body>
</html>
32 changes: 32 additions & 0 deletions public/Slide puzzle Game/puzzle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body{
font-family:Arial, Helvetica, sans-serif;
text-align: center;
color: #0c67a6;
}

#title{
height: 150px;
width: 400px;
}

#board{
width: 360px;
height: 360px;
background-color: lightblue;
margin: 0 auto;
border: 10px solid #0c67a6;
display: flex;
flex-wrap: wrap;
}
#board img{
width: 118px;
height: 118px;
border:1px solid #0c67a6;

}

#time {
/* margin: -31rem; */
margin-top: -34rem;
margin-left: 50rem;
}
Loading

0 comments on commit 41bc4c2

Please sign in to comment.