Skip to content

Commit

Permalink
sponsors: embed Babiel SVG & add dynamic style for light/dark modes
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Sep 16, 2021
1 parent 5cc7958 commit c984fa0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
11 changes: 9 additions & 2 deletions _sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
max-width: 400px;
}

.silver img[src$=".svg"] {
.silver img[src$=".svg"], .silver svg {
width: 400px;
height: auto;
}

.gold {
Expand All @@ -30,6 +31,10 @@
padding-bottom: 10px;
text-align: center;
}

a:hover, svg:hover, img:hover {
background-color: transparent;
}
</style>
</head>

Expand Down Expand Up @@ -98,7 +103,9 @@
<div class="silver"><p> <a href="https://ipinfo.io/" rel="sponsored"><img src="pix/silver/ipinfo.svg" alt="ipinfo"></a></div>
<!-- Silver via other means -->
<div class="silver"><p> <a href="https://www.airlock.com/" rel="sponsored"><img src="pix/silver/airlock.svg" alt="Airlock"></a></div>
<div class="silver"><p> <a href="https://www.babiel.com/" rel="sponsored"><img src="pix/silver/babiel.svg" alt="Babiel"></a></div>
<div class="silver"><p> <a href="https://www.babiel.com/" rel="sponsored" aria-label="Babiel">
#include "pix/silver/babiel.svg"
</a></div>

<!---- Silver end ----->
<div style="clear: both;"></div>
Expand Down
13 changes: 12 additions & 1 deletion pix/silver/babiel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c984fa0

Please sign in to comment.