Contain p elements in one div element

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-05-02 19:56:33 +05:00
parent 30780b0284
commit 544ed5e188
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
2 changed files with 6 additions and 8 deletions

View file

@ -55,11 +55,11 @@ p, button {
font-size: 16px; font-size: 16px;
} }
.dialog > .description { .dialog .description > p {
margin: 12px 32px 0 64px; margin: 12px 32px 0 64px;
} }
.dialog > p, .dialog button > span { .dialog p, .dialog button > span {
animation: 1300ms forwards onload-visibility; animation: 1300ms forwards onload-visibility;
} }

View file

@ -14,12 +14,10 @@
<p class="error-code"> <p class="error-code">
Error Code: 404 Error Code: 404
</p> </p>
<p class="description"> <div class="description">
Not Found. <p>Not Found.</p>
</p> <p>Server cannot find the requested resource. Make sure the link is spelled correctly.</p>
<p class="description"> </div>
Server cannot find the requested resource. Make sure the link is spelled correctly.
</p>
<button class="left" onclick="close_button('https://github.com/mctaylors/NXInspired')"> <button class="left" onclick="close_button('https://github.com/mctaylors/NXInspired')">
<span>Close</span> <span>Close</span>
</button> </button>