From fabfb416e8102cc0d05233c96153c40bd89c293e Mon Sep 17 00:00:00 2001 From: Lars van Hijfte Date: Thu, 12 Jan 2017 12:14:09 +0100 Subject: [PATCH] Changed input default style This makes a clean overall style for the buttons, selects and input fields. Now it looks more the same in all the browsers. --- website/styles/header.css | 10 ++++------ website/styles/main.css | 21 ++++++++++++++++----- website/styles/search.css | 0 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 website/styles/search.css diff --git a/website/styles/header.css b/website/styles/header.css index dfbd8a0..d0c9d43 100644 --- a/website/styles/header.css +++ b/website/styles/header.css @@ -26,16 +26,14 @@ header { } #header-search input[type="text"] { - padding: 5px 10px; - height: 19px; - + padding: 0 5px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; } -#header-search input[type="submit"] { - margin: 0 0 0 -4px; - padding: 5px; +#header-search input[type="submit"] { + background: none; + color: white; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } diff --git a/website/styles/main.css b/website/styles/main.css index 52df4f0..f426fc0 100644 --- a/website/styles/main.css +++ b/website/styles/main.css @@ -43,6 +43,7 @@ body { .platform { padding: 20px; + margin-bottom: 10px; border-radius: 10px; background-color: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); @@ -65,11 +66,6 @@ body { border: 0; } - -input[type="text"] { - padding: 5px; -} - /* Move element down (clear), below floating elements */ .clear { clear: both; @@ -106,6 +102,10 @@ h5 { font-size: 1.4em; } +ul { + list-style-type: none; +} + p { font-size: 1.2em; } @@ -115,6 +115,17 @@ a, a:link, a:visited, a:hover, a:active { text-decoration: none; } +button, input, select { + width: auto; + height: 32px; + background: white; + cursor: pointer; + font-family: Arial; + font-size: 16px; + color: #3333333; + border: none; +} + /* Tables */ table { border-spacing: 0; diff --git a/website/styles/search.css b/website/styles/search.css new file mode 100644 index 0000000..e69de29