clean up, add textarea
This commit is contained in:
parent
828baf4a4d
commit
18fc398465
1 changed files with 17 additions and 13 deletions
|
|
@ -73,14 +73,12 @@ canvas {
|
||||||
shape-margin: 0.75rem;
|
shape-margin: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inherit fonts for inputs and buttons */
|
|
||||||
|
|
||||||
/* remove default button styles */
|
/* remove default button styles */
|
||||||
|
|
||||||
button {
|
button {
|
||||||
all: unset;
|
all: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Inherit fonts for inputs and buttons */
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
textarea,
|
textarea,
|
||||||
|
|
@ -88,23 +86,29 @@ select {
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make sure textareas without a rows attribute are not tiny */
|
||||||
|
textarea:not([rows]) {
|
||||||
|
min-height: 10em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Adding cursor style to interactive elements */
|
/* Adding cursor style to interactive elements */
|
||||||
button,
|
button,
|
||||||
[type='button'],
|
label,
|
||||||
[type='reset'],
|
select,
|
||||||
[type='submit'],
|
summary,
|
||||||
[type='image'],
|
[role='button'],
|
||||||
[type='checkbox'],
|
[role='option'] {
|
||||||
[type='radio'],
|
|
||||||
summary {
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
:where(*) {
|
/* No typographic widows */
|
||||||
/* No typographic widows */
|
* {
|
||||||
text-wrap: pretty;
|
text-wrap: pretty;
|
||||||
}
|
}
|
||||||
:where(h1, h2, h3, h4) {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4 {
|
||||||
text-wrap: balance;
|
text-wrap: balance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue