diff --git a/index.html b/index.html index de09ca677aa937855a0c1eeb0000816c512760af..61aac55fdaa09f0303f0582e4acb61e502e1fb26 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 fdd3c7179b68ab57fd78ac7a25719cc5fdf8b72c..1d45fa813dee7b02940cf9f07612f235100bf301 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