File size: 2,448 Bytes
f332108 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
.project-menu {
width: 45rem;
position: fixed;
display: flex;
top: 25%;
left: 50%;
transform: translateX(-50%);
}
.project-items-container {
flex-direction: column;
display: flex;
position: relative;
width: 40%;
margin-top: 12rem;
align-items: flex-end;
}
.project-item {
height: 3.75rem;
width: 90%;
display: flex;
position: relative;
justify-content: flex-end;
align-items: center;
cursor: pointer;
}
.project-item.activeProject .title {
font-size: 1.5rem;
}
.activeProject {
border-radius: var(--radius-left);
cursor: default;
}
.project-item.activeProject:nth-child(1) {
background: linear-gradient(270deg, #ffffff00, var(--purple) 70%);
}
.project-item.activeProject:nth-child(2) {
background: linear-gradient(270deg, #ffffff00, var(--blue) 70%);
}
.project-item.activeProject:nth-child(3) {
background: linear-gradient(270deg, #ffffff00, var(--cyan) 70%);
}
.project-sub-container {
width: 60%;
margin-top: 2rem;
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.project-sub-container h3 {
position: relative;
margin: 0;
}
.project-sub-container img {
width: 100%;
object-fit: cover;
border-radius: 0.5rem 3rem 0.5rem 0.5rem;
opacity: 0.9;
}
.project-sub-container p {
font-size: 0.875rem;
}
.link-container a {
color: white;
text-decoration: none;
margin-top: 1rem;
width: 50%;
height: 2.75rem;
text-align: center;
}
.link-container {
display: flex;
justify-content: space-around;
}
@media (max-width: 1100px) {
.project-menu {
width: 28rem;
top: 20%;
transform: translateX(-50%);
}
.project-item {
height: 2rem;
width: 100%;
}
.project-item.activeProject .title {
font-size: 1rem;
}
.title {
font-size: 0.8rem;
}
}
@media (max-width: 700px) {
.project-menu {
width: 28rem;
flex-direction: column;
align-items: center;
}
.project-menu p {
font-size: 0.7rem;
}
.project-sub-container {
margin-top: 1rem;
width: 12rem;
}
.project-sub-container img {
width: 12rem;
}
.link-container a {
margin-top: 0.5rem;
width: 50%;
height: 2rem;
}
.project-items-container {
margin-top: 0;
}
} |