Skip to content

Commit 2f2bc0e

Browse files
authored
Merge pull request #12 from rakeshAlgo/style-guide-ui
Status label and other UI issues fixes.
2 parents 2927bf8 + 0f7ab4e commit 2f2bc0e

File tree

4 files changed

+23
-17
lines changed

4 files changed

+23
-17
lines changed

src/css/doc.css

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.doc {
2+
padding: var(--base-space) 0;
3+
}
4+
15
.doc p {
26
margin: 0;
37
}
@@ -83,8 +87,8 @@
8387
.doc h4 a.anchor::before,
8488
.doc h5 a.anchor::before,
8589
.doc h6 a.anchor::before {
86-
content: '\f0c1';
87-
font-family: 'Font Awesome 5 Free', sans-serif;
90+
content: "\f0c1";
91+
font-family: "Font Awesome 5 Free", sans-serif;
8892
font-weight: 900;
8993
}
9094

@@ -489,7 +493,8 @@
489493
.doc pre.highlight code {
490494
/* background-color: #151514; */
491495
color: var(--color-brand-gray1);
492-
font-weight: var(--weight-normal); /* needed to override third-party styles */
496+
font-weight: var(--weight-normal);
497+
/* needed to override third-party styles */
493498
padding-left: var(--base-small-space);
494499
padding-right: var(--base-small-space);
495500
padding-top: var(--base-large-space);
@@ -585,8 +590,7 @@
585590
content: "";
586591
display: inline-block;
587592
background:
588-
transparent
589-
linear-gradient(
593+
transparent linear-gradient(
590594
180deg,
591595
#f1f7fe0d 0%,
592596
#f1f7fe40 18%,
@@ -875,6 +879,7 @@ code.language-console.hljs.shell {
875879
.doc .tab-pane > :first-child {
876880
margin-top: 0;
877881
}
882+
878883
/* Media css */
879884

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

10041009
@media screen and (max-width: 767px) {
1005-
10061010
.doc h1 {
10071011
font-size: var(--heading-h1-sm);
10081012
}
@@ -1037,8 +1041,12 @@ code.language-console.hljs.shell {
10371041
padding: 1.5rem;
10381042
}
10391043

1040-
.doc h1 > a.anchor, .doc h2 > a.anchor, .doc h3 > a.anchor, .doc h4 > a.anchor, .doc h5 > a.anchor, .doc h6 > a.anchor {
1044+
.doc h1 > a.anchor,
1045+
.doc h2 > a.anchor,
1046+
.doc h3 > a.anchor,
1047+
.doc h4 > a.anchor,
1048+
.doc h5 > a.anchor,
1049+
.doc h6 > a.anchor {
10411050
font-size: 18px;
10421051
}
1043-
1044-
}
1052+
}

src/css/labels.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
.doc .edition,
4949
.doc .status,
5050
.doc .edition.page-edition {
51-
color: #fff;
51+
/* color: #fff; */
5252
display: inline-block;
5353
padding: 6px;
5454
text-transform: uppercase;

src/css/main.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,4 @@ main p {
155155
.article-banner p .fab {
156156
font-size: 1.2rem;
157157
}
158-
159158
}

src/css/vars.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@
121121
--admonition-icon-space: 1rem;
122122
--admonition-content-space: 1rem;
123123

124-
/* Heading fonts for responsive */
125-
--heading-h1-sm: 2.25rem; /* ~36px */
126-
--heading-h2-sm: 1.75rem; /* ~28px */
127-
--heading-h3-sm: 1.25rem; /* ~20px */
128-
--heading-h4-sm: 0.875rem; /* ~14px */
129-
124+
/* Heading fonts for responsive */
125+
--heading-h1-sm: 2.25rem; /* ~36px */
126+
--heading-h2-sm: 1.75rem; /* ~28px */
127+
--heading-h3-sm: 1.25rem; /* ~20px */
128+
--heading-h4-sm: 0.875rem; /* ~14px */
130129
}

0 commit comments

Comments
 (0)