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> <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> <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"> <div class="web-btn-wrapper center-el">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed" class="center-el"> <a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/rss-button.gif" alt="RSS feed button"> <img src="/assets/rss-button.gif" alt="RSS feed button">
</a> </a>
</div> </div>

View File

@ -40,8 +40,8 @@
<h1>Website Changelog</h1> <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> <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"> <div class="web-btn-wrapper center-el">
<a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed" class="center-el"> <a href="/feed.xml" target="blank" title="Leilukin's Hub RSS Feed">
<img src="/assets/rss-button.gif" alt="RSS feed button"> <img src="/assets/rss-button.gif" alt="RSS feed button">
</a> </a>
</div> </div>

View File

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