complete rewrite of gallery system
originally we had a gallery grid and we just changed its contents but this meant we had to load new images on click which took time to do, instead we download all the images at runtime and just hide them
This commit is contained in:
parent
35972190b9
commit
0aa06dff80
4 changed files with 54 additions and 64 deletions
|
@ -76,7 +76,7 @@ h1{
|
|||
font-size: clamp(1rem, 1.2vw, 3rem);
|
||||
}
|
||||
|
||||
#programGallery{
|
||||
.programGallery{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
grid-template-rows: repeat(10, 1fr);
|
||||
|
@ -246,7 +246,7 @@ h1{
|
|||
font-size: clamp(2rem, 4vw, 5rem);
|
||||
}
|
||||
|
||||
#programGallery{
|
||||
.programGallery{
|
||||
width: 92vw;
|
||||
|
||||
margin-left: 4vw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue