diff options
author | pacollins <thepatrickcollins@gmail.com> | 2017-06-24 07:46:53 +0300 |
---|---|---|
committer | pacollins <thepatrickcollins@gmail.com> | 2017-06-24 07:46:53 +0300 |
commit | 08b1428afc8a4900752bb2836ff9b89c478dac98 (patch) | |
tree | 607c139e9ed13dc761f89114f91d6b1936679579 /static | |
parent | a8f78718bd0c4f0f8eb96077e72f36c3f196ac9f (diff) |
Addition of Contact Form and :hover for forms.
Diffstat (limited to 'static')
-rw-r--r-- | static/css/main.css | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/static/css/main.css b/static/css/main.css index cb27f26..c974ae0 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1836,12 +1836,12 @@ margin: 0 0 2em 0; } - form.search { + form.search, form.contact { text-decoration: none; position: relative; } - form.search:before { + form.search:before, form.contact:before { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-family: FontAwesome; @@ -1850,7 +1850,7 @@ text-transform: none !important; } - form.search:before { + form.search:before, form.contact:before { color: #aaaaaa; content: '\f002'; display: block; @@ -1863,7 +1863,7 @@ width: 2.5em; } - form.search > input:first-child { + form.search > input:first-child, form.contact > input:first-child { padding-left: 2.5em; } @@ -1906,6 +1906,18 @@ box-shadow: none; } + input[type="text"]:hover, + input[type="password"]:hover, + input[type="email"]:hover, + input[type="tel"]:hover, + select:hover, + textarea:hover { + -webkit-transition:border-color 0.3s ease-in-out; + moz-transition:border-color 0.3s ease-in-out; + transition:border-color 0.3s ease-in-out; + border-color: #2ebaae; + } + input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, |