Commit 3dc0ed35 authored by Zlatan Vasović's avatar Zlatan Vasović

Use nesting for thumbnail styles

parent 99ffa282
......@@ -14,18 +14,17 @@
margin-left: auto;
margin-right: auto;
}
}
// Add a hover state for linked versions only
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
border-color: @link-color;
}
// Add a hover state for linked versions only
a&:hover,
a&:focus,
a&.active {
border-color: @link-color;
}
// Image captions
.thumbnail .caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
// Image captions
.caption {
padding: @thumbnail-caption-padding;
color: @thumbnail-caption-color;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment