From 67df3911b6ce41fb3888b695362ac1a9a0c3f13d Mon Sep 17 00:00:00 2001 From: mpabi Date: Thu, 10 Oct 2024 13:19:44 +0200 Subject: [PATCH] css reordered --- style.css | 60 ------------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 style.css diff --git a/style.css b/style.css deleted file mode 100644 index c87d034..0000000 --- a/style.css +++ /dev/null @@ -1,60 +0,0 @@ -body { - /* Center the form on the page */ - text-align: center; - } - - form { - display: inline-block; - /* Form outline */ - padding: 1em; - border: 1px solid #ccc; - border-radius: 1em; - } - - p + p { - margin-top: 1em; - } - - label { - /* Uniform size & alignment */ - display: inline-block; - min-width: 90px; - text-align: right; - } - - input, - textarea { - /* To make sure that all text fields have the same font settings - By default, textareas have a monospace font */ - font: 1em sans-serif; - /* Uniform text field size */ - width: 300px; - box-sizing: border-box; - /* Match form field borders */ - border: 1px solid #999; - } - - input:focus, - textarea:focus { - /* Additional highlight for focused elements */ - border-color: #000; - } - - textarea { - /* Align multiline text fields with their labels */ - vertical-align: top; - /* Provide space to type some text */ - height: 5em; - } - - .button { - /* Align buttons with the text fields */ - padding-left: 90px; /* same size as the label elements */ - } - - button { - /* This extra margin represent roughly the same space as the space - between the labels and their text fields */ - margin-left: 0.5em; - } - \ No newline at end of file