mempool/frontend/src/app/components/docs/api-docs.component.scss

102 lines
1.3 KiB
SCSS
Raw Normal View History

2020-10-07 23:24:01 +07:00
.text-small {
font-size: 12px;
}
code {
2020-10-07 23:24:01 +07:00
background-color: #1d1f31;
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New;
}
tr {
white-space: inherit;
}
.nowrap {
white-space: nowrap;
}
li.nav-item {
width: 100%;
@media (min-width: 676px){
width: auto;
}
}
.nav-tabs .nav-link.active {
border-bottom: 1px solid #fff;
@media (min-width: 676px){
border-bottom: 1px solid #11131f;
}
}
.code-tab {
width: auto;
margin: 20px auto 10px;
li.nav-item {
width: auto;
}
}
.code {
.tab-content {
padding: 0px;
}
.nav-tabs .nav-link.active {
border-bottom: 1px solid #11131f;
}
.subtitle {
display: flex;
justify-content: space-between;
}
}
.description {
margin-top: 20px;
}
.title {
font-weight: bold;
color: #ffffff;
font-size: 1.25rem;
}
.subtitle {
font-weight: bold;
}
.divider {
width: 100%;
margin: 30px auto;
height: 1px;
background: #333;
}
.difficulty {
padding: 15px;
}
.doc-nav-desktop {
width: 25%;
float: left;
}
.doc-content {
width: 75%;
float: right;
}
@media (max-width: 992px){
.doc-nav-desktop {
display: none;
}
.doc-content {
width: 100%;
}
}
#restAPI .api-category {
margin: 30px 0;
}
.api-category h4 {
margin-bottom: 15px;
}