Create reusable class for Photo
This commit is contained in:
@@ -251,30 +251,6 @@
|
||||
|
||||
// Photo
|
||||
.photo {
|
||||
overflow: hidden;
|
||||
border-radius: 6px;
|
||||
background: $color-primary-tertiary20;
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
display: block;
|
||||
height: 100%;
|
||||
cursor: zoom-in;
|
||||
|
||||
& > picture {
|
||||
height: 100%;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Photo sizes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user