portfolio : require thumbnail and improve mobile style. closes #27
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m30s
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m30s
This commit is contained in:
parent
2bd531f7b2
commit
65821bddf4
3 changed files with 16 additions and 3 deletions
|
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4.1 MiB |
|
|
@ -93,6 +93,7 @@ columns:
|
|||
thumbnail:
|
||||
label: Vignette
|
||||
type: files
|
||||
required: true
|
||||
layout: cards
|
||||
size: small
|
||||
max: 1
|
||||
|
|
|
|||
|
|
@ -405,6 +405,11 @@
|
|||
z-index: var(--z-content);
|
||||
}
|
||||
|
||||
.portfolio-mockup--horizontal {
|
||||
grid-area: 8/4 / span 8 / span 14;
|
||||
scale: 1.2;
|
||||
}
|
||||
|
||||
.portfolio-mockup :global(.portfolio-mockup-img) {
|
||||
height: auto;
|
||||
}
|
||||
|
|
@ -461,10 +466,17 @@
|
|||
.portfolio-nav-item button {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
transform: scale(1) !important;
|
||||
transition: all .3s ease-in-out;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.portfolio-nav-item.active button {
|
||||
transform: scale(1.15);
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
.portfolio-nav-item:hover button {
|
||||
|
|
@ -472,8 +484,8 @@
|
|||
}
|
||||
|
||||
.portfolio-nav-item img {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.portfolio-nav-number {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue