Make lotus-fountain UI slightly friendlier

CSS generated by ChatGTP
This commit is contained in:
Maciej Witowski 2023-04-28 17:01:33 +02:00
parent e6c8072f50
commit c6bda331b8
3 changed files with 45 additions and 19 deletions

View File

@ -15,7 +15,7 @@
<div class="Index">
<div class="Index-nodes">
<div class="Index-node">
[SENDING FUNDS]
SENDING FUNDS
</div>
<div class="Index-node">
<form action='/send' method='post' id='funds-form'>

View File

@ -8,10 +8,10 @@
<div class="Index">
<div class="Index-nodes">
<div class="Index-node">
[LOTUS DEVNET FAUCET]
LOTUS DEVNET FAUCET
</div>
<div class="Index-node">
<a href="funds.html">[Send Funds]</a>
<a href="funds.html">Send Funds</a>
</div>
</div>
<div class="Index-footer">

View File

@ -1,7 +1,6 @@
body {
font-family: 'monospace';
background: #1f1f1f;
color: #f0f0f0;
font-family: 'Helvetica Neue', sans-serif;
background-color: #f0f0f0;
padding: 0;
margin: 0;
}
@ -9,21 +8,22 @@ body {
.Index {
width: 100vw;
height: 100vh;
background: #1a1a1a;
color: #f0f0f0;
font-family: monospace;
background-color: #f0f0f0;
color: #333;
font-family: 'Helvetica Neue', sans-serif;
display: grid;
grid-template-columns: auto 40vw auto;
grid-template-rows: auto auto auto 3em;
grid-template-areas:
". . . ."
". main main ."
". . . ."
"footer footer footer footer";
". . . ."
". main main ."
". . . ."
"footer footer footer footer";
}
.Index-footer {
background: #2a2a2a;
background-color: #333;
grid-area: footer;
}
@ -34,23 +34,49 @@ body {
.Index-nodes {
grid-area: main;
background: #2a2a2a;
}
.Index-node {
margin: 5px;
padding: 15px;
background: #1f1f1f;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
span {
display: block;
margin-bottom: 5px;
}
input[type="text"] {
width: 100%;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
margin-bottom: 10px;
}
button {
background-color: #4c9aff;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 1.2em;
}
button:hover {
background-color: #555;
}
a:link {
color: #50f020;
color: #333;
}
a:visited {
color: #50f020;
color: #333;
}
a:hover {
color: #30a00a;
color: #555;
}