<div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;background:#000000;color:#202122;text-align:center;"><a href="//commons.wikimedia.org/wiki/File:Disc_Plain_white.svg" class="image"><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Disc_Plain_white.svg/15px-Disc_Plain_white.svg.png" decoding="async" width="15" height="15" style="vertical-align: middle" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Disc_Plain_white.svg/23px-Disc_Plain_white.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Disc_Plain_white.svg/30px-Disc_Plain_white.svg.png 2x" data-file-width="460" data-file-height="460"></a></div> <a href="https://en.wikipedia.org/wiki/Hydrogen" class="extiw" title="en:Hydrogen">Hydrogen</a></div>
<div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;background:#000000;color:#202122;text-align:center;"><a href="//commons.wikimedia.org/wiki/File:Disc_Plain_grey.svg" class="image"><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Disc_Plain_grey.svg/15px-Disc_Plain_grey.svg.png" decoding="async" width="15" height="15" style="vertical-align: middle" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Disc_Plain_grey.svg/23px-Disc_Plain_grey.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Disc_Plain_grey.svg/30px-Disc_Plain_grey.svg.png 2x" data-file-width="460" data-file-height="460"></a></div> <a href="https://en.wikipedia.org/wiki/Carbon" class="extiw" title="en:Carbon">Carbon</a></div>
<div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;background:#000000;color:#202122;text-align:center;"><a href="//commons.wikimedia.org/wiki/File:Disc_Plain_red.svg" class="image"><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/Disc_Plain_red.svg/15px-Disc_Plain_red.svg.png" decoding="async" width="15" height="15" style="vertical-align: middle" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/Disc_Plain_red.svg/23px-Disc_Plain_red.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/Disc_Plain_red.svg/30px-Disc_Plain_red.svg.png 2x" data-file-width="460" data-file-height="460"></a></div> <a href="https://en.wikipedia.org/wiki/Oxygen" class="extiw" title="en:Oxygen">Oxygen</a></div>
<div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;background:#000000;color:#202122;text-align:center;"><a href="//commons.wikimedia.org/wiki/File:Disc_Plain_blue.svg" class="image"><img alt="" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Disc_Plain_blue.svg/15px-Disc_Plain_blue.svg.png" decoding="async" width="15" height="15" style="vertical-align: middle" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Disc_Plain_blue.svg/23px-Disc_Plain_blue.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Disc_Plain_blue.svg/30px-Disc_Plain_blue.svg.png 2x" data-file-width="460" data-file-height="460"></a></div> <a href="https://en.wikipedia.org/wiki/Nitrogen" class="extiw" title="en:Nitrogen">Nitrogen</a></div>
created with jmol+povray+imagemagick