commit 29577516bd76c602f60f08475d556e5f0cb86d98
parent dd60fe387b29ddcfd5f0b94b3b1e4f0795a4e530
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Sat, 30 Jan 2021 15:32:55 +1100
Improve backgrounds and centering of buttons
Diffstat:
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/templates/donate.html b/templates/donate.html
@@ -40,6 +40,13 @@
/* height:auto; */
height: 275px;
width:220px;
+
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+
}
#row {
display: flex;
diff --git a/templates/index.html b/templates/index.html
@@ -48,6 +48,13 @@
/* height:auto; */
height: 275px;
width:220px;
+
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+
}
#row {
display: flex;