yet more mobile improvements.
This commit is contained in:
@@ -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
24
styles/project-card.css
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user