From 8d0d7337a0e4ace5c817fc779902e0762fc578fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89lo=C3=AFs?= <elois@ifee.fr>
Date: Sat, 17 Nov 2018 23:59:11 +0100
Subject: [PATCH] add sourceRibbon

---
 index.html |  8 ++++++++
 main.css   | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/index.html b/index.html
index de09ca6..61aac55 100644
--- a/index.html
+++ b/index.html
@@ -38,6 +38,14 @@
       </div>
     </div>
   </main>
+  <footer>
+    <a href="https://git.duniter.org/tools/dup-tools-front" id="sourceRibbon" title="Fork me !">
+        <span>AGPL-3.0</span>
+        <span>Logiciel Libre</span>
+        <span>Remonter aux sources</span>
+    </a>
+</footer>
+
   <script src="./bootstrap.js"></script>
 </body>
 
diff --git a/main.css b/main.css
index fdd3c71..1d45fa8 100644
--- a/main.css
+++ b/main.css
@@ -43,4 +43,37 @@ textarea {
 
 #parse_err {
     color: red;
+}
+
+#sourceRibbon {
+    position: fixed;
+    top: 15px;
+    right: -110px;
+    z-index: 500;
+    transform: rotate(45deg);
+    text-align: center;
+    width: 300px;
+    box-shadow: 0 0 5px #000;
+    text-decoration: none;
+}
+
+#sourceRibbon span {
+    background-color: #0A0;
+    color: white;
+    font-family: sans-serif;
+    display: block;
+    padding: 1px 30px;
+    font-size: 9pt;
+    margin: -1px;
+    text-shadow: 0 0 3px rgba(0, 0, 0, .5);
+}
+
+#sourceRibbon span+span {
+    background-color: #06A;
+    font-size: 11pt;
+}
+
+#sourceRibbon span+span+span {
+    background-color: #E80;
+    font-size: 10pt;
 }
\ No newline at end of file
-- 
GitLab