style(disclaimer-modal): improve close button positioning and list styling

This commit is contained in:
plebeius
2025-11-04 17:40:37 +01:00
parent a9754a3686
commit c4face5f1d
2 changed files with 11 additions and 21 deletions
@@ -43,38 +43,26 @@
.closeButton {
all: unset;
cursor: pointer;
color: rgb(255, 255, 255);
font-size: 16px;
line-height: 16px;
width: 18px;
height: 18px;
text-align: center;
user-select: none;
width: 16px;
height: 16px;
margin-top: 4px;
margin-right: 4px;
position: absolute;
top: 0;
right: 0;
background-image: var(--disclaimer-modal-close-button-background-image);
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
}
.closeButton:hover {
opacity: 0.8;
}
.bd {
padding: 10px;
}
.bd p {
margin: 0 0 10px 0;
}
.bd ol {
margin: 0;
padding-left: 20px;
}
.bd li {
margin-bottom: 10px;
list-style-type: decimal;
list-style-position: inside;
}
.bd a {
@@ -34,11 +34,13 @@ const DisclaimerModal = () => {
The content on boards may be for mature audiences only and may not be suitable for minors. Boards are created and moderated by individual owners who run
their own nodes. If you are a minor or it is illegal for you to access mature content, do not proceed.
</li>
<br />
<li>
This website is presented to you AS IS, with no warranty, express or implied. By clicking &quot;I Agree,&quot; you agree that 5chan is a decentralized,
serverless, and adminless platform. The website operator does not create, own, moderate, or control any board content, which is stored peer-to-peer and
generated by board owners and users.
</li>
<br />
<li>
Each board has its own rules set by its owner. You agree to comply with the individual board&apos;s rules, which you can find on each board&apos;s page.
There are no global rules as 5chan has no central authority.