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
1 change: 1 addition & 0 deletions blocks/page/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ html,
font-family: "Manrope", Arial, Verdana, Tahoma, sans-serif;
height: 100vh;
margin: 0;
overflow: hidden;
}

.page ::selection {
Expand Down
30 changes: 16 additions & 14 deletions blocks/projects/projects.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,29 @@
overflow-x: hidden;
overflow-y: auto;
position: absolute;
scrollbar-color: var(--c1) var(--c0);
scrollbar-width: thin;
width: 100%;
}

.projects__inner > div {
pointer-events: all;
.projects__inner::-webkit-scrollbar {
width: 0.5em;
}

.projects__inner::-webkit-scrollbar-track {
background-color: var(--c0);
}

.projects__inner::-webkit-scrollbar-thumb {
background-color: var(--c1);
outline: none;
}

.projects__project-card {
background-position: 0 var(--projects--scroll-top);
height: var(--w);
margin-bottom: 10px;
margin-left: calc(50vh - 0.5 * var(--h) - 60px);

/*
Fix for Firefox: Smooth scrolling makes the background tremble.
With a slight transition, it's a little bit less.
*/
transition: background-position 0.01s;
width: var(--h);
}

Expand All @@ -41,15 +46,12 @@
flex-wrap: nowrap;
height: calc(0.15 * var(--w));
justify-content: flex-start;
left: calc(50vh + 0.5 * (var(--h) + 75px));
pointer-events: all;
position: absolute;
top: calc(0.3 * var(--w));
right: calc(1px - (100vw - 0.3175 * var(--w)));
top: calc(0.26 * var(--w));
transform: rotate(90deg);
transform-origin: top left;

/* width: calc(100vw - 0.3 * var(--w)); */
width: 0;
width: calc(100vw - 0.3 * var(--w));
z-index: 1;
}

Expand Down