add galleries

This commit is contained in:
rzen
2020-09-06 22:09:23 -04:00
parent e3a9b3fb41
commit 9a79558814
10 changed files with 120 additions and 13 deletions

View File

@ -204,13 +204,13 @@ main {
}
img {
border-radius: 4px;
border-radius: 6px;
// width: 100%;
}
}
p img {
border-radius: 4px;
border-radius: 6px;
width: 100%;
}
@ -241,11 +241,43 @@ main {
margin-bottom: 1em;
img {
// width: 45%;
width: 100%;
height: 200px;
// height: 200px;
float: left;
}
div.images {
img {
cursor: pointer;
border-radius: 6px;
display: none;
transition: all .3s ease;
}
img:first-child {
display: block;
}
}
nav {
width: 100%;
text-align: center;
i {
cursor: pointer;
margin: .5rem;
display: inline-block;
width: 1rem;
height: 1rem;
border-radius: .5rem;
transition: all .3s ease;
background-color: hsl($hue,10,80);
&.selected {
background-color: hsl($hue,50,40);
}
}
}
}
div.gallery + p {