Commit 83bc23e7 authored by Julie Blanc's avatar Julie Blanc

cleaning list style

parent 139b9fca
/* list */
ul,
ol {
ul, ol {
margin: 0;
padding: 0;
text-indent: 0;
ul,
ol {
margin-left: 2.1em;
}
p {
text-indent: 0;
text-align: left;
hyphens: none
}
}
ol,
ul {
margin-left: var(--indent-block);
margin-bottom: calc(var(--font-lineHeight)*0.5);
margin-top: calc(var(--font-lineHeight)*0.5);
hyphens: none;
list-style-position: outside;
font-variant-numeric: oldstyle-nums;
font-feature-settings: "onum";
lh.lpti {
margin-left: 1.5em;
letter-spacing: 1px;
margin-top: 16px;
margin-bottom: 2px;
display: block;
&+li {
margin-top: 0;
}
}
li {
margin-left: 1.5em;
/* // margin-left: 1em; */
}
&>li:first-of-type {
margin-top: 17px;
/* // background: red; */
}
li:nth-of-type(n + 9) {
margin-left: 1.5em;
text-align: left;
}
}
/* // unordered list */
ul {
margin-left: 1.5em;
li {
list-style-type: bullet;
list-style-position: outside;
}
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
/* size for the page */
--page-width: 110mm;
--page-height: 210mm;
--page-height: 210mm;
--page-orientation: landscape;
/* margin for the page */
......@@ -19,12 +19,11 @@
--color-paper: white;
/* color used for the baseline */
--color-baseline: transparent;
--color-baseline: red;
/* fonts for the book */
--font-body: "happy";
--font-body: "Spectral";
--font-head: "lack";
--font-title: "lack";
......@@ -45,5 +44,8 @@
/* list variables */
--font-size: 12px;
--font-lineHeight: 16px;
--indent-block: calc(var(--font-lineHeight)*2);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment