Improve size generalization & composability

This commit is contained in:
Yann Esposito (Yogsototh) 2022-10-26 20:05:53 +02:00
parent 1e29408400
commit 36cb28823d
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
3 changed files with 10 additions and 10 deletions

2
brut.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -18,7 +18,7 @@
cursor: pointer;
display: inline-block;
margin: 0 0.25em 0.25em 0;
padding: 1rem 2rem;
padding: 0.5rem 1rem;
box-shadow: 0.25em 0.25em var(--nl);
vertical-align: bottom;
}

View file

@ -10,11 +10,6 @@ body, textarea, input, select {
}
img { max-width: 100%; }
.addon, .sm, .nav, textarea, input, select {
outline: 0;
line-height: 1rem;
}
.container {
padding: 0 20px;
width: 100%;
@ -48,9 +43,14 @@ ul { padding: 0; margin-left: 1.5rem; }
summary:hover { cursor: pointer; }
table { font-size: 1rem; }
.sm { font-size: 0.75rem; line-height: 0.65rem; }
.big { font-size: 2rem; line-height: 2.8rem;}
.huge { font-size: 3rem; line-height: 4.1rem;}
.sm { font-size: 0.75rem; }
.big { font-size: 2rem; line-height: 1.5em; }
.huge { font-size: 4rem; line-height: 1.5em; }
.addon, .sm, .nav, textarea, input, select {
outline: 0;
line-height: 1em;
}
.hl { border-color: var(--fg);
}
p > .hl, li > .hl {