Fix multiline ul/ol
This commit is contained in:
parent
453808fb33
commit
e100ec7075
|
@ -129,14 +129,16 @@ blockquote:after {
|
||||||
li {
|
li {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
|
||||||
li li {
|
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
ul > li:before {
|
ul > li:before {
|
||||||
content: "– ";
|
content: "– ";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
left: -20px;
|
||||||
|
width: 0;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
counter-reset: ol;
|
counter-reset: ol;
|
||||||
|
@ -145,6 +147,10 @@ ol > li:before {
|
||||||
content: counter(ol) ". ";
|
content: counter(ol) ". ";
|
||||||
counter-increment: ol;
|
counter-increment: ol;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
left: -20px;
|
||||||
|
width: 0;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
26
src/demo.org
26
src/demo.org
|
@ -89,14 +89,23 @@ There should be a forced newline.
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
- this is an unordered list following a header.
|
- this is an unordered list following a header.
|
||||||
- this is an unordered list following a header.
|
- this is an unordered list following a header. This time with quite a long
|
||||||
|
text that should goes to the line. Let's write a bit more text with some
|
||||||
|
=code= here, just to be sure that it use many lines.
|
||||||
- this is an unordered list following a header.
|
- this is an unordered list following a header.
|
||||||
|
|
||||||
1. this is an ordered list following a header.
|
1. this is an ordered list.
|
||||||
2. this is an ordered list following a header.
|
2. this is an ordered list that will use many lines. I will fill it with a bit
|
||||||
|
of random text. Also I will but some =code= inside it, with /italic/ and *bold*
|
||||||
|
text just to check the line-height.
|
||||||
- sub unordered
|
- sub unordered
|
||||||
- sub sub unordered
|
- sub sub unordered
|
||||||
- xxx
|
- Ok, Haxx0r ipsum concurrently malloc leet new injection bin epoch daemon
|
||||||
|
system Leslie Lamport shell spoof. Finally boolean continue mutex endif
|
||||||
|
it’s a feature gobble packet public irc race condition grep ifdef I’m
|
||||||
|
compiling. Try catch bar bytes I’m sorry Dave, I’m afraid I can’t do
|
||||||
|
that pragma win sql gnu kilo deadlock blob try catch exception Donald
|
||||||
|
Knuth brute force.
|
||||||
- unordered
|
- unordered
|
||||||
1. ordered again
|
1. ordered again
|
||||||
2. yep :)
|
2. yep :)
|
||||||
|
@ -192,10 +201,19 @@ just to check.
|
||||||
- State "HOLD" from "IN-REVIEW" [2019-07-09 Tue 13:44] \\
|
- State "HOLD" from "IN-REVIEW" [2019-07-09 Tue 13:44] \\
|
||||||
some reason
|
some reason
|
||||||
****** WAITING waiting status
|
****** WAITING waiting status
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: waiting-status
|
||||||
|
:END:
|
||||||
- State "WAITING" from [2019-07-09 Tue 13:44] \\
|
- State "WAITING" from [2019-07-09 Tue 13:44] \\
|
||||||
waitin for someone
|
waitin for someone
|
||||||
****** DONE done status
|
****** DONE done status
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: done-status
|
||||||
|
:END:
|
||||||
****** CANCELED canceled status
|
****** CANCELED canceled status
|
||||||
CLOSED: [2019-07-09 Tue 13:45]
|
CLOSED: [2019-07-09 Tue 13:45]
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: canceled-status
|
||||||
|
:END:
|
||||||
- State "CANCELED" from [2019-07-09 Tue 13:45] \\
|
- State "CANCELED" from [2019-07-09 Tue 13:45] \\
|
||||||
cancel reason
|
cancel reason
|
||||||
|
|
|
@ -16,8 +16,8 @@ So programming, functional programming in particular.
|
||||||
That website was created with the following constraints in mind by order of
|
That website was created with the following constraints in mind by order of
|
||||||
priority:
|
priority:
|
||||||
|
|
||||||
1. /Respect Privacy/; no tracker of any sort (no google ads, no referrer for all external links,
|
1. /Respect Privacy/; no tracker of any sort (no ads, no google analytics, no
|
||||||
etc...)
|
referrer for all external links, etc...)
|
||||||
2. /javascript free/; no js at all, yes even the theme changer
|
2. /javascript free/; no js at all, yes even the theme changer
|
||||||
3. /disability friendly/; should be easy to read on a text browser so people
|
3. /disability friendly/; should be easy to read on a text browser so people
|
||||||
with disabilities could easily consume it
|
with disabilities could easily consume it
|
||||||
|
|
Loading…
Reference in a new issue