MediaWiki:Gadget-CardGalleryToC.css
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down Ctrl and click the Refresh or Reload button. Firefox: hold down ⇧ Shift while clicking Reload (or press Ctrl+⇧ Shift+R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
.card-gallery__toc {
background-color: #f8f9fa;
border: 1px solid #CCC;
}
.card-gallery__toc ul {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 0;
}
.card-gallery__toc__entry {
display: inline-block;
padding: 0.25em;
}
.card-gallery__toc__entry::before { font-weight: bold; }
.card-gallery__toc__entry:first-child::before { content: 'Go to:\20'; }
.card-gallery__toc__entry:not(:first-child)::before { content: '• '; }