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">
<div class="Index-nodes"> <div class="Index-nodes">
<div class="Index-node"> <div class="Index-node">
[SENDING FUNDS] SENDING FUNDS
</div> </div>
<div class="Index-node"> <div class="Index-node">
<form action='/send' method='post' id='funds-form'> <form action='/send' method='post' id='funds-form'>

View File

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

View File

@ -1,7 +1,6 @@
body { body {
font-family: 'monospace'; font-family: 'Helvetica Neue', sans-serif;
background: #1f1f1f; background-color: #f0f0f0;
color: #f0f0f0;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
@ -9,9 +8,9 @@ body {
.Index { .Index {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: #1a1a1a; background-color: #f0f0f0;
color: #f0f0f0; color: #333;
font-family: monospace; font-family: 'Helvetica Neue', sans-serif;
display: grid; display: grid;
grid-template-columns: auto 40vw auto; grid-template-columns: auto 40vw auto;
@ -22,8 +21,9 @@ body {
". . . ." ". . . ."
"footer footer footer footer"; "footer footer footer footer";
} }
.Index-footer { .Index-footer {
background: #2a2a2a; background-color: #333;
grid-area: footer; grid-area: footer;
} }
@ -34,23 +34,49 @@ body {
.Index-nodes { .Index-nodes {
grid-area: main; grid-area: main;
background: #2a2a2a;
} }
.Index-node { .Index-node {
margin: 5px; margin: 5px;
padding: 15px; 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 { a:link {
color: #50f020; color: #333;
} }
a:visited { a:visited {
color: #50f020; color: #333;
} }
a:hover { a:hover {
color: #30a00a; color: #555;
} }