diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-16 18:37:12 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-16 18:37:12 +0900 |
commit | 3ad35832835fa0554b6fa28b74e9b7d21283392b (patch) | |
tree | 41f44e442e964e0ec0da38392b5518bd9f964989 /eg | |
parent | 64c3842e02e65bb173d275e4ac2cdbea5afcf562 (diff) | |
download | hybring-main.tar.gz |
Diffstat (limited to 'eg')
-rw-r--r-- | eg/hybring.conf | 14 | ||||
-rw-r--r-- | eg/style.css | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/eg/hybring.conf b/eg/hybring.conf new file mode 100644 index 0000000..0d202a0 --- /dev/null +++ b/eg/hybring.conf @@ -0,0 +1,14 @@ +[general] +sock = hybring.sock +db = db.sqlite +css = style.css + +[opennic] +local = opennic +remote = http://0.0.0.0:8910/ +api = join + +[icann] +local = icann +remote = http://127.0.0.1:8910/ +api = join diff --git a/eg/style.css b/eg/style.css new file mode 100644 index 0000000..5a109e6 --- /dev/null +++ b/eg/style.css @@ -0,0 +1,22 @@ +html { + margin: auto; + max-width: 72ch; +} +body { margin-bottom: 2rem } +h1, h2, h3, h4, h5, h6 { margin: 1ex 0 } +a { text-decoration: none } +a:hover { text-decoration: underline } +form { + display: grid; + grid-template-columns: max-content 1fr 0; +} +form input { margin-bottom: 1ex } +form label { + align-self: center; + margin-right: 1ch; +} +form label.error { + color: ActiveText; + margin-top: -1ex; + margin-bottom: 1ex; +} |