diff options
Diffstat (limited to 'talermerchantdemos/survey/static/demo.css')
-rw-r--r-- | talermerchantdemos/survey/static/demo.css | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/talermerchantdemos/survey/static/demo.css b/talermerchantdemos/survey/static/demo.css new file mode 100644 index 0000000..b2688ad --- /dev/null +++ b/talermerchantdemos/survey/static/demo.css @@ -0,0 +1,69 @@ +/* style common to all demo pages */ + +.demobar h1 { + text-align: center; +} +.demobar > p { + padding: 0.5em; +} +.demobar a, +.demobar a:visited { + color: inherit; +} +.adorn-brackets::before { + content: "❬"; + color: #aa3939; +} +.adorn-brackets::after { + content: "❭"; + color: #aa3939; +} +.tt { + font-family: 'Lucida Console', Monaco, monospace; +} + +.informational-ok { + background: lightgreen; + border-radius: 1em; + padding: 0.5em; +} + +.informational-fail { + background: lightpink; + border-radius: 1em; + padding: 0.5em; +} + +.content { + overflow-x: auto; +} +.demobar { + overflow-x: auto; + background-color: #033; + color: white; +} + +body { + overflow-y: scroll; +} + +@media (min-width: 500px) { + .content { + margin-left: 25%; + padding-left: 2em; + margin-right: 1em; + overflow-x: auto; + } + .demobar { + height: 100%; + margin: 0; + top: 0; + left: 0; + background-color: #033; + color: white; + position: fixed; + width: 25%; + padding-right: 1em; + overflow: auto; + } +} |