Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/css/content/cheatsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/* h2 */

.page-cheatmd .content-inner h2 {
font-size: 1.6rem;
margin: var(--vertical-space) 0;
column-span: all;
color: var(--gray700);
Expand All @@ -36,6 +37,7 @@
/* h3 */

.page-cheatmd .content-inner h3 {
font-size: 1.375rem;
margin: 0 0 1em;
font-weight: 400;
}
Expand Down Expand Up @@ -66,6 +68,7 @@
/* h4 */

.page-cheatmd .content-inner h4 {
font-size: 1rem;
display: block;
margin: 0;
padding: 0.25em var(--horizontal-space);
Expand Down
1 change: 1 addition & 0 deletions assets/css/content/functions.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
font-size: 13px;
font-weight: 700;
line-height: 2em;
margin: 0;
}

.content-inner .detail-header:hover a.detail-link,
Expand Down
63 changes: 45 additions & 18 deletions assets/css/content/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
color: var(--textHeaders);
}

.content-inner h1 {
font-size: 2em;
margin: 0.5em 0;
}

.content-inner h1.section-heading {
margin: 1.5em 0 0.5em;
}

.content-inner div.group-description {
margin: 0 0 3em;
}
Expand All @@ -79,15 +70,39 @@
font-weight: 400;
}

.content-inner h2 {
font-size: 1.6em;
padding-top: 1em;
margin-bottom: 0.5em;
}
.content-inner {
& h1 {
font-size: 2rem;
margin-top: 1.75em;
}

& h2,
& #summary h1,
.details-list h1 {
font-size: 1.75rem;
margin-top: 1.5em;
}

.content-inner h3 {
font-size: 1.375em;
margin: 1em 0 0.5em;
& h3,
& .summary h2 {
font-size: 1.45rem;
margin-top: 1.5em;
margin-bottom: 0.5em;
}

& :is(h4, h5, h6) {
font-size: 1.15rem;
margin-top: 1.25em;
margin-bottom: 0.5em;
}

& :is(h5, h6) {
font-weight: normal;
}

& h6 {
font-size: 1rem;
}
}

.content-inner li + li {
Expand Down Expand Up @@ -140,6 +155,18 @@
overflow: auto;
border-radius: var(--borderRadius-base);

& :is(h1, h2, h3, h4, h5, h6) {
margin: 1.25rem 0;
}

& :is(h1, h2, h3) {
font-size: 1.375rem;
}

& :is(h4, h5, h6) {
font-size: 1rem;
}

& :is(code, pre code) {
background-color: var(--admCodeBackground);
border: 1px solid var(--admCodeBorder);
Expand All @@ -151,7 +178,7 @@
}

& :is(h1, h2, h3, h4, h5, h6):first-child {
padding-bottom: 1em;
padding-bottom: 1rem;
border-bottom: 2px solid hsl(from currentColor h s l / 15%);
}

Expand Down
1 change: 1 addition & 0 deletions assets/css/tooltips.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ as it has absolute positioning, so doesn't impact the layout and click events pa
min-width: 320px;
width: 100%;
line-height: 1em;
margin: .75em 0;
}

.tooltip .tooltip-body .detail-header {
Expand Down