yet more mobile improvements.

This commit is contained in:
Hunter W.
2026-06-20 18:07:14 -04:00
parent 7169f76ddc
commit c09094b968
6 changed files with 93 additions and 87 deletions

View File

@@ -1,33 +1,40 @@
.gallery-full-screen-portal {
transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
opacity: 0;
}
.gallery-action-button {
position: absolute;
cursor: pointer;
display: flex;
padding: 0;
}
.gallery-action-button button {
width: 28;
height: 28;
border-radius: var(--radius-sm);
border: 1px solid var(--accent);
background: var(--surface);
color: var(--fg);
cursor: pointer;
display: flex;
background-color: var(--surface);
align-items: center;
justify-content: center;
padding: 0;
color: var(--fg);
z-index: 1001;
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease;
margin-right: 0.3em;
}
.gallery-action-button:hover {
background: var(---surface-hover);
.gallery-action-button button:hover {
filter:brightness(120%)
}
.action-button-svg {
stroke: var(--fg-secondary);
}
@media (max-width: 768px) {
.project-card {
height: 100%;
max-height: 80vh;
}
}

24
styles/project-card.css Normal file
View File

@@ -0,0 +1,24 @@
.project-card{
p {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
text-overflow: ellipsis;
overflow:hidden;
}
}
.project-card-title-year-box {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12;
}
@media (max-width: 768px) {
.project-card-title-year-box {
flex-direction: column;
}
}