From 9a5b623f9c5b6af641b05bb43d8b60b8e5b17425 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 10 Nov 2020 15:59:17 +0100 Subject: [PATCH] =?UTF-8?q?Struktura=20styl=C5=AF=20pro=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index d10774c..0eb3f4b 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -132,31 +132,29 @@ main { grid-gap: 2em 1.5em; text-align: left; - div { - label { - color: #777; - } + label { + color: #777; + } - input, select { - width: 100%; - padding: .5em; - border: 1px solid #000; - font-size: 1.2em; - font-family: merriweather, serif; - background: inherit; - - &::placeholder { - font-size: .7em; - color: #bbb; - } - } + input, select { + width: 100%; + padding: .5em; + border: 1px solid #000; + font-size: 1.2em; + font-family: merriweather, serif; + background: inherit; - input[type="checkbox"] { - width: auto; + &::placeholder { + font-size: .7em; + color: #bbb; } } + input[type="checkbox"] { + width: auto; + } + input[type="submit"] { background: #C61730; color: #fff; @@ -164,8 +162,7 @@ main { padding: .8em; font-weight: bold; font-size: 1.2em; - font-family: merriweather, serif; - max-width: auto; + width: auto; margin: 0 auto; }