1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

option button docs and some tweaks

This commit is contained in:
Jordan Scales
2020-04-21 10:09:54 -04:00
parent a464540a9c
commit 989320d6a0
3 changed files with 173 additions and 28 deletions

View File

@@ -27,7 +27,6 @@ aside .treeview {
}
h1 {
font-size: 5rem;
margin: 12px 0;
}
@@ -50,15 +49,13 @@ hr {
}
h2 {
font-size: 2.5rem;
margin-bottom: 12px;
}
h3 {
font-size: 2rem;
margin-top: 20px;
display: block;
flex: 0 0 120px;
flex: 0 0 180px;
}
p {
@@ -68,16 +65,7 @@ p {
.component {
display: flex;
}
.component > div {
margin-left: 32px;
padding-left: 32px;
border-left: 1px solid var(--button-shadow);
}
.component:not(:first) > div {
padding-top: 12px;
margin-top: 24px;
}
blockquote {
@@ -91,16 +79,23 @@ blockquote footer {
}
.example {
margin: 0 12px 24px;
margin: 16px 0;
padding: 12px 24px;
border-left: 1px solid var(--button-shadow);
}
.example:first {
details {
margin-top: 12px;
}
details,
summary {
margin: 12px 0;
user-select: none;
cursor: pointer;
display: inline;
}
details[open] summary {
margin-bottom: 8px;
}
button.focused {