aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2022-07-03 16:15:12 +0000
committerKumar Damani <me@kumardamani.net>2022-07-03 16:15:12 +0000
commitfd3aeb65cab826e377befe45cf71ec2be4a21b1d (patch)
tree0b039d042fa43a4f3d26865fc7ab52e624ae3b36
parente09d431e216eb8e52e7706f4e45a51a770476dc3 (diff)
added styling to xmr address
-rw-r--r--index.html2
-rw-r--r--style.css13
2 files changed, 13 insertions, 2 deletions
diff --git a/index.html b/index.html
index 8d1556f..948f436 100644
--- a/index.html
+++ b/index.html
@@ -150,7 +150,7 @@ If you've found something above useful, consider <a href="#donate">sending</a> s
<h2 id="donate">Donation</h2>
<ul>
<li>XMR address:
- <code style="font-size: small;">42hFshxmNoFZfAkDJTjSx9MUruMHdLTiDTE4efpP7xZTYwHMjwDZ6eJea2EnyBGGr5ab81cAovBxxT6KSvpUY5roUdkP1Qj</code>
+ <pre><code>42hFshxmNoFZfAkDJTjSx9MUruMHdLTiDTE4efpP7xZTYwHMjwDZ6eJea2EnyBGGr5ab81cAovBxxT6KSvpUY5roUdkP1Qj</code></pre>
<img style="width:15%;height: auto;" src="pix/xmr.gif" alt="address QR code">
</li>
</ul>
diff --git a/style.css b/style.css
index ae46aca..27e7e5b 100644
--- a/style.css
+++ b/style.css
@@ -149,4 +149,15 @@ a:hover {
color: var(--linkalt);
}
-
+pre code {
+ font-size: small;
+ display: block;
+ background: none;
+ background-color: black;
+ white-space: pre;
+ -webkit-overflow-scrolling: touch;
+ overflow-x: scroll;
+ max-width: 75%;
+ min-width: 100px;
+ padding: 0;
+}