From 3e07e9aadb580c2d2a603a4934c37b2b5ada6cf0 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sun, 9 Apr 2023 16:38:14 -0500 Subject: [PATCH] Rearrange the resources --- actix/resources/index.html | 51 +---------------------- actix/resources/{js/main.js => script.js} | 0 actix/resources/styles.css | 45 ++++++++++++++++++++ 3 files changed, 47 insertions(+), 49 deletions(-) rename actix/resources/{js/main.js => script.js} (100%) create mode 100644 actix/resources/styles.css diff --git a/actix/resources/index.html b/actix/resources/index.html index 7e3723c..9fdfdb0 100644 --- a/actix/resources/index.html +++ b/actix/resources/index.html @@ -15,57 +15,10 @@ + - - - + diff --git a/actix/resources/js/main.js b/actix/resources/script.js similarity index 100% rename from actix/resources/js/main.js rename to actix/resources/script.js diff --git a/actix/resources/styles.css b/actix/resources/styles.css new file mode 100644 index 0000000..da4684c --- /dev/null +++ b/actix/resources/styles.css @@ -0,0 +1,45 @@ +.container { + max-width: 950px; + margin: 20px auto auto; +} + +table { + width: 100%; +} + +table tr td div { + max-height: 75px; + line-height: 25px; + word-wrap: break-word; + max-width: 575px; + overflow: auto; +} + +td[name="deleteBtn"] { + text-align: center; +} + +td[name="deleteBtn"] button { + border-radius: 50%; + border-style: solid; + cursor: pointer; + background-color: transparent; +} + +input { + width: 65%; +} + +form input[name="shortUrl"] { + text-transform: lowercase; +} + +form input[name="shortUrl"]::placeholder { + text-transform: none; +} + +div[name="gitlab"] { + position: absolute; + right: 0.5%; + bottom: 0.5%; +} \ No newline at end of file