diff --git a/article.html b/article.html
index f89c975..2d0f00a 100644
--- a/article.html
+++ b/article.html
@@ -602,6 +602,24 @@
Cet article a été rédigé par Joe Doe et distribué sous license Creative Commons CC-BY-SA
+
+
+
diff --git a/css/article.css b/css/article.css
index c1349a5..058401e 100644
--- a/css/article.css
+++ b/css/article.css
@@ -1,6 +1,7 @@
@import url("style.css");
@import url("code.css");
@import url("illustration.css");
+@import url("comments.css");
article {
flex: 1;
@@ -67,6 +68,9 @@ article {
}
main {
+ display: grid;
+ grid-template-columns: auto 1fr;
+
& > nav#toc {
menu {
position: sticky;
@@ -171,4 +175,8 @@ main {
visibility: hidden;
}
}
+
+ & > section#comments {
+ grid-column: 2;
+ }
}
diff --git a/css/comments.css b/css/comments.css
new file mode 100644
index 0000000..a55afaf
--- /dev/null
+++ b/css/comments.css
@@ -0,0 +1,27 @@
+section#comments {
+ textarea {
+ width: 100%;
+ resize: vertical;
+ min-height: 5lh;
+ box-sizing: border-box;
+
+ background-color: transparent;
+ color: var(--foreground-color);
+ font-family: var(--font-content);
+ font-size: 1rem;
+ border: solid 1px var(--foreground-color);
+ outline: none;
+ }
+
+ #actions {
+ display: flex;
+ flex-direction: row;
+ justify-content: end;
+
+ margin-top: 8px;
+ }
+
+ button {
+ margin: 0;
+ }
+}
Commentaires
+ + +