diff options
author | jelemux <jeremias.weber@protonmail.com> | 2020-10-21 22:01:59 +0200 |
---|---|---|
committer | jelemux <jeremias.weber@protonmail.com> | 2020-10-21 22:01:59 +0200 |
commit | 10eb0e8cff7f0bc6b61a77a179fec55ee1dfe929 (patch) | |
tree | 7c3c3b4ed11e723fb5c55091af7d33440783f52b /static | |
parent | f267433455dbc69e771b06dd7c433c90ad978d33 (diff) | |
download | wasm-card-10eb0e8cff7f0bc6b61a77a179fec55ee1dfe929.tar.gz wasm-card-10eb0e8cff7f0bc6b61a77a179fec55ee1dfe929.tar.bz2 |
basic prototype with vcard and pdf generation
Diffstat (limited to 'static')
-rw-r--r-- | static/index.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/static/index.html b/static/index.html index b0f1634..e9d3a0e 100644 --- a/static/index.html +++ b/static/index.html @@ -2,10 +2,12 @@ <html lang="en"> <head> <meta charset="utf-8"> + <style type="text/css">@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700);a{font-size:.95em;text-decoration:none;color:#5f90b0}a:hover{color:#406882}*{margin:0;padding:0;font-family:"Source Sans Pro",sans-serif}.container{width:1000px;margin:0 auto}.pull-left{float:left}.pull-right{float:right}.row{min-height:2em;line-height:2em;width:100%}.span{float:left;display:inline;min-height:1em;margin:0 2% 20px 2%}.span:first-child{margin-left:0}.span:last-child{margin-right:0}.one{width:8%}.two{width:16%}.three{width:24%}.four{width:32%}.five{width:40%}.six{width:48%}.seven{width:56%}.eight{width:64%}.nine{width:72%}.ten{width:80%}.eleven{width:88%}.twelve{width:100%}.container:after{content:"\0020";display:block;height:0;clear:both;visibility:hidden}.row:before,.row:after{content:'\0020';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.row:after{clear:both}.row{zoom:1}h1,h2,h3,h4,h5,h6{font-weight:500}h1{font-size:3.5em}h2{font-size:2.5em}h3{font-size:2em}h4{font-size:1.5em}h5{font-size:1em}h6{font-size:.8em}.table{width:100%;border-spacing:0;border-collapse:collapse;text-align:left}.table th,.table td{border-bottom:2px #d1d1d1 solid;padding:8px 12px}.table td{border-bottom:1px #d4d4d4 solid}.table.table-striped tbody tr:nth-child(2n+1){background-color:#f3f3f3}.table.table-bordered{border:1px #CCC solid}.table.table-bordered td,.table.table-bordered th{border:1px #CCC solid}.button{border:0;border-radius:4px;outline:0;cursor:pointer;}.button.small{padding:7px 20px;font-size:.95em}.button.large{padding:15px 45px;font-size:1.1em}.button.primary{color:#FFF;background:#5f90b0}.button.primary:hover{background:#5589ab}.button.success{color:#FFF;background:#4daf7c}.button.success:hover{background:#48a474}.button.danger{color:#FFF;background:#e6623c}.button.danger:hover{background:#e4572e}.navbar{background:#FFF;padding:10px;margin-bottom:10px;border-bottom:1px #DDD solid;height:30px}.navbar h4{color:#191919;font-weight:200}.navbar li{display:inline-block;padding:.3em 15px 0 0}.navbar li:last-child{padding-right:0}.navbar.fixed{position:fixed;left:0;right:0;top:0}.alert{padding:15px;margin:10px 0;border-radius:3px}.alert.primary{background:#e8eff3;border:1px #c5d7e3 solid}.alert.success{background:#daeee4;border:1px #b6dfca solid}.alert.danger{background:#fdf4f1;border:1px #f7cfc4 solid}@media only screen and (min-width: 768px) and (max-width: 999px){.container{width:768px}}@media only screen and (max-width: 767px){.container{width:300px}.container .table{width:100%;display:block;overflow:auto}}@media only screen and (min-width: 480px) and (max-width: 767px){.container{width:420px}.container .table{display:table}}</style> <title>BCard Wasm Web App</title> <script type="module"> - import init from "../pkg/bcard_wasm_webapp.js" - init() + Error.stackTraceLimit = Infinity; + import init from "../pkg/bcard_wasm_webapp.js"; + init(); </script> </head> <body> |