From 473c1556158d2ba73639587160ea595fd7793c17 Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 25 Mar 2018 20:35:07 -0400 Subject: [PATCH] Add "Fork me on GitHub" ribbon --- docs/demo.css | 33 ++++++++++----------------------- docs/demo.html | 6 +++++- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/docs/demo.css b/docs/demo.css index 0111185c..2a1267a4 100644 --- a/docs/demo.css +++ b/docs/demo.css @@ -13,10 +13,8 @@ textarea { } #header { - margin: 0; - padding: 0.4em 0 0 0; + margin-top: 1em; text-align: center; - color: #002; } #header > h1 { @@ -27,7 +25,7 @@ textarea { position: absolute; top: 0; bottom: 0; - margin-top: 2.4em; + margin-top: 5em; width: 100%; } @@ -55,25 +53,7 @@ textarea { } .label { - margin: 0; - padding: 0; - position: relative; - width: 100%; - display: block; -} - -.label * { - position: relative; - font-weight: 900; -} - -.label span { - color: #444; -} - -#outputType { - display: block; - margin-left: auto; + float: none !important; } .pane { @@ -135,3 +115,10 @@ textarea { font-size: 1.3em; } +.github-ribbon { + position: absolute; + top: 0; + right: 0; + border: 0; + z-index: 1000; +} diff --git a/docs/demo.html b/docs/demo.html index c46fbd0c..887c32df 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -5,8 +5,12 @@ + + Fork me on GitHub + +