Skip to content

Commit

Permalink
Shrink images down on mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedrano committed Jun 5, 2024
1 parent e00d1d4 commit 49c5cec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The static site is output into the site directory."
</div>
")
(org-html-link-up "../") ;; Unused. Required for home/up to render.
(org-export-before-processing-functions '(add-tangled-name))
(org-export-before-processing-hook '(add-tangled-name))
(org-publish-project-alist
`(("wmedrano-site" :components ("wmedrano-home" "wmedrano-posts"))
("wmedrano-home"
Expand Down
6 changes: 5 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ body {
img {
max-width: 50rem;
}

@media (max-width: 50rem) {
img {
max-width: 100%;
}
}
a {
text-decoration: none;
}

0 comments on commit 49c5cec

Please sign in to comment.