Template:Gallery/Styles.css

/* */

.gallery-box { position: relative; display: flex; align-items: center; margin-top: 0.5rem; }

.gallery-box-image { position: absolute; left: 0.5rem; }

.gallery-box-link a { display: inline-block; line-height: 80px; width: 200px; background: #17568c; box-shadow: 1px 1px 2px #000; font-size: 1.25rem; font-weight: bold; padding-right: 0.75rem; text-align: right; transition: 0.3s; white-space: nowrap; }

.gallery-box-link a:hover, .gallery-box-image:hover ~ .gallery-box-link a { background-color: #153e63; text-decoration: underline; }