Anonymous

Template:Gallery/Styles.css: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
no edit summary
(Created page with "→‎[[Category:Template Styles]]: .gallery-box { width:150px; padding:0.2em; margin-top:0.7em; text-align:center; border:1px solid; font-size:130%; display: flex; }")
 
No edit summary
 
Line 2: Line 2:


.gallery-box {
.gallery-box {
width:150px;
position: relative;
padding:0.2em;
margin-top:0.7em;
text-align:center;
border:1px solid;
font-size:130%;
display: flex;
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;
}
}