This commit is contained in:
Daniel Ledda
2024-11-02 15:49:07 +01:00
parent 0ae2811eeb
commit 9eb1701250
12 changed files with 303 additions and 134 deletions

View File

@@ -46,8 +46,20 @@ span.tag {
.header {
margin-top: 20px;
display: flex;
justify-content: space-between;
text-align: center;
button {
margin-top: 10px;
}
@media (min-width: 370px) {
display: flex;
justify-content: space-between;
button {
margin: 0;
}
}
}
[data-tunit] {
@@ -60,22 +72,24 @@ span.tag {
}
button.swap {
background-color: white;
background-color: rgb(96, 128, 96);
height: 25px;
width: 25px;
font-size: 16px;
border-radius: 3px;
border: solid 1px gray;
font-size: 18px;
border-radius: 6px;
border: 0;
cursor: pointer;
position: absolute;
color: white;
top: 5px;
right: 5px;
opacity: 0%;
transition: opacity 150ms;
font-weight: bold;
transition: background-color 150ms, opacity 150ms;
}
button.swap:hover {
background-color: lightgray;
background-color: rgb(57, 85, 57);
}
[data-tunit]:hover > button.swap {
@@ -166,21 +180,33 @@ footer {
margin-bottom: 20px;
.bottom {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
text-align: center;
display: block;
> * {
flex: 1;
}
.dj-donate {
text-align: right;
margin-top: 16px;
}
img {
display: inline-block;
}
}
@media (min-width: 600px) {
.bottom {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
> * {
flex: 1;
}
.dj-donate {
text-align: right;
}
}
}
}
.ge-calculator {