From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/seastar/fmt/doc/bootstrap/thumbnails.less | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/seastar/fmt/doc/bootstrap/thumbnails.less (limited to 'src/seastar/fmt/doc/bootstrap/thumbnails.less') diff --git a/src/seastar/fmt/doc/bootstrap/thumbnails.less b/src/seastar/fmt/doc/bootstrap/thumbnails.less new file mode 100644 index 00000000..0713e67d --- /dev/null +++ b/src/seastar/fmt/doc/bootstrap/thumbnails.less @@ -0,0 +1,36 @@ +// +// Thumbnails +// -------------------------------------------------- + + +// Mixin and adjust the regular image class +.thumbnail { + display: block; + padding: @thumbnail-padding; + margin-bottom: @line-height-computed; + line-height: @line-height-base; + background-color: @thumbnail-bg; + border: 1px solid @thumbnail-border; + border-radius: @thumbnail-border-radius; + .transition(border .2s ease-in-out); + + > img, + a > img { + &:extend(.img-responsive); + margin-left: auto; + margin-right: auto; + } + + // Add a hover state for linked versions only + a&:hover, + a&:focus, + a&.active { + border-color: @link-color; + } + + // Image captions + .caption { + padding: @thumbnail-caption-padding; + color: @thumbnail-caption-color; + } +} -- cgit v1.2.3