build(docs-infra): implement the 'package' API template (#24631)

PR Close #24631
This commit is contained in:
Pete Bacon Darwin
2018-06-22 16:58:29 +01:00
committed by Matias Niemelä
parent 97277bc9fb
commit d8c828c9b1
23 changed files with 399 additions and 59 deletions

View File

@ -28,7 +28,7 @@ h2 {
h3 {
font-size: 20px;
font-weight: 400;
margin: 24px 0px;
margin: 24px 0px 12px;
clear: both;
}
@ -55,6 +55,10 @@ h6 {
}
h2, h3, h4, h5, h6 {
a {
font-size: inherit;
}
@media screen and (max-width: 600px) {
margin: 8px 0;
}
@ -105,7 +109,7 @@ table {
border-collapse: collapse;
border-radius: 2px;
border-spacing: 0;
margin: 0 0 32px 0;
margin: 12px 0 32px;
}
table tbody th {

View File

@ -3,6 +3,7 @@
max-width: 1200px;
table {
margin: 12px 0 24px;
th {
text-transform: none;

View File

@ -30,7 +30,7 @@
}
}
.method-table, .option-table {
.method-table, .option-table, .list-table {
th {
display: flex;
align-items: center;

View File

@ -105,7 +105,7 @@ $api-symbols: (
content: 'T',
background: $light-green-600
),
module: (
package: (
content: 'Pk',
background: $purple-600
)