Skip to content

Commit 41ff35b

Browse files
authored
Merge pull request #26 from rakeshAlgo/ui-fixes
Docs-Sandbox-Site-Validation UI Fixes.
2 parents 7153fa6 + e2473a9 commit 41ff35b

File tree

12 files changed

+315
-48
lines changed

12 files changed

+315
-48
lines changed

package-lock.json

Lines changed: 227 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/base.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ body {
1616

1717
body {
1818
color: var(--color-text);
19-
font-family: "Open Sans", sans-serif;
20-
/* font-family: "Gotham", sans-serif; */
19+
font-family: "Source Sans Pro", sans-serif;
2120
line-height: var(--line-height-body);
2221
margin: 0;
2322
}
@@ -59,14 +58,14 @@ button::-moz-focus-inner {
5958
code,
6059
kbd,
6160
pre {
62-
/* font-family: "Roboto Mono", monospace; */
63-
font-family: "Source Code Pro", sans-serif;
61+
font-family: 'Source Code Pro', monospace;
6462
}
6563

6664
code {
67-
color: var(--color-brand-black);
68-
font-size: var(--font-base);
65+
background-color: #0074e00e;
66+
font-size: var(--font-small);
6967
word-spacing: -0.125em;
68+
color: var(--color-brand-gray1);
7069
}
7170

7271
html code {
@@ -82,6 +81,13 @@ small {
8281
font-size: 0.8em;
8382
}
8483

84+
em,
85+
i {
86+
font-style: italic;
87+
font-family: "Open Sans", sans-serif;
88+
font-weight: 400;
89+
}
90+
8591
.container,
8692
.container-fluid {
8793
margin: 0 auto;

src/css/component-frame.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,10 @@
7878
border-left: 3px solid var(--color-brand-gray8);
7979
}
8080

81-
.frame-dropdown ul.frame-dropdown-list li,
81+
/* .frame-dropdown ul.frame-dropdown-list li,
8282
.frame-dropdown ul.related li {
8383
border-bottom: 1px solid var(--color-brand-gray8);
84-
/* padding-bottom: 5px; */
85-
/* margin-bottom: 5px; */
86-
}
84+
} */
8785

8886
ul.frame-dropdown-list li:last-child,
8987
.frame-dropdown ul.related li:last-child {

src/css/doc.css

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
font-weight: var(--weight-semibold);
1616
letter-spacing: -0.025rem;
1717
line-height: var(--line-height-heading);
18-
margin: 1.5rem 0 -0.25rem;
18+
margin: 1.5rem 0 1rem;
1919
}
2020

2121
.doc h1 {
@@ -32,21 +32,20 @@
3232

3333
.doc h2 {
3434
font-size: var(--heading-h2);
35-
margin: 1.5rem 0 1.5rem;
3635
max-width: fit-content;
3736
display: inline-block;
3837
width: 100%;
3938
/* NOTE used to restrict width of key line */
4039
}
4140

42-
.doc h2::after {
41+
/* .doc h2::after {
4342
content: "";
4443
display: block;
4544
max-width: 5.75rem;
4645
height: 0;
4746
outline: 0.5px solid currentColor;
4847
margin-top: 1.0625rem;
49-
}
48+
} */
5049

5150
.doc h3 {
5251
font-size: var(--heading-h3);
@@ -109,10 +108,10 @@
109108
text-decoration: underline;
110109
}
111110

112-
.doc code {
111+
/* .doc code {
113112
color: var(--color-text);
114113
font-weight: var(--weight-medium);
115-
}
114+
} */
116115

117116
.doc pre code {
118117
display: block;
@@ -484,9 +483,9 @@
484483
}
485484

486485
.doc .exampleblock > .content {
487-
/* background-color: var(--color-shade); */
488-
box-shadow: inset 0 0 1px #bec0c1;
489-
/* padding: 1rem 1.25rem; */
486+
box-shadow: 0 3px 10px #0000000f;
487+
padding: 20px;
488+
border: 1px solid var(--color-brand-gray8);
490489
}
491490

492491
.doc .exampleblock > .content > :first-child {
@@ -540,17 +539,17 @@
540539
position: relative;
541540
}
542541

543-
.doc pre.highlight .hljs-attr {
542+
/* .doc pre.highlight .hljs-attr {
544543
color: var(--hljs-attr);
545-
}
544+
} */
546545

547-
.doc pre.highlight .hljs-string {
546+
/* .doc pre.highlight .hljs-string {
548547
color: var(--hljs-string);
549-
}
548+
} */
550549

551-
.doc pre.highlight .hljs-number {
550+
/* .doc pre.highlight .hljs-number {
552551
color: var(--hljs-number);
553-
}
552+
} */
554553

555554
/* .doc .listingblock code[data-lang]::before {
556555
content: attr(data-lang);
@@ -590,14 +589,14 @@
590589
font-family: "Source Sans Pro", sans-serif;
591590
padding-right: 0.5rem;
592591
border-right: 1px solid var(--color-brand-gray9);
592+
z-index: 1;
593593
}
594594

595595
.doc .listingblock:hover code[data-lang] + .data-source {
596596
display: block;
597597
}
598598

599599
.doc .listingblock pre .fade-shadow {
600-
content: "";
601600
display: inline-block;
602601
background:
603602
transparent

0 commit comments

Comments
 (0)