visual stuff again
This commit is contained in:
parent
1642d62b82
commit
494f6b471e
10 changed files with 120 additions and 57 deletions
|
|
@ -6,6 +6,7 @@
|
|||
font-weight: 500;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
|
@ -13,6 +14,7 @@
|
|||
font-weight: 500;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-right: 1em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding-bottom: 0.25em;
|
||||
box-sizing: border-box;
|
||||
|
|
@ -22,26 +24,41 @@
|
|||
h4 {
|
||||
font-size: 1.1rem;
|
||||
margin-top: 1em;
|
||||
margin-right: 1em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0;
|
||||
margin-right: 1em;
|
||||
margin-bottom: 0.25em;
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.sidenote {
|
||||
margin-left: 5em;
|
||||
padding: 0.25em 1em;
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
margin-top: 0.2em;
|
||||
margin-bottom: 0;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"label control"
|
||||
". desc"
|
||||
". draft";
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: 2fr 3fr;
|
||||
column-gap: 0.5em;
|
||||
align-items: baseline;
|
||||
padding: 0.5em 0;
|
||||
|
|
@ -97,6 +114,14 @@
|
|||
&.two-column {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
margin-left: 2em;
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding-bottom: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
|
||||
.setting-item {
|
||||
grid-template-columns: 3fr 1fr;
|
||||
}
|
||||
|
||||
> li {
|
||||
margin: 0;
|
||||
|
|
@ -105,12 +130,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
margin-top: 0.2em;
|
||||
margin-bottom: 0;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.settings-modal-panel {
|
||||
overflow: hidden;
|
||||
transition: transform;
|
||||
|
|
@ -160,10 +179,9 @@
|
|||
}
|
||||
|
||||
.setting-item {
|
||||
border-bottom: 1px solid var(--border);
|
||||
grid-template-columns: 1fr min-content;
|
||||
column-gap: 0.5em;
|
||||
padding: 1em 0;
|
||||
padding: 1em 1em;
|
||||
align-items: center;
|
||||
|
||||
.setting-label {
|
||||
|
|
@ -173,6 +191,12 @@
|
|||
|
||||
ul {
|
||||
padding: 0;
|
||||
|
||||
li:not(:first-child) {
|
||||
.setting-item {
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.setting-list:not(.suboptions),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue