css/lists

This commit is contained in:
Marc Beninca 2025-01-26 15:33:58 +01:00
parent bdb07f0b7b
commit e6ff87e4f6
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 11 additions and 2 deletions

View file

@ -43,7 +43,7 @@ background-color: #630;
padding: .5em 1em; padding: .5em 1em;
} }
.thing { .sectionless .thing {
font-size: 1.5em; font-size: 1.5em;
} }
@ -81,6 +81,15 @@ color: red;
ol, ul { ol, ul {
background-color: #303; background-color: #303;
} }
ol {
list-style: decimal;
}
ul {
list-style: disc;
}
li {
margin-block: .25em;
}
a { a {
color: inherit; color: inherit;

View file

@ -35,7 +35,7 @@
</section> </section>
<section> <section>
<h2>Another Heading</h2> <h2><span class="thing">Another</span> Heading</h2>
<ul>Unordered: <ul>Unordered:
<li>Some item</li> <li>Some item</li>
<li>Another item</li> <li>Another item</li>