mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Minor style changes
This commit is contained in:
parent
7f2cfdc52a
commit
e028c39d26
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ $donations := getJSON "https://api.val.town/v1/run/byjp.donations" }}
|
{{ $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>
|
<style>
|
||||||
.donate input[type=number] {
|
.donate input[type=number] {
|
||||||
width:75px;
|
width:75px;
|
||||||
|
|
|
@ -640,6 +640,7 @@ input {
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--accent);
|
background-color: var(--accent);
|
||||||
|
@ -653,7 +654,7 @@ select {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 1em 0 0;
|
padding: 0 1em 0 0;
|
||||||
margin: 2px 2px 2.5px;
|
margin: 2px 2px 2px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
@ -689,6 +690,7 @@ select {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 0.3em 0 0;
|
padding: 0 0.3em 0 0;
|
||||||
|
margin: 2px;
|
||||||
|
|
||||||
select,
|
select,
|
||||||
&::after {
|
&::after {
|
||||||
|
|
Loading…
Reference in a new issue