From 0caf83177a80519c8f5b98cb391719be85963bfe Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 11 Aug 2023 11:01:47 +0200 Subject: CSS article task list --- src/css/_contenu.scss | 15 ++++++++++----- src/css/design.scss | 4 +++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/css/_contenu.scss b/src/css/_contenu.scss index ec6dee7..b5ffab0 100755 --- a/src/css/_contenu.scss +++ b/src/css/_contenu.scss @@ -72,7 +72,7 @@ article { @media #{$gt-gsm} { ul { - line-height: 1.4; + line-height: 1.5; } float: none; @@ -94,10 +94,17 @@ article { transition: margin-left 0.5s ease-out 0.25s; } } + li.task-list-item { + list-style-type: "- "; + input[type='checkbox'] { + width: 20px; + height: 20px; + } + } li p { display: inline; } - ol { + #sommaire + ol, #table-of-contents + ol { line-height: 2.5em; @media #{$gt-gsm} { line-height: 1.4em; @@ -173,7 +180,6 @@ article { color: initial; > p:first-of-type { - font-weight: 2; > img { filter: none; } @@ -197,7 +203,6 @@ article { color: #EFEFEF; > p:first-of-type { - font-weight: 2; > img { filter: invert(0); } @@ -208,7 +213,7 @@ article { &.light{ @include lightMode; } &.dark { @include darkMode; } - iframe { + iframe, img, div { border: none; &.big { width: 120%; diff --git a/src/css/design.scss b/src/css/design.scss index 10086ce..c2e4ef1 100755 --- a/src/css/design.scss +++ b/src/css/design.scss @@ -141,7 +141,7 @@ ache { img { display: block; margin: 15px 15px; - max-width: 100%; + max-width: 120%; } table { border-collapse: collapse; @@ -185,6 +185,8 @@ code { border: 0px; border-radius: 8px; padding: 0 5px; + font-weight: 500; + font-family: Consolas, Liberation Mono, Monaco, Lucida Console, monospace; @mixin lightMode { color: #c22222; -- cgit v1.2.3