Skip to content

Commit fb4db36

Browse files
committed
better sponsor image grid
1 parent 669fc03 commit fb4db36

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

.jekyll-metadata

0 Bytes
Binary file not shown.

_tabs/support.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Greg accepts financial support via GitHub Sponsors which encourages him to work
1010

1111
The following kind individuals and organizations currently support Greg:
1212

13-
[![@xqrzd](https://github.com/xqrzd.png){: w="50" h="50" }](https://github.com/xqrzd)
14-
[![@michaelstaib](https://github.com/michaelstaib.png){: w="50" h="50" }](https://github.com/michaelstaib)
15-
[![@ChilliCream](https://github.com/ChilliCream.png){: w="50" h="50" }](https://github.com/ChilliCream)
13+
<div class="sponsors" markdown=1>
14+
15+
[![@xqrzd](https://github.com/xqrzd.png)](https://github.com/xqrzd)
16+
[![@michaelstaib](https://github.com/michaelstaib.png)](https://github.com/michaelstaib)
17+
[![@ChilliCream](https://github.com/ChilliCream.png)](https://github.com/ChilliCream)
18+
19+
</div>

assets/css/style.scss

+23
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,26 @@ code.highlighter-rouge {
6363
table {
6464
width: -webkit-fill-available;
6565
}
66+
67+
.sponsors>p>a {
68+
/*Tooltip will be positioned relative to this*/
69+
position: relative;
70+
}
71+
72+
/*Tooltip magic*/
73+
.sponsors img:hover:after {
74+
display: block;
75+
content: attr(alt);
76+
position: absolute;
77+
bottom: 5px;
78+
background-color: rgba(200, 200, 200, 0.8);
79+
border-radius:2px;
80+
padding:2px;
81+
}
82+
83+
.sponsors img {
84+
width: 50px;
85+
height: 50px;
86+
border-radius: 25px;
87+
margin: 2px;
88+
}

0 commit comments

Comments
 (0)