aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2017-11-23 09:49:12 +1100
committerIan Coleman <ian@iancoleman.io>2017-11-29 10:28:09 +1100
commitf2de7aa7d8794bf1cbfc7882552cc8706a477093 (patch)
treee40af66f710a809cfae22f5761897c3cde6cadcd
parent9a54f27efc4dacbf0f87d93b8cf85ccf3aadb9d5 (diff)
downloadBIP39-f2de7aa7d8794bf1cbfc7882552cc8706a477093.tar.gz
BIP39-f2de7aa7d8794bf1cbfc7882552cc8706a477093.tar.zst
BIP39-f2de7aa7d8794bf1cbfc7882552cc8706a477093.zip
Move css specific to the app into own file
-rw-r--r--src/css/app.css97
-rw-r--r--src/index.html101
2 files changed, 98 insertions, 100 deletions
diff --git a/src/css/app.css b/src/css/app.css
new file mode 100644
index 0000000..4cf6295
--- /dev/null
+++ b/src/css/app.css
@@ -0,0 +1,97 @@
1body {
2 padding-bottom: 32px;
3}
4.form-control[readonly] {
5 cursor: text;
6}
7.feedback-container {
8 position: fixed;
9 top: 0;
10 width: 100%;
11 text-align: center;
12 z-index: 4;
13}
14.feedback {
15 display: table;
16 padding: 0.5em 1em;
17 background-color: orange;
18 margin: 0 auto;
19 font-size: 2em;
20 color: #444;
21 border: 2px solid #555;
22 border-top: 0;
23 border-bottom-left-radius: 20px 20px;
24 border-bottom-right-radius: 20px 20px;
25}
26.no-border {
27 border: 0;
28 box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
29 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
30}
31.phrase {
32 word-break: keep-all;
33}
34.generate-container .strength {
35 /* override mobile width from bootstrap */
36 width: auto!important;
37 display: inline-block;
38}
39.languages a {
40 padding-left: 10px;
41}
42.languages a:nth-of-type(1) {
43 margin-left: -12px;
44 padding-left: 0;
45}
46.monospace {
47 font-family: monospace;
48}
49.entropy-container .filtered,
50.entropy-container .binary {
51 word-wrap: break-word;
52}
53.entropy-container li {
54 padding-bottom: 5px;
55}
56.card-suit {
57 font-size: 19px;
58 line-height: 0;
59}
60.card-suit.club {
61 color: #009F00;
62}
63.card-suit.diamond {
64 color: #3D5DC4;
65}
66.card-suit.heart {
67 color: #F00;
68}
69.card-suit.spade {
70 color: #000;
71}
72.qr-container {
73 position: fixed;
74 top: 0;
75 right: 0;
76 text-align: center;
77 background-color: #FFF;
78 border: 1px solid #CCC;
79}
80.qr-image {
81 margin: 5px;
82}
83.qr-hint,
84.qr-warning {
85 padding: 2px;
86 max-width: 150px;
87}
88.more-info {
89 cursor: help;
90 border-bottom: 1px dashed #000;
91 text-decoration: none;
92}
93.version {
94 position: absolute;
95 top: 5px;
96 right: 5px;
97}
diff --git a/src/index.html b/src/index.html
index 26f7957..d5aff23 100644
--- a/src/index.html
+++ b/src/index.html
@@ -4,111 +4,12 @@
4 <meta charset="utf-8" /> 4 <meta charset="utf-8" />
5 <title>BIP39 - Mnemonic Code</title> 5 <title>BIP39 - Mnemonic Code</title>
6 <link rel="stylesheet" href="css/bootstrap-3.3.7.css"> 6 <link rel="stylesheet" href="css/bootstrap-3.3.7.css">
7 <link rel="stylesheet" href="css/app.css">
7 <meta content="Mnemonic code for generating deterministic keys" name="description"/> 8 <meta content="Mnemonic code for generating deterministic keys" name="description"/>
8 <meta content="width=device-width, initial-scale=1.0" name="viewport" /> 9 <meta content="width=device-width, initial-scale=1.0" name="viewport" />
9 <meta content="bitcoin mnemonic converter" name="description" /> 10 <meta content="bitcoin mnemonic converter" name="description" />
10 <meta content="Ian Coleman" name="author" /> 11 <meta content="Ian Coleman" name="author" />
11 <link type="image/x-icon" rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" /> 12 <link type="image/x-icon" rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" />
12
13 <style>
14 body {
15 padding-bottom: 32px;
16 }
17 .form-control[readonly] {
18 cursor: text;
19 }
20 .feedback-container {
21 position: fixed;
22 top: 0;
23 width: 100%;
24 text-align: center;
25 z-index: 4;
26 }
27 .feedback {
28 display: table;
29 padding: 0.5em 1em;
30 background-color: orange;
31 margin: 0 auto;
32 font-size: 2em;
33 color: #444;
34 border: 2px solid #555;
35 border-top: 0;
36 border-bottom-left-radius: 20px 20px;
37 border-bottom-right-radius: 20px 20px;
38 }
39 .no-border {
40 border: 0;
41 box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
42 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
43 }
44 .phrase {
45 word-break: keep-all;
46 }
47 .generate-container .strength {
48 /* override mobile width from bootstrap */
49 width: auto!important;
50 display: inline-block;
51 }
52 .languages a {
53 padding-left: 10px;
54 }
55 .languages a:nth-of-type(1) {
56 margin-left: -12px;
57 padding-left: 0;
58 }
59 .monospace {
60 font-family: monospace;
61 }
62 .entropy-container .filtered,
63 .entropy-container .binary {
64 word-wrap: break-word;
65 }
66 .entropy-container li {
67 padding-bottom: 5px;
68 }
69 .card-suit {
70 font-size: 19px;
71 line-height: 0;
72 }
73 .card-suit.club {
74 color: #009F00;
75 }
76 .card-suit.diamond {
77 color: #3D5DC4;
78 }
79 .card-suit.heart {
80 color: #F00;
81 }
82 .card-suit.spade {
83 color: #000;
84 }
85 .qr-container {
86 position: fixed;
87 top: 0;
88 right: 0;
89 text-align: center;
90 background-color: #FFF;
91 border: 1px solid #CCC;
92 }
93 .qr-image {
94 margin: 5px;
95 }
96 .qr-hint,
97 .qr-warning {
98 padding: 2px;
99 max-width: 150px;
100 }
101 .more-info {
102 cursor: help;
103 border-bottom: 1px dashed #000;
104 text-decoration: none;
105 }
106 .version {
107 position: absolute;
108 top: 5px;
109 right: 5px;
110 }
111 </style>
112 </head> 13 </head>
113 <body> 14 <body>
114 <div class="container"> 15 <div class="container">