Skip to content

Commit

Permalink
Add margin for blockquote elements
Browse files Browse the repository at this point in the history
fixes: #134
  • Loading branch information
Ankit Kumar committed Aug 4, 2022
1 parent dd8ae90 commit 90e7421
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
28 changes: 18 additions & 10 deletions static/styles/clean-jsdoc-theme-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ blockquote {
font-size: 0.875rem;
padding: 0.0625rem 1.25rem;
border-radius: 1rem;
margin: 0.5rem 0;
}

.details {
Expand Down Expand Up @@ -191,6 +192,7 @@ dt {
.details pre.prettyprint {
margin: 0;
}

/* stylelint-enable */

.details .object-value {
Expand Down Expand Up @@ -307,14 +309,14 @@ td {
font-weight: bold;
}

.params td.description > p:first-child,
.props td.description > p:first-child {
.params td.description>p:first-child,
.props td.description>p:first-child {
margin-top: 0;
padding-top: 0;
}

.params td.description > p:last-child,
.props td.description > p:last-child {
.params td.description>p:last-child,
.props td.description>p:last-child {
margin-bottom: 0;
padding-bottom: 0;
}
Expand Down Expand Up @@ -441,12 +443,12 @@ code {
text-decoration: none;
}

.with-arrow[data-isopen='false'] + .sidebar-section-children-container {
.with-arrow[data-isopen='false']+.sidebar-section-children-container {
height: 0;
overflow: hidden;
}

.with-arrow[data-isopen='true'] + .sidebar-section-children-container {
.with-arrow[data-isopen='true']+.sidebar-section-children-container {
height: auto;
}

Expand Down Expand Up @@ -612,7 +614,7 @@ code {
justify-content: center;
}

.source-page + .footer {
.source-page+.footer {
margin-top: 3rem;
}

Expand Down Expand Up @@ -670,7 +672,7 @@ pre {
width: 1.875rem;
}

.code-copy-icon-container > div {
.code-copy-icon-container>div {
margin-top: 0.25rem;
position: relative;
}
Expand Down Expand Up @@ -859,6 +861,10 @@ pre {
overflow: auto;
}

.tag-default {
overflow: auto
}

/* scroll bar */
::-webkit-scrollbar {
width: 0.3125rem;
Expand Down Expand Up @@ -921,13 +927,15 @@ pre {
.search-result-c {
max-height: 25rem;
}

.mobile-menu-icon-container {
display: block;
}

.sidebar-container {
display: none;
}

.search-container .wrapper {
margin-left: 1rem;
}
Expand All @@ -941,12 +949,12 @@ pre {
display: none;
}

.source-page + .footer,
.source-page+.footer,
.footer {
margin-top: 2rem;
}

.has-anchor:hover .link-anchor {
visibility: hidden;
}
}
}
Loading

0 comments on commit 90e7421

Please sign in to comment.