Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit a70a339

Browse files
rangle-fatimajelbourn
authored andcommitted
API reference text tweaks
1 parent cc41474 commit a70a339

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

src/styles/_typography-theme.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99

1010
.docs-component-viewer-tabbed-content,
1111
.docs-guide-content {
12-
h1 {
13-
color: mat-color($primary, 800);
14-
background: rgba(mat-color($foreground, text), .03);
15-
}
12+
h1 {
13+
color: mat-color($primary, 800);
14+
background: rgba(mat-color($foreground, text), .03);
1615

1716
h3, h2, h4, h5, p, ol, li{
1817
color: mat-color($foreground, text);
@@ -39,5 +38,9 @@
3938
color: mat-color($foreground, text);
4039
background: rgba(mat-color($foreground, secondary-text), .03);
4140
}
41+
42+
.docs-api-method-name-cell {
43+
color: md-color($primary, 800);
44+
}
4245
}
4346
}

src/styles/_typography.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,25 @@
3636
text-decoration: none;
3737
}
3838

39+
.docs-api-input-marker,
40+
.docs-api-output-marker {
41+
font-weight: 500;
42+
padding-bottom:: 5px;
43+
}
44+
45+
.docs-api-method-name-cell {
46+
font-weight: 500;
47+
}
48+
49+
.docs-api-method-parameters-header-cell,
50+
.docs-api-method-returns-header-cell {
51+
font-size: 14px;
52+
}
53+
54+
.md-tab-body-wrapper h2 {
55+
margin-top: 0px;
56+
}
57+
3958
table {
4059
border-collapse: collapse;
4160
border-radius: 2px;
@@ -52,7 +71,7 @@
5271

5372
td {
5473
font-weight: 400;
55-
padding: 8px 30px;
74+
padding: 15px 30px;
5675

5776
p {
5877
margin: 0;
@@ -65,5 +84,6 @@
6584
padding: 13px 32px;
6685
text-align: left;
6786
}
87+
6888
}
6989
}

0 commit comments

Comments
 (0)