Replace obsolete normalize with a lightweight reset.
This commit is contained in:
parent
8974e915aa
commit
a1e745c686
1 changed files with 220 additions and 703 deletions
25
assets/sass/reset/forms/_forms.scss
Normal file
25
assets/sass/reset/forms/_forms.scss
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// Form defaults.
|
||||
|
||||
input,
|
||||
button,
|
||||
textarea,
|
||||
select {
|
||||
font: inherit;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
[type='search'] {
|
||||
// Correct the odd appearance in Chrome and Safari.
|
||||
-webkit-appearance: textfield;
|
||||
// Correct the outline style in Safari.
|
||||
outline-offset: -2px;
|
||||
}
|
||||
Loading…
Reference in a new issue