Change CSS for centreiing div

This commit is contained in:
Helen Chong 2023-08-29 17:33:10 +08:00
parent a1f8381b8e
commit 6203f20b77
3 changed files with 6 additions and 5 deletions

View File

@ -40,8 +40,8 @@
<h1>Website Changelog Archive: 2022</h1>
<p>You can subscribe to the <a href="/feed.xml" target="blank">Leilukin's Hub RSS feed</a> or follow <a href="https://neocities.org/site/leilukin" target="_blank">my Neocities profile</a> to get notified of the updates on this website.</p>
<div class="web-btn-wrapper">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed" class="center-el">
<div class="web-btn-wrapper center-el">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/rss-button.gif" alt="RSS feed button">
</a>
</div>

View File

@ -40,8 +40,8 @@
<h1>Website Changelog</h1>
<p>You can subscribe to the <a href="/feed.xml" target="blank">Leilukin's Hub RSS feed</a> or follow <a href="https://neocities.org/site/leilukin" target="_blank">my Neocities profile</a> to get notified of the updates on this website.</p>
<div class="web-btn-wrapper">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed" class="center-el">
<div class="web-btn-wrapper center-el">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/rss-button.gif" alt="RSS feed button">
</a>
</div>

View File

@ -225,7 +225,8 @@ summary {
}
.center-el {
margin: 0 auto;
display: grid;
place-content: center;
}
.center-text {