diff options
author | xengineering <me@xengineering.eu> | 2021-09-06 08:40:56 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-09-06 08:40:56 +0200 |
commit | 9b0ce97a6bd70d6501abe900cfda67fbe73fb9f0 (patch) | |
tree | 7eb3cfd89e8bb02998cbc5d4b04bd2dba1cf3fc7 | |
parent | 6c2fe050adc74103413d0695571a2dde3de61130 (diff) | |
download | libweb-9b0ce97a6bd70d6501abe900cfda67fbe73fb9f0.tar libweb-9b0ce97a6bd70d6501abe900cfda67fbe73fb9f0.tar.zst libweb-9b0ce97a6bd70d6501abe900cfda67fbe73fb9f0.zip |
Implement Workaround for List Padding1.1.0
-rw-r--r-- | css/xengineering.css | 8 | ||||
-rw-r--r-- | html/template.html | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/css/xengineering.css b/css/xengineering.css index f5dcf60..b49be0c 100644 --- a/css/xengineering.css +++ b/css/xengineering.css @@ -32,6 +32,14 @@ a { color: blue; } +ol { + padding-left: 20px; /* FIXME: just a hard-coded value */ +} + +ul { + padding-left: 15px; /* FIXME: just a hard-coded value */ +} + nav { background-color: black; } diff --git a/html/template.html b/html/template.html index 675a59b..88c99cd 100644 --- a/html/template.html +++ b/html/template.html @@ -32,6 +32,20 @@ <p>This is a link to <a href="https://example.com">example.com</a>.</p> + <p>This is an ordered list:</p> + <ol> + <li>One</li> + <li>Two</li> + <li>Three</li> + </ol> + + <p>This is an unordered list:</p> + <ul> + <li>One</li> + <li>Two</li> + <li>Three</li> + </ul> + <p>Have a look at this beautiful code:</p> <pre><code>#!/usr/bin/python3 |