Skip to content

Commit 198db9e

Browse files
authored
fix(faucet): add removed styles that are still in use (#13108)
Add removed styles
1 parent 168e48d commit 198db9e

File tree

3 files changed

+78
-2
lines changed

3 files changed

+78
-2
lines changed

cmd/lotus-fountain/site/datacap.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Grant DataCap - Lotus Fountain</title>
5-
<link rel="stylesheet" type="text/css" href="main.css">
5+
<link rel="stylesheet" type="text/css" href="faucet-components.css">
66
<script src="https://www.google.com/recaptcha/api.js"></script>
77
<script>
88
function onSubmit(token) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
2+
.Index {
3+
width: 100vw;
4+
height: 100vh;
5+
background-color: #f0f0f0;
6+
color: #333;
7+
font-family: 'Helvetica Neue', sans-serif;
8+
9+
display: grid;
10+
grid-template-columns: auto 40vw auto;
11+
grid-template-rows: auto auto auto 3em;
12+
grid-template-areas:
13+
". . . ."
14+
". main main ."
15+
". . . ."
16+
"footer footer footer footer";
17+
}
18+
19+
.Index-footer {
20+
background-color: #333;
21+
grid-area: footer;
22+
}
23+
24+
.Index-footer > div {
25+
padding-left: 0.7em;
26+
padding-top: 0.7em;
27+
}
28+
29+
.Index-nodes {
30+
grid-area: main;
31+
}
32+
33+
.Index-node {
34+
margin: 5px;
35+
padding: 15px;
36+
background-color: #fff;
37+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
38+
}
39+
40+
span {
41+
display: block;
42+
margin-bottom: 5px;
43+
}
44+
45+
input[type="text"] {
46+
width: 100%;
47+
padding: 10px;
48+
border-radius: 5px;
49+
border: 1px solid #ccc;
50+
margin-bottom: 10px;
51+
}
52+
53+
button {
54+
background-color: #4c9aff;
55+
color: #fff;
56+
border: none;
57+
border-radius: 5px;
58+
padding: 10px 20px;
59+
font-size: 1.2em;
60+
}
61+
62+
button:hover {
63+
background-color: #4c7eff;
64+
}
65+
66+
a:link {
67+
color: #333;
68+
}
69+
70+
a:visited {
71+
color: #333;
72+
}
73+
74+
a:hover {
75+
color: #555;
76+
}

cmd/lotus-fountain/site/funds.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>Sending Funds - Lotus Fountain</title>
5-
<link rel="stylesheet" type="text/css" href="main.css">
5+
<link rel="stylesheet" type="text/css" href="faucet-components.css">
66
<script src="https://www.google.com/recaptcha/api.js"></script>
77
<script>
88
function onSubmit(token) {

0 commit comments

Comments
 (0)