Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishxn20 committed Jun 4, 2024
1 parent 6328daa commit 3791d47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Binary file added assets/images/Unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions assets/scripts/ProjectCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,7 @@ var createAddProjectCardComp = function (container) {
AddProjectCardComp = document.createElement('div');
AddProjectCardComp.classList.add('add-project-card');
AddProjectCardComp.innerHTML = `
<button>
<img src="assets/icons/plus.png">
<strong><p>New Project</p></strong>
</button>
<button id="addProjButton">+</button>
`;
AddProjectCardComp.style = `
align-self: top;
Expand Down
21 changes: 12 additions & 9 deletions assets/styles/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,21 @@ body, html {

/* MAIN SECTION SELECTORS */
#addProjButton {
position: absolute;
top: 95px; /* Adjusted top position */
left: 45px; /* Adjusted left position */
background-color: #0000FF;
color: white;
position: fixed;
top: 90px; /* Adjust this value to position the button lower or higher */
left: 20px; /* Adjust this value to position the button more to the right or left */
color: white; /* Button text color */
border: none;
padding: 4px 4px; /* Smaller size */
border-radius: 5px;
font-size: 36px; /* Increase the size of the plus sign */
font-weight: bold; /* Make the plus sign bold */
cursor: pointer;
background-color: transparent; /* Transparent background */
transition: background-color 0.3s;
z-index: 1000; /* Ensure it stays on top of other elements */
display: flex; /* Center the plus sign */
align-items: center; /* Center the plus sign */
justify-content: center; /* Center the plus sign */
line-height: 1; /* Adjust line height */
}

#addProjButton:hover {
Expand Down Expand Up @@ -160,7 +165,6 @@ button p {
margin: 0px;
}


/* BACKGROUND */
.stars, .twinkling, .clouds {
position:absolute;
Expand Down Expand Up @@ -197,7 +201,6 @@ button p {
to {background-position:10000px 0;}
}


/* MEDIA QUERY FOR TABLETS */
@media (max-width: 837px) {
.main {
Expand Down

0 comments on commit 3791d47

Please sign in to comment.