From 9b0ce97a6bd70d6501abe900cfda67fbe73fb9f0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 6 Sep 2021 08:40:56 +0200 Subject: Implement Workaround for List Padding --- css/xengineering.css | 8 ++++++++ html/template.html | 14 ++++++++++++++ 2 files changed, 22 insertions(+) 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 @@

This is a link to example.com.

+

This is an ordered list:

+
    +
  1. One
  2. +
  3. Two
  4. +
  5. Three
  6. +
+ +

This is an unordered list:

+ +

Have a look at this beautiful code:

#!/usr/bin/python3
 
-- 
cgit v1.2.3-70-g09d2