Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
26 changes: 17 additions & 9 deletions src/css/doc.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.doc {
padding: var(--base-space) 0;
}

.doc p {
margin: 0;
}
Expand Down Expand Up @@ -83,8 +87,8 @@
.doc h4 a.anchor::before,
.doc h5 a.anchor::before,
.doc h6 a.anchor::before {
content: '\f0c1';
font-family: 'Font Awesome 5 Free', sans-serif;
content: "\f0c1";
font-family: "Font Awesome 5 Free", sans-serif;
font-weight: 900;
}

Expand Down Expand Up @@ -489,7 +493,8 @@
.doc pre.highlight code {
/* background-color: #151514; */
color: var(--color-brand-gray1);
font-weight: var(--weight-normal); /* needed to override third-party styles */
font-weight: var(--weight-normal);
/* needed to override third-party styles */
padding-left: var(--base-small-space);
padding-right: var(--base-small-space);
padding-top: var(--base-large-space);
Expand Down Expand Up @@ -585,8 +590,7 @@
content: "";
display: inline-block;
background:
transparent
linear-gradient(
transparent linear-gradient(
180deg,
#f1f7fe0d 0%,
#f1f7fe40 18%,
Expand Down Expand Up @@ -875,6 +879,7 @@ code.language-console.hljs.shell {
.doc .tab-pane > :first-child {
margin-top: 0;
}

/* Media css */

@media screen and (min-width: 840px) {
Expand Down Expand Up @@ -1002,7 +1007,6 @@ code.language-console.hljs.shell {
}

@media screen and (max-width: 767px) {

.doc h1 {
font-size: var(--heading-h1-sm);
}
Expand Down Expand Up @@ -1037,8 +1041,12 @@ code.language-console.hljs.shell {
padding: 1.5rem;
}

.doc h1 > a.anchor, .doc h2 > a.anchor, .doc h3 > a.anchor, .doc h4 > a.anchor, .doc h5 > a.anchor, .doc h6 > a.anchor {
.doc h1 > a.anchor,
.doc h2 > a.anchor,
.doc h3 > a.anchor,
.doc h4 > a.anchor,
.doc h5 > a.anchor,
.doc h6 > a.anchor {
font-size: 18px;
}

}
}
2 changes: 1 addition & 1 deletion src/css/labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
.doc .edition,
.doc .status,
.doc .edition.page-edition {
color: #fff;
/* color: #fff; */
display: inline-block;
padding: 6px;
text-transform: uppercase;
Expand Down
1 change: 0 additions & 1 deletion src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,4 @@ main p {
.article-banner p .fab {
font-size: 1.2rem;
}

}
11 changes: 5 additions & 6 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,9 @@
--admonition-icon-space: 1rem;
--admonition-content-space: 1rem;

/* Heading fonts for responsive */
--heading-h1-sm: 2.25rem; /* ~36px */
--heading-h2-sm: 1.75rem; /* ~28px */
--heading-h3-sm: 1.25rem; /* ~20px */
--heading-h4-sm: 0.875rem; /* ~14px */

/* Heading fonts for responsive */
--heading-h1-sm: 2.25rem; /* ~36px */
--heading-h2-sm: 1.75rem; /* ~28px */
--heading-h3-sm: 1.25rem; /* ~20px */
--heading-h4-sm: 0.875rem; /* ~14px */
}