Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkboycode authored Jul 7, 2024
1 parent 376b180 commit 7224c41
Show file tree
Hide file tree
Showing 95 changed files with 4,946 additions and 0 deletions.
43 changes: 43 additions & 0 deletions about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.about-me-section {
position: fixed;
left: 145px;
top: 45%;
width: 50%;
transform: translateY(-40%);
font-family: 'Ubuntu Sans', sans-serif;
color: white;
text-align: left;
z-index: 23;
transition: left 0.5s ease;
}

.about-me-section.hidden {
left: -100%;
}

.about-me-header {
font-size: 100px;
font-weight: 900;
margin: 0;
}

.about-me-text {
font-size: 20px;
font-weight: 100;
margin: 10px 0 0 0;
opacity: 0.5;
line-height: 30px;
}

#aboutmePic {
position: fixed;
right: 0;
width: auto;
height: 85%;
bottom: 0px;
transition: bottom 0.5s ease;
}

#aboutmePic.hidden {
bottom: -100%;
}
118 changes: 118 additions & 0 deletions book.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
.books-container {
position: fixed;
z-index: 5;
top: 85%;
left: 170px;
transition: left 0.5s ease;
}

.book-container {
display: flex;
align-items: center;
position: fixed;
z-index: 2;
margin: 0;
user-select: none;
transition: margin 0.4s ease-in-out;
}

.book-container img {
width: 400px;
height: auto;
left: 0;
position: relative;
margin-right: -300px;
transform-origin: right;
transition: transform 0.5s ease, left 0.5s ease;
transform: skewY(15deg);
box-shadow: 20px 10px 20px rgba(0,0,0,1);
border-radius: 7px;
margin-left: 0;
}

.book-container.active {
cursor: grabbing;
left: 0;
}

.book-container img:hover {
transform: skewY(15deg) translateY(-100px);
cursor: pointer;
}

.book-container img.clicked {
transform: skewY(15deg) translateY(-350px);
left: 0;
}

.book-container img:nth-child(1) {
z-index: 20;
}

.book-container img:nth-child(2) {
z-index: 19;
}

.book-container img:nth-child(3) {
z-index: 18;
}

.book-container img:nth-child(4) {
z-index: 17;
}

.book-container img:nth-child(5) {
z-index: 16;
}

.book-container img:nth-child(6) {
z-index: 15;
}

.book-container img:nth-child(7) {
z-index: 14;
}

.book-container img:nth-child(8) {
z-index: 13;
}

.book-container img:nth-child(9) {
z-index: 12;
}

.book-container img:nth-child(10) {
z-index: 11;
}

.book-container img:nth-child(11) {
z-index: 10;
}

.book-container img:nth-child(12) {
z-index: 9;
}

.book-container img:nth-child(13) {
z-index: 8;
}

.book-container img:nth-child(14) {
z-index: 7;
}

.book-container img:nth-child(15) {
z-index: 6;
}

.books {
position: fixed;
top: 150px;
left: 170px;
color: white;
font-size: 100px;
font-weight: 900;
z-index: 21;
opacity: 1;
transition: opacity 0.2s ease, left 0.5s ease;
}
Loading

0 comments on commit 7224c41

Please sign in to comment.