Welcome to little lamb

Code » qmdoc » commit aefaedf

Tweak footer

author Olivier Brunel
2022-12-28 10:01:57 UTC
committer Olivier Brunel
2022-12-28 10:01:57 UTC
parent 5b41f19443ee52a675c9ce2adca3fb29642460fb

Tweak footer

common.css +0 -1
light.css +1 -1
main.c +1 -1
struct.css +2 -2

diff --git a/common.css b/common.css
index 1337a43..e29baa1 100644
--- a/common.css
+++ b/common.css
@@ -89,7 +89,6 @@ main div.box :first-child {
 }
 main footer {
     margin-top: 16px;
-    border-top: 2px solid #2d70aa;
     opacity: 0.8;
     font-size: 80%;
 }
diff --git a/light.css b/light.css
index 02c63f9..6dd85e6 100644
--- a/light.css
+++ b/light.css
@@ -86,5 +86,5 @@ main div.box.note :first-child {
     background: #5c5353;
 }
 main footer {
-    border-top: 2px solid #2d70aa;
+    border-top: 1px solid #979518;
 }
diff --git a/main.c b/main.c
index 9a0b1bf..c41aa65 100644
--- a/main.c
+++ b/main.c
@@ -473,7 +473,7 @@ leave_block(MD_BLOCKTYPE type, void *details, void *ctx_)
                     || !raw_str(ctx, year)
                     || !raw_str(ctx, " ")
                     || !escape_text(ctx, ctx->doc.author, strlen(ctx->doc.author))
-                    || !raw_str(ctx, " - All Rights Reserved<br>"
+                    || !raw_str(ctx, "<br>"
                                 "<span class=\"generated\">Generated with qmdoc</span>"
                                 "</footer></body></html>"))
                 return ERR_PARSER_LEAVE_BLOCK;
diff --git a/struct.css b/struct.css
index e56ed19..2a1edd3 100644
--- a/struct.css
+++ b/struct.css
@@ -184,6 +184,6 @@ main div.box p {
     margin: 4px 11px;
 }
 main footer {
-    padding-top: 8px;
-    text-align: center;
+    padding: 8px 23px;
+    margin: 0 -23px;
 }