Skip to content

Commit

Permalink
index: Replace header image with WebP version
Browse files Browse the repository at this point in the history
  • Loading branch information
bmndc authored Apr 22, 2024
1 parent e14e1f6 commit 475a220
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
}

#toc > .header img {
max-width: 400px;
max-height: 100%;
aspect-ratio: 1;
// Undo float: right on header image on small screens
@media (max-width: 800px) {
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div id="toc">
<picture class="header">
<source srcset="assets/img/0.webp" type="image/webp">
<img align="right" src="assets/img/nokia_6300_4G-emotional-Range.png" alt="Nokia 6300 4G in three colours stacking on top of each other" fetchpriority="high">
<img align="right" width="500" height="100%" src="assets/img/nokia_6300_4G-emotional-Range.png" alt="Nokia 6300 4G in three colours stacking on top of each other" fetchpriority="high">
</picture>
<p><strong>Table of Contents</strong></p>
<ul><li><a href="#dont-buy-a-counterfeit">Don't buy a counterfeit</a>
Expand Down

0 comments on commit 475a220

Please sign in to comment.