Skip to content

Commit

Permalink
feat: Add mobile responsive styling for right-floated images
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Nov 30, 2024
1 parent 1f8bc81 commit 5d713f9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hugo-site/themes/freenet/assets/css/freenet.css
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,15 @@ p.page-end-spacer {
color: transparent;
}

/* Mobile image handling */
@media screen and (max-width: 480px) {
div[style*="float: right"] {
float: none !important;
margin: 0 auto 20px auto;
display: block;
}
}

.navbar-item.ghost-key:hover {
opacity: 0.8;
}
Expand Down

0 comments on commit 5d713f9

Please sign in to comment.