summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Heber <gheber@hdfgroup.org>2022-07-29 12:20:55 (GMT)
committerGitHub <noreply@github.com>2022-07-29 12:20:55 (GMT)
commit33f6ade6e77ed85442f001fa32924127455aca39 (patch)
tree014fc252e0295fe0318caeb78f61c97960277471
parent05077d378464ab8aa424b2f91b2b422353d644d3 (diff)
downloadhdf5-33f6ade6e77ed85442f001fa32924127455aca39.zip
hdf5-33f6ade6e77ed85442f001fa32924127455aca39.tar.gz
hdf5-33f6ade6e77ed85442f001fa32924127455aca39.tar.bz2
Fixes #1946 (#1947)
-rw-r--r--doxygen/hdf5doxy.css15
1 files changed, 12 insertions, 3 deletions
diff --git a/doxygen/hdf5doxy.css b/doxygen/hdf5doxy.css
index 60fa38b..639843d 100644
--- a/doxygen/hdf5doxy.css
+++ b/doxygen/hdf5doxy.css
@@ -244,7 +244,16 @@ a {
padding: 2px 1px 0;
}
-a[href*="http"] {
- background: url('https://mdn.mozillademos.org/files/12982/external-link-52.png') no-repeat 100% 0;
- background-size: 12px 12px;
+a[href^="http"]::after,
+a[href^="https://"]::after
+{
+ content: "";
+ width: 11px;
+ height: 11px;
+ margin-left: 4px;
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: contain;
+ display: inline-block;
}