Improve size generalization & composability
This commit is contained in:
parent
1e29408400
commit
36cb28823d
3 changed files with 10 additions and 10 deletions
2
brut.min.css
vendored
2
brut.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 0.25em 0.25em 0;
|
margin: 0 0.25em 0.25em 0;
|
||||||
padding: 1rem 2rem;
|
padding: 0.5rem 1rem;
|
||||||
box-shadow: 0.25em 0.25em var(--nl);
|
box-shadow: 0.25em 0.25em var(--nl);
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,6 @@ body, textarea, input, select {
|
||||||
}
|
}
|
||||||
img { max-width: 100%; }
|
img { max-width: 100%; }
|
||||||
|
|
||||||
.addon, .sm, .nav, textarea, input, select {
|
|
||||||
outline: 0;
|
|
||||||
line-height: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -48,9 +43,14 @@ ul { padding: 0; margin-left: 1.5rem; }
|
||||||
summary:hover { cursor: pointer; }
|
summary:hover { cursor: pointer; }
|
||||||
table { font-size: 1rem; }
|
table { font-size: 1rem; }
|
||||||
|
|
||||||
.sm { font-size: 0.75rem; line-height: 0.65rem; }
|
.sm { font-size: 0.75rem; }
|
||||||
.big { font-size: 2rem; line-height: 2.8rem;}
|
.big { font-size: 2rem; line-height: 1.5em; }
|
||||||
.huge { font-size: 3rem; line-height: 4.1rem;}
|
.huge { font-size: 4rem; line-height: 1.5em; }
|
||||||
|
.addon, .sm, .nav, textarea, input, select {
|
||||||
|
outline: 0;
|
||||||
|
line-height: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.hl { border-color: var(--fg);
|
.hl { border-color: var(--fg);
|
||||||
}
|
}
|
||||||
p > .hl, li > .hl {
|
p > .hl, li > .hl {
|
||||||
|
|
Loading…
Reference in a new issue