diff --git a/root.go b/root.go
index 1d4a32c223cbc3a1de853f020350b4b74c1fe926..174ecf384a75a97f55c669d7254fa2a91ea3cf2e 100644
--- a/root.go
+++ b/root.go
@@ -142,7 +142,7 @@ func (m model) genTable() string {
table = table + fmt.Sprintf(`
%s |
%s |
- EditDelete |
+ EditDelete |
`, k, v, k, url.QueryEscape(string(v)), k)
return nil
})
diff --git a/templates/edit.html b/templates/edit.html
index 6fc71d5547eb641ddc5ebd56882ad62affe079da..91f7007e9b4b101f9da0826d4f6c19fb0c47f149 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -1,9 +1,3 @@
-
-
@@ -20,21 +14,23 @@ SPDX-License-Identifier: BSD-2-Clause
height: 100%;
margin: 0 auto;
}
+ html * {
+ font-size: 16px;
+ }
body {
min-height: 100%;
padding: 0;
margin: 0 auto;
display: flex;
flex-direction: column;
- justify-content: center;
- max-width: 450px;
+ max-width: 580px;
}
.title {
font-size: 50px;
}
form {
margin: 0 auto;
- width: min(300px, calc(70% + 100px));
+ width: min(350px, calc(70% + 100px));
text-align: left;
display: flex;
justify-content: center;
@@ -54,22 +50,21 @@ SPDX-License-Identifier: BSD-2-Clause
display: flex;
justify-content: space-between;
}
- details {
- margin: 20px 0;
- }
- .link_info {
- text-align: left;
- }
- table {
- text-align: center;
- }
- tr:nth-child(even) {
- background-color: #2B2B2B;
- } td > p {
- font-family: monospace;
+ .button {
+ background: #1C1C1C;
+ color: #DCDCDC;
+ border: solid 2px #DCDCDC;
+ border-radius: 5px;
+ padding: 7px;
+ margin: 8px;
+ text-decoration: none;
+ transition-duration: 0.2s;
+ cursor: pointer;
}
- td {
- padding: 10px;
+ .button:hover {
+ background: #DCDCDC;
+ color: #1C1C1C;
+ border-color: #DCDCDC;
}
@@ -86,7 +81,7 @@ SPDX-License-Identifier: BSD-2-Clause
-
+