Skip to content

Commit

Permalink
sponsors: fixup the range of <a> elements
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tsien <[email protected]>
  • Loading branch information
bekcpear committed Aug 13, 2024
1 parent da4698d commit 1122bfb
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions assets/ananke/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -500,34 +500,48 @@ section.section-container {
display: flex;
background-color: #FFFFFF;
margin: 5px auto;
padding: 20px 30px;
a, img {
height: 100px;
@media all and (max-width: 800px) {
height: 60px;
}
}
padding: 0;
a {
position: relative;
margin: auto;
display: block;
padding: 0;
height: 140px;
width: 100%;
display: flex;
padding: 20px 30px;
}
img {
margin: auto;
object-fit: contain;
border: none;
height: 100px;
}
@media all and (max-width: 800px) {
a {
height: 100px;
}
img {
height: 60px;
}
}
&.keep-ratio {
padding: 0;
background-color: transparent;
border-radius: 0;
box-shadow: none;
a {
padding: 0;
display: block;
width: fit-content;
}
img {
margin: 0;
}
a, img {
height: 140px;
}
@media all and (max-width: 800px) {
background-color: #FFFFFF;
a, img {
height: 100px;
width: 100%;
}
}
}
Expand Down

0 comments on commit 1122bfb

Please sign in to comment.