diff options
Diffstat (limited to 'src/style')
-rw-r--r-- | src/style/lang.css | 11 | ||||
-rw-r--r-- | src/style/wallet.css | 139 |
2 files changed, 150 insertions, 0 deletions
diff --git a/src/style/lang.css b/src/style/lang.css new file mode 100644 index 000000000..1cf073527 --- /dev/null +++ b/src/style/lang.css @@ -0,0 +1,11 @@ +body [lang] { + visibility: hidden; +} + +body:lang(en) :lang(en), +body:lang(de) :lang(de), +body:lang(fr) :lang(fr), +body:lang(it) :lang(it), +body:lang(es) :lang(es) { + visibility: visible; +} diff --git a/src/style/wallet.css b/src/style/wallet.css new file mode 100644 index 000000000..e5a8f91b3 --- /dev/null +++ b/src/style/wallet.css @@ -0,0 +1,139 @@ +#main { + border: solid 1px black; + border-radius: 10px; + margin: auto; + max-width: 50%; + padding: 2em; +} + +header { + width: 100%; + height: 100px; + margin: 0; + padding: 0; + border-bottom: 1px solid black; +} + +header h1 { + font-size: 200%; + margin: 0; + padding: 0 0 0 120px; + position: relative; + top: 50%; + transform: translateY(-50%); +} + +header #logo { + float: left; + width: 100px; + height: 100px; + padding: 0; + margin: 0; + text-align: center; + border-right: 1px solid black; + background-image: url(/img/logo.png); + background-size: 100px; +} + +aside { + width: 100px; + float: left; +} + +section#main { + margin: auto; + padding: 20px; + border-left: 1px solid black; + height: 100%; + max-width: 50%; +} + +section#main h1:first-child { + margin-top: 0; +} + +h1 { + font-size: 160%; +} + +h2 { + font-size: 140%; +} + +h3 { + font-size: 120%; +} + +h4, h5, h6 { + font-size: 100%; +} + +.form-row { + padding-top: 5px; + padding-bottom: 5px; +} + +label { + padding-right: 1em; +} + +label::after { + content: ":"; +} + +input.url { + width: 25em; +} + +.formish { +} + +.json-key { + color: brown; +} +.json-value { + color: navy; + } +.json-string { + color: olive; +} + +button { + font-size: 120%; + padding: 0.5em; +} + +button.confirm-pay { + float: right; +} + +/* We use fading to hide slower DOM updates */ +.fade { + -webkit-animation: fade 0.7s; + animation: fade 0.7s; + opacity: 1; +} + +@-webkit-keyframes fade { + from {opacity: 0} + to {opacity: 1} +} +@keyframes fade { + from {opacity: 0} + to {opacity: 1} + } + +button.linky { + background:none!important; + border:none; + padding:0!important; + + font-family:arial,sans-serif; + color:#069; + text-decoration:underline; + cursor:pointer; +} + +table, th, td { + border: 1px solid black; +} |