Fix formatting in API docs (DOC-112, DOC-113, DOC-142, DOC-143)

This commit is contained in:
ingerjm0 2019-08-22 15:37:34 -07:00
parent 33070b4579
commit 7ffcee35dd

View file

@ -40,9 +40,9 @@ body
letter-spacing: 0.5px; letter-spacing: 0.5px;
} }
#main p { p {
line-height: 24px; font-size: 0.95rem;
margin-bottom: 24px; line-height: 20px;
} }
section section
@ -118,30 +118,17 @@ h5, .container-overview .subsection-title
**************************** Table styles ************************** **************************** Table styles **************************
********************************************************************/ ********************************************************************/
table table {
{
width: 100%;
background-color: #fff;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border: solid #d8e1d9 1px;
border: solid #d8e1d9 1px;
text-align: left;
overflow: auto;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
width: 100%
} }
table > thead { thead {
border-color: #d8e1d9; border-color: #d8e1d9;
background: #d8e1d9; background:#d8e1d9;
font-weight: 400; text-align: left;
}
table th, table td {
padding: 0.5rem;
border-left: 1px solid #d8e1d9;
font-size: .95em;
} }
table tr { table tr {
@ -152,6 +139,23 @@ table tr:nth-child(even) {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
td {
border: solid #c7cccb 1px;
}
article table thead tr th, article table tbody tr td, article table tbody tr td p {
font-size: .89rem;
line-height: 20px;
}
article table thead tr th, article table tbody tr td {
padding: 0.5rem;
}
article table tbody tr td ul li {
font-size: .89rem;
}
/******************************************************************* /*******************************************************************
****************************** Link styles ************************* ****************************** Link styles *************************
********************************************************************/ ********************************************************************/
@ -169,21 +173,15 @@ a, a:hover, a:active, a:visited {
********************************************************************/ ********************************************************************/
article ul { article ul {
margin-bottom: 1.7em; margin-bottom: 1em;
} }
article li { article li {
font-size: .95rem; font-size: .95rem;
line-height: 20px;
padding-bottom: 5px; padding-bottom: 5px;
} }
.readme ul {
font-size: 0.95rem;
line-height: 24px;
margin-bottom: 24px;
}
/******************************************************************* /*******************************************************************
********************** Navigation sidebar styles ******************* ********************** Navigation sidebar styles *******************
********************************************************************/ ********************************************************************/
@ -388,20 +386,16 @@ tt, code, kbd, samp {
font-size: 0.9rem; font-size: 0.9rem;
} }
img { img {
display: block; display: block;
max-width: 100%; max-width: 100%;
margin: auto; margin: auto;
} }
p, ul, ol, blockquote { ul, ol, blockquote {
margin-bottom: 1em; margin-bottom: 1em;
} }
.class-description { .class-description {
font-size: 130%; font-size: 130%;
line-height: 140%; line-height: 140%;
@ -423,7 +417,6 @@ header {
padding: 0px 4px; padding: 0px 4px;
} }
.apiLinks .apiLinks
{ {
display: block; display: block;
@ -529,7 +522,6 @@ header {
.code-caption { .code-caption {
font-style: italic; font-style: italic;
font-size: 107%;
margin: 0; margin: 0;
} }
@ -696,51 +688,6 @@ span.param-type, .params td .param-type, .param-type dd {
z-index: 1; z-index: 1;
} }
/********************************************************************
**************************** Mobile styles **************************
*********************************************************************/
@media only screen and (min-width: 320px) and (max-width: 680px) {
body {
overflow-x: hidden;
}
nav {
background: #FFF;
width: 250px;
height: 100%;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: -250px;
z-index: 3;
padding: 0 10px;
transition: left 0.2s;
}
.navicon-button {
display: inline-block;
position: fixed;
top: 1.5em;
right: 0;
z-index: 2;
}
#main {
width: 100%;
min-width: 360px;
}
#main section {
padding: 0;
}
footer {
margin-left: 0;
}
}
/** Add a '#' to static members */ /** Add a '#' to static members */
[data-type="member"] a::before { [data-type="member"] a::before {
content: '#'; content: '#';