added font-size: inherit; on form elements

This commit is contained in:
raphaelgoetter 2013-08-06 17:40:48 +02:00
parent 958231a87d
commit 896610ed1a
3 changed files with 5 additions and 3 deletions

View file

@ -32,7 +32,7 @@ button,
input, input,
select { select {
font-family: helvetica, arial, sans-serif; font-family: helvetica, arial, sans-serif;
font-size: 100%; font-size: inherit;
margin: 0; margin: 0;
vertical-align: middle; vertical-align: middle;
} }

View file

@ -1,5 +1,5 @@
/* /*
* www.KNACSS.com V2.6l @author: Raphael Goetter, Alsacreations * www.KNACSS.com V2.6m (2013-07) @author: Raphael Goetter, Alsacreations
* Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/ * Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/
*/ */
@ -401,6 +401,7 @@ label,
.btn { .btn {
vertical-align: middle; /* @bugfix alignment */ vertical-align: middle; /* @bugfix alignment */
font-family: inherit; font-family: inherit;
font-size: inherit;
} }
textarea { textarea {
resize: vertical; resize: vertical;

View file

@ -1,5 +1,5 @@
/* /*
* www.KNACSS.com V2.6l @author: Raphael Goetter, Alsacreations * www.KNACSS.com V2.6m (2013-07) @author: Raphael Goetter, Alsacreations
* Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/ * Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/
*/ */
@ -552,6 +552,7 @@ label,
.btn { .btn {
vertical-align: middle; /* @bugfix alignment */ vertical-align: middle; /* @bugfix alignment */
font-family: inherit; font-family: inherit;
font-size: inherit;
} }
textarea { textarea {
resize: vertical; resize: vertical;