summaryrefslogtreecommitdiff
path: root/assets/main.css
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2018-09-05 17:17:35 -0400
committerBrian Picciano <mediocregopher@gmail.com>2018-09-05 17:17:35 -0400
commit6898959fce6d73b14d929afa3ef4f98451d479cb (patch)
tree54f817d6d31aa9a6d78fceccc43292bbdec4eef5 /assets/main.css
parentd1446c6d6fd0d7f8ccce74960a80981399221fa9 (diff)
implement displaying qr codes for crypto donations
Diffstat (limited to 'assets/main.css')
-rw-r--r--assets/main.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/main.css b/assets/main.css
index cd0b855..db00af8 100644
--- a/assets/main.css
+++ b/assets/main.css
@@ -43,6 +43,40 @@ ul {
margin-right: 0.5em;
}
+#crypto-display {
+ margin-right: 2rem;
+}
+
+/* the qr library uses a canvas to generate the qr code then base64's it into a
+ * separate img tag. For an instant the original canvas shows though, creating
+ * an annoying visual, so this ensures that that doesn't happen. */
+#crypto-display-qr canvas {
+ display: none;
+}
+
+#crypto-display-qr img {
+ width: 100%;
+}
+
+#crypto-display-addr {
+ word-wrap: break-word;
+ margin-top: 1em;
+}
+
+#crypto-display-x {
+ text-align: center;
+ margin-top: 1em;
+}
+
+#crypto-display-x span:hover {
+ cursor: pointer;
+ font-weight: bold;
+}
+
+#crypto-display-x span {
+ cursor: pointer;
+}
+
#posts-list {
margin-top: 3rem;
list-style: none;