This is an automated email from the ASF dual-hosted git repository. martyntaylor pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/activemq-website.git
commit 1a4d3331687920246b6788238e789ce000bb5816 Author: Michael André Pearce <michael.andre.pea...@me.com> AuthorDate: Sat Aug 18 00:28:23 2018 +0100 Manage feature images size by css Add css max width and height Add some extra images, to check css is limiting image sizes of a selection of images. --- _includes/features.html | 4 ++-- assets/img/features/ha-replicated.png | Bin 0 -> 35590 bytes assets/img/features/protocols.png | Bin 0 -> 208929 bytes css/main.scss | 5 +++++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/features.html b/_includes/features.html index b15a99f..ce3ad41 100644 --- a/_includes/features.html +++ b/_includes/features.html @@ -33,7 +33,7 @@ <div class="card-body"> <div class="row"> <div class="col-sm-12 col-lg-12 feature-img"> - <img src="/assets/img/features/protocol-translation.png"></img> + <img src="/assets/img/features/protocols.png"></img> </div> <div class="col-sm-12 col-lg-12 feature-narative"> <p>Applications and deployment environments are varied @@ -95,7 +95,7 @@ <div class="card-body"> <div class="row"> <div class="col-sm-12 col-lg-12 feature-img"> - <img src="/assets/img/features/protocol-translation.png"></img> + <img src="/assets/img/features/ha-replicated.png"></img> </div> <div class="col-sm-12 col-lg-12 feature-narative"> <p>Applications and deployment environments are varied diff --git a/assets/img/features/ha-replicated.png b/assets/img/features/ha-replicated.png new file mode 100644 index 0000000..ef9648b Binary files /dev/null and b/assets/img/features/ha-replicated.png differ diff --git a/assets/img/features/protocols.png b/assets/img/features/protocols.png new file mode 100644 index 0000000..3db8e81 Binary files /dev/null and b/assets/img/features/protocols.png differ diff --git a/css/main.scss b/css/main.scss index 39a497a..6e56362 100644 --- a/css/main.scss +++ b/css/main.scss @@ -288,6 +288,11 @@ h6 { padding-bottom: 30px; } +.feature-img > img { + max-height: 150px; + max-width: 250px; +} + .features .container .card { background: none; }