Skip to content

Commit

Permalink
Fixed spotify song art displaying too large
Browse files Browse the repository at this point in the history
  • Loading branch information
lnminh1411 committed Jul 30, 2024
1 parent f0c7f24 commit d2e0eb5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,18 @@
</div>
<header>
<section style="width:100vw">
<h1><a href=https://youtu.be/p7YXXieghto target=_blank style=cursor:not-allowed>
<h1>
<svg width=100% height=100%>
<rect x=0 y=0 width=100% height=100% style="fill:none"></rect>
<text x=50% y=96% text-anchor=middle>LNMinh</text>
</svg>
<pre id="titletxt">This page isn't working correctly!</pre>
</a></h1>
</h1>
</section>
</header>
<div class=factcontainer>Did you know: <div id=fact style="margin-right:12px">This page isn't working correctly? Check your internet and refresh!</div></div>
<a href=https://youtu.be/p7YXXieghto target=_blank style=cursor:not-allowed>
<div class=factcontainer>Did you know: <div id=fact style="margin-right:12px">This page isn't working correctly? Check your internet and refresh!</div></div>
</a>
<main>
<h3 data-aos="fade-in" >Contact me:</h3>
<div style=align-items:center;opacity:.8><a href=https://discord.com/users/1243939761614356544 target=_blank onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-discord contactitem"></i>&emsp;</a><a href=https://github.com/lnminh1411/ target=_blank onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-github contactitem"></i>&emsp;</a><a href=https://www.instagram.com/lenhatminh1411 target=_blank onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-instagram contactitem"></i>&emsp;</a><a href=https://m.me/lenhatminh1411 target=_blank onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-messenger contactitem"></i>&emsp;</a><a href=https://www.facebook.com/lenhatminh1411 target=_blank onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-facebook contactitem"></i>&emsp;</a><a href="mailto:[email protected]" onMouseOver="this.style.opacity='.3'" onMouseOut="this.style.opacity='.8'"><i data-aos="fade-in" class="bi bi-envelope-at contactitem"></i></a></div>
Expand Down
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,14 @@ main {
max-width: 137px
}

.art {
border-radius:5%;
width:7vw;
display:block;
max-height:137px;
max-width:137px;
}

.spotifyname {
text-align: left;
line-height: .4vw;
Expand Down

0 comments on commit d2e0eb5

Please sign in to comment.