Project-closer+css images projects
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
This commit is contained in:
parent
c569fa0140
commit
0badd67b46
8 changed files with 99 additions and 63 deletions
|
|
@ -9,18 +9,31 @@
|
|||
body {
|
||||
}
|
||||
|
||||
.project-slideshow {
|
||||
.project-slideshow-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100vw;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
height: var(--slider-height);
|
||||
button.all-projects-closer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.project-slideshow img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
|
||||
.project-slideshow {
|
||||
inset: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
picture {
|
||||
inset: 0;
|
||||
position: absolute;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-title {
|
||||
|
|
@ -54,7 +67,7 @@
|
|||
padding-top: var(--font-size-XL);
|
||||
}
|
||||
|
||||
main:has(ul li.selected) {
|
||||
main:has(nav li.selected) {
|
||||
top: var(--slider-height);
|
||||
padding-top: 0;
|
||||
}
|
||||
|
|
@ -70,7 +83,7 @@
|
|||
nav.filter-menu:has(+ ul li.selected) {
|
||||
}
|
||||
|
||||
ul.projects-index {
|
||||
nav.projects-index {
|
||||
padding-top: var(--line-height-S);
|
||||
position: absolute;
|
||||
width: calc(100vw - (var(--body-margin) * 3));
|
||||
|
|
@ -104,6 +117,12 @@
|
|||
|
||||
.mobile-menu {
|
||||
display: flex;
|
||||
ul {
|
||||
font-size: var(--font-size-L);
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
header:hover ~ main {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue