Sync shows/disappears
This commit is contained in:
parent
25b763703d
commit
1f24f1f2f2
4 changed files with 67 additions and 44 deletions
|
|
@ -4,53 +4,69 @@
|
|||
.heading-container {
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
grid-gap: 16px;
|
||||
grid-gap: 12px;
|
||||
white-space: nowrap;
|
||||
align-items: center;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 32px;
|
||||
margin-top: 32px !important;
|
||||
.line {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
border-bottom: 1px solid var(--line-color);
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
border-bottom: 1px solid #ccc;
|
||||
&[data-heading="1"] {
|
||||
margin-top: 64px;
|
||||
}
|
||||
|
||||
display: inline-block;
|
||||
font-size: 1.25em;
|
||||
&[data-heading="2"],
|
||||
&[data-heading="3"] {
|
||||
margin-top: 16px;
|
||||
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
background-color: var(--color1);
|
||||
padding: 4px 12px;
|
||||
.line {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
h1 {
|
||||
border-bottom: 1px solid #ccc;
|
||||
|
||||
}
|
||||
display: inline-block;
|
||||
font-size: 1.25em;
|
||||
|
||||
h2 {
|
||||
font-size: 1.25em;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
color: var(--color1);
|
||||
}
|
||||
clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
|
||||
|
||||
h2+.line,
|
||||
h3+.line {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
color: #fff;
|
||||
background-color: var(--color1);
|
||||
padding: 4px 24px 4px 16px;
|
||||
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.25em;
|
||||
margin-top: 16px;
|
||||
margin-bottom: 0px;
|
||||
color: var(--color1);
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
|
||||
&:before {
|
||||
font-size: 1.0em;
|
||||
content: "> ";
|
||||
color: var(--color1);
|
||||
}
|
||||
}
|
||||
|
||||
h3:before {
|
||||
font-size: 1.0em;
|
||||
content: "> ";
|
||||
color: var(--color1);
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue