Minor style changes

This commit is contained in:
JP Hastings-Spital 2023-07-21 11:10:40 +01:00
parent 7f2cfdc52a
commit e028c39d26
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{{ $donations := getJSON "https://api.val.town/v1/run/byjp.donations" }}
<p>Friends have donated <strong>£{{ div (math.Round (mul $donations.totalGBP 100)) 100 }}</strong> (across {{ $donations.currencyCount }} currencies) to worthy causes in thanks. Thank <em>you</em>!</em></p>
<p>Friends have donated <strong>£{{ div (math.Round (mul $donations.totalGBP 100)) 100 }}</strong> (in {{ $donations.currencyCount }} currencies) to worthy causes in thanks. Thank <em>you</em>!</em></p>
<style>
.donate input[type=number] {
width:75px;

View file

@ -640,6 +640,7 @@ input {
input[type="submit"] {
border-color: var(--accent);
color: var(--accent);
cursor: pointer;
&:hover {
background-color: var(--accent);
@ -653,7 +654,7 @@ select {
background-color: transparent;
border: none;
padding: 0 1em 0 0;
margin: 2px 2px 2.5px;
margin: 2px 2px 2px;
width: 100%;
font-family: inherit;
font-size: inherit;
@ -689,6 +690,7 @@ select {
align-items: center;
position: relative;
padding: 0 0.3em 0 0;
margin: 2px;
select,
&::after {