1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Update donation HTML page to use new PayPal donation links

We add javascript code to the page to handle dynamic selection of donation currency
This commit is contained in:
Mounir IDRASSI
2025-01-06 11:50:20 +01:00
parent a8c904813b
commit e8e0be2ad5
3 changed files with 145 additions and 31 deletions

View File

@@ -29,3 +29,54 @@
#menu li a:hover {
background-color: #111111;
}
#currency-form select:hover, #currency-form input[type="submit"]:hover {
background-color: #111111;
color: white;
}
#currency-form select {
border: 1px solid #08aad7;
border-radius: 3px;
}
#currency-form input[type="submit"] {
border-radius: 3px;
}
.donation-buttons {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin: 20px 0;
}
.donation-button {
display: flex;
flex-direction: column;
align-items: center;
min-width: 100px;
}
.donation-button a {
display: block;
text-decoration: none;
}
.donation-button img {
display: block;
max-width: 100%;
height: auto;
}
.currency-label {
margin-top: 5px;
text-align: center;
font-size: 0.9em;
}
.donation-button a:hover {
opacity: 0.9;
transform: translateY(-1px);
transition: all 0.2s ease;
}