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

API reference text tweaks #81

Closed
wants to merge 2 commits into from
Closed
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
64 changes: 34 additions & 30 deletions src/styles/_typography-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,39 @@

.docs-component-viewer-tabbed-content,
.docs-guide-content {
h1 {
color: mat-color($primary, 800);
background: rgba(mat-color($foreground, text), .03);
}

h3, h2, h4, h5, p, ol, li{
color: mat-color($foreground, text);
}

a {
color: mat-color($primary);
}

table {
box-shadow: 0 2px 2px rgba(0,0,0,0.24), 0 0 2px rgba(0,0,0,0.12);
}

table tbody th{
border: 1px solid rgba(mat-color($foreground, text), .03);
}

td {
color: mat-color($foreground, text);
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
}

th {
color: mat-color($foreground, text);
background: rgba(mat-color($foreground, secondary-text), .03);
}
h1 {
color: mat-color($primary, 800);
background: rgba(mat-color($foreground, text), .03);
}

h3, h2, h4, h5, p, ol, li{
color: mat-color($foreground, text);
}

a {
color: mat-color($primary);
}

table {
box-shadow: 0 2px 2px rgba(0,0,0,0.24), 0 0 2px rgba(0,0,0,0.12);
}

table tbody th{
border: 1px solid rgba(mat-color($foreground, text), .03);
}

td {
color: mat-color($foreground, text);
border: 1px solid rgba(mat-color($foreground, secondary-text), .03);
}

th {
color: mat-color($foreground, text);
background: rgba(mat-color($foreground, secondary-text), .03);
}

.docs-api-method-name-cell {
color: md-color($primary, 800);
}
}
}
22 changes: 21 additions & 1 deletion src/styles/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,25 @@
text-decoration: none;
}

.docs-api-input-marker,
.docs-api-output-marker {
font-weight: 500;
padding-bottom:: 5px;
}

.docs-api-method-name-cell {
font-weight: 500;
}

.docs-api-method-parameters-header-cell,
.docs-api-method-returns-header-cell {
font-size: 14px;
}

.md-tab-body-wrapper h2 {
margin-top: 0px;
}

table {
border-collapse: collapse;
border-radius: 2px;
Expand All @@ -52,7 +71,7 @@

td {
font-weight: 400;
padding: 8px 30px;
padding: 15px 30px;

p {
margin: 0;
Expand All @@ -65,5 +84,6 @@
padding: 13px 32px;
text-align: left;
}

}
}