diff --git a/app/public/css/custom.css b/app/public/css/custom.css new file mode 100644 index 0000000..f5d38e4 --- /dev/null +++ b/app/public/css/custom.css @@ -0,0 +1,27 @@ + +:root { + --form-element-spacing-vertical: .15rem; + --form-element-spacing-horizontal: 1rem; + --border-radius: .10rem; + --line-height: 1.3; +} + +footer { + text-align: right; +} + +textarea { + height: 80vh; + font-family: monospace; +} + +header button { + margin-top: var(--spacing); +} + +header a { + display: block; + margin-top: var(--spacing); + margin-bottom: var(--spacing); + text-align: center; +} diff --git a/app/public/index.php b/app/public/index.php index b6267db..ac957ee 100644 --- a/app/public/index.php +++ b/app/public/index.php @@ -23,7 +23,7 @@ $buttons = [ $str = $result = $_GET['str'] ?? ''; $action = $_GET['action'] ?? ''; -$help = 'https://www.php.net/manual/en/index.php'; +$help = 'https://www.php.net/manual/'; if ($action == 'reset') { http_response_code(302); @@ -116,44 +116,38 @@ if ($action == 'reset') { - + - Encode/Decode everything - + Decode/Encode everything + - - - + + - +
-
+
$label) { ?> - + - Reset - Help -
+ Reset + Help + -
- -
+
+ +
+ +
- -
- Contact me via email or twitter. Made with pure PHP and Spectre. Code. -