From 763ad7d72236658d662060806b4ca4de1f14860e Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Tue, 2 May 2023 12:15:28 +0200 Subject: [PATCH] rewrite v0.8 --- assets/posterg.css | 56 +++++++++++++++++++++++++++++----------------- error.log | 4 ++++ formulaire.php | 3 ++- thanks.php | 5 +++++ 4 files changed, 46 insertions(+), 22 deletions(-) create mode 100644 error.log diff --git a/assets/posterg.css b/assets/posterg.css index 371affc..7900234 100644 --- a/assets/posterg.css +++ b/assets/posterg.css @@ -2,10 +2,10 @@ font-family: police1; src: url("./fonts/Combinedd.otf"); } -/* - body { + + body{ background-color: white; - } */ + } /* ENTÊTE */ @@ -23,15 +23,12 @@ form label { font-family: police1; - /* font-size: 1rem; */ + font-size: 1rem; } - form input, select, textarea { border-color: #c104fc; - border-radius: 5px; - border-style: solid; overflow: visible; outline: none; background-color: white; @@ -42,24 +39,28 @@ border: 3px solid rgba(77, 168, 112, 1); } + label{ + margin-top: 2rem; + } + input { font-family: police1; - /* font-size: 1rem; */ font-weight: bold; - /* padding: 1.2rem; */ - border-radius: 16px; background-color: none; color: rgb(193, 4, 252); border: 1px solid rgb(193, 4, 252); - /* text-align: center; - text-decoration: none; - cursor: pointer; */ } -/* - input:hover { - background-color: rgb(193, 4, 252); - color: white; - } */ + + a{ + color: rgb(193, 4, 252); + } + + a:hover { + text-decoration: none; + } + a, a:visited { + color: rgb(193, 4, 252); + } input:active { border-color: rgba(77, 168, 112, 1); @@ -67,11 +68,24 @@ input { } button, [role="button"], input[type="submit"], input[type="reset"], input[type="button"], label[type="button"] { - background-color: rgb(193, 4, 252);; - + background-color: rgb(193, 4, 252); + margin-top: 2rem; } body > header h1 { - + color: white; margin: 3rem auto auto auto; } + + + + /* For Google Chrome, Safari, and newer versions of Opera */ +::placeholder { + /* color: rgb(213, 73, 255); */ + font-size: 0.8rem; +} + +/* For Mozilla Firefox */ +::-moz-placeholder { + /* color: rgb(213, 73, 255); */ + font-size: 0.8rem;} diff --git a/error.log b/error.log new file mode 100644 index 0000000..50e4fc6 --- /dev/null +++ b/error.log @@ -0,0 +1,4 @@ +[02-May-2023 10:04:39 UTC] PHP Fatal error: Uncaught Error: Class "Transliterator" not found in /home/lockpick/Projects/posterg-formulaire/formulaire.php:42 +Stack trace: +#0 {main} + thrown in /home/lockpick/Projects/posterg-formulaire/formulaire.php on line 42 diff --git a/formulaire.php b/formulaire.php index 2ddc671..b2c628d 100644 --- a/formulaire.php +++ b/formulaire.php @@ -3,10 +3,11 @@ // Configure error reporting ini_set('display_errors', 0); ini_set('log_errors', 1); -ini_set('error_log', 'path/to/your/error.log'); +ini_set('error_log', 'error.log'); require_once 'vendor/autoload.php'; use Symfony\Component\Yaml\Yaml; +use Behat\Transliterator\Transliterator; // Define variables $yamlFolder = "data/yaml/"; diff --git a/thanks.php b/thanks.php index c3bcd71..c54296d 100644 --- a/thanks.php +++ b/thanks.php @@ -1,4 +1,9 @@