add galleries
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user