From 769f11bcb5548d0970bfc261246eb4e935816b30 Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Sun, 9 Aug 2020 15:31:13 +0200 Subject: Update list css --- assets/sass/researcher.scss | 10 ++++++---- .../researcher.scss_b95b077eb505d5c0aff8055eaced30ad.content | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss index 0b7245c..1631f1c 100644 --- a/assets/sass/researcher.scss +++ b/assets/sass/researcher.scss @@ -45,13 +45,13 @@ display: block; margin: $margin-y auto; } + div > ol { + padding-left: 0; + } ol { counter-reset: list; list-style: none; - padding-left: 0; & > li { - padding-left: 4ch; - text-indent: -4ch; margin: 4px 0; &:before { content: "[" counter(list, decimal) "] "; @@ -62,9 +62,11 @@ pre code { color: inherit; } + div > ul { + padding-left: 0; + } ul { list-style: inside; - padding-left: 0; & > li { margin: 4px 0; } diff --git a/exampleSite/resources/_gen/assets/scss/sass/researcher.scss_b95b077eb505d5c0aff8055eaced30ad.content b/exampleSite/resources/_gen/assets/scss/sass/researcher.scss_b95b077eb505d5c0aff8055eaced30ad.content index 5b65486..13c8026 100644 --- a/exampleSite/resources/_gen/assets/scss/sass/researcher.scss_b95b077eb505d5c0aff8055eaced30ad.content +++ b/exampleSite/resources/_gen/assets/scss/sass/researcher.scss_b95b077eb505d5c0aff8055eaced30ad.content @@ -1 +1 @@ -#content a,.nav-link{color:#dc3545;text-decoration:none}#content a:hover,.nav-link:hover{color:#dc3545;text-decoration:underline}#footer a,.navbar-brand{color:inherit;text-decoration:none}#footer a:hover,.navbar-brand:hover{color:inherit;text-decoration:underline}#content table tr th,#content table tr td{border:1px solid #ccc;padding:6px 12px;text-align:left}*{font-family:inconsolata;line-height:normal}.container{max-width:750px}.navbar-brand{font-size:2rem}#content blockquote{border-left:4px solid;font-style:italic;margin:16px 0;padding:8px}#content blockquote p{margin:0}#content code{color:#28a745}#content h1,#content h2,#content h3,#content h4,#content h5,#content h6{font-size:medium;font-weight:700;line-height:normal;margin:1.2rem 0 .8rem}#content h1{font-size:1.8rem}#content h2{font-size:1.6rem}#content h3{font-size:1.4rem}#content h4{font-size:1.2rem}#content img{display:block;margin:16px auto}#content ol{counter-reset:list;list-style:none;padding-left:0}#content ol>li{padding-left:4ch;text-indent:-4ch;margin:4px 0}#content ol>li:before{content:"[" counter(list,decimal)"] ";counter-increment:list}#content pre code{color:inherit}#content ul{list-style:inside;padding-left:0}#content ul>li{margin:4px 0}#content table{margin:16px auto;width:100%}#content table tr{background-color:#fff;border:1px solid #ccc}#content table tr th{font-weight:700}#content table tr:nth-child(2n){background-color:#f8f8f8}#content .avatar>img{border-radius:50%;float:right;margin:-8px 0 0 16px;height:90px;width:90px}#content .highlight{margin:16px auto}#content .highlight>pre{padding:8px} \ No newline at end of file +#content a,.nav-link{color:#dc3545;text-decoration:none}#content a:hover,.nav-link:hover{color:#dc3545;text-decoration:underline}#footer a,.navbar-brand{color:inherit;text-decoration:none}#footer a:hover,.navbar-brand:hover{color:inherit;text-decoration:underline}#content table tr th,#content table tr td{border:1px solid #ccc;padding:6px 12px;text-align:left}*{font-family:inconsolata;line-height:normal}.container{max-width:750px}.navbar-brand{font-size:2rem}#content blockquote{border-left:4px solid;font-style:italic;margin:16px 0;padding:8px}#content blockquote p{margin:0}#content code{color:#28a745}#content h1,#content h2,#content h3,#content h4,#content h5,#content h6{font-size:medium;font-weight:700;line-height:normal;margin:1.2rem 0 .8rem}#content h1{font-size:1.8rem}#content h2{font-size:1.6rem}#content h3{font-size:1.4rem}#content h4{font-size:1.2rem}#content img{display:block;margin:16px auto}#content div>ol{padding-left:0}#content ol{counter-reset:list;list-style:none}#content ol>li{margin:4px 0}#content ol>li:before{content:"[" counter(list,decimal)"] ";counter-increment:list}#content pre code{color:inherit}#content div>ul{padding-left:0}#content ul{list-style:inside}#content ul>li{margin:4px 0}#content table{margin:16px auto;width:100%}#content table tr{background-color:#fff;border:1px solid #ccc}#content table tr th{font-weight:700}#content table tr:nth-child(2n){background-color:#f8f8f8}#content .avatar>img{border-radius:50%;float:right;margin:-8px 0 0 16px;height:90px;width:90px}#content .highlight{margin:16px auto}#content .highlight>pre{padding:8px} \ No newline at end of file -- cgit v1.2.3