359 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			359 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| .center {
 | |
|   text-align: center;
 | |
| }
 | |
| 
 | |
| .note {
 | |
|   font-style: italic;
 | |
| }
 | |
| 
 | |
| .text-small {
 | |
|   font-size: 12px;
 | |
| }
 | |
| 
 | |
| .container-xl {
 | |
|   display: flex;
 | |
|   min-height: 75vh;
 | |
|   flex-direction: column;
 | |
| }
 | |
| 
 | |
| code {
 | |
|   background-color: #1d1f31;
 | |
|   font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New;
 | |
| }
 | |
| 
 | |
| .math {
 | |
|   font-family: monospace;
 | |
|   margin-left: 4px;
 | |
|   margin-right: 4px;
 | |
| }
 | |
| 
 | |
| tr {
 | |
|   white-space: inherit;
 | |
| }
 | |
| 
 | |
| .nowrap {
 | |
|   white-space: nowrap;
 | |
| }
 | |
| 
 | |
| li.nav-item {
 | |
|   width: 100%;
 | |
|   @media (min-width: 676px){
 | |
|     width: auto;
 | |
|   }
 | |
| }
 | |
| 
 | |
| ul.no-bull {
 | |
|   list-style: none;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li code {
 | |
|   text-transform: uppercase;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li span {
 | |
|   margin-right: 10px;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li span.block-audit-highlight-color.added {
 | |
|   color: #0099ff;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li span.block-audit-highlight-color.removed {
 | |
|   color: #f344df;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li span.block-audit-highlight-color.recent {
 | |
|   color: #8a3480;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li span.block-audit-highlight-color.marginal {
 | |
|   color: #414127;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li p {
 | |
|   margin-left: 25px;
 | |
|   margin-top: 5px;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit li ul {
 | |
|   margin-left: 15px;
 | |
|   margin-bottom: 15px;
 | |
| }
 | |
| 
 | |
| ul.no-bull.block-audit code{
 | |
|   background-color: inherit;
 | |
| }
 | |
| 
 | |
| .doc-welcome-note {
 | |
|   margin-bottom: 0;
 | |
| }
 | |
| 
 | |
| .api-note {
 | |
|   margin-top: 1rem;
 | |
| }
 | |
| 
 | |
| .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: 300px;
 | |
|   margin-top: -15px;
 | |
| }
 | |
| 
 | |
| #doc-nav-desktop.relative {
 | |
|   float: left;
 | |
|   overflow: hidden;
 | |
| }
 | |
| 
 | |
| #doc-nav-desktop.fixed {
 | |
|   float: unset;
 | |
|   position: fixed;
 | |
|   top: 20px;
 | |
|   overflow-y: auto;
 | |
|   height: calc(100vh - 50px);
 | |
|   scrollbar-color: #2d3348 #11131f;
 | |
|   scrollbar-width: thin;
 | |
| }
 | |
| ::-webkit-scrollbar {
 | |
|   width: 3px;
 | |
| }
 | |
| ::-webkit-scrollbar-track {
 | |
|   background: #11131f;
 | |
| }
 | |
| ::-webkit-scrollbar-thumb {
 | |
|   background-color: #2d3348;
 | |
|   border-radius: 5px;
 | |
|   border: none;
 | |
| }
 | |
| 
 | |
| .doc-content {
 | |
|   width: calc(100% - 330px);
 | |
|   float: right;
 | |
| }
 | |
| 
 | |
| .doc-content.no-sidebar {
 | |
|   width: 100%
 | |
| }
 | |
| 
 | |
| h3 {
 | |
|   margin: 2rem 0 0 0;
 | |
| }
 | |
| 
 | |
| .endpoint-container:before {
 | |
| 	display: block;
 | |
|  	content: " ";
 | |
|   height: 1px;
 | |
|   margin-top: -1px;
 | |
|   visibility: hidden;
 | |
| }
 | |
| 
 | |
| .endpoint-container .section-header {
 | |
|   display: block;
 | |
|   background-color: #2d3348;
 | |
|   color: #1bd8f4;
 | |
|   padding: 1rem 1.3rem 1rem 1.3rem;
 | |
|   font-weight: bold;
 | |
|   border-radius: 0.25rem;
 | |
|   margin: 20px 0 20px 0;
 | |
|   font-size: 24px;
 | |
|   position: relative;
 | |
| }
 | |
| .endpoint-container .section-header:hover {
 | |
|   text-decoration: none;
 | |
| }
 | |
| 
 | |
| .endpoint-container .section-header span {
 | |
|   color: #fff;
 | |
|   background-color: #653b9c;
 | |
|   font-size: 12px;
 | |
|   text-transform: uppercase;
 | |
|   font-weight: 400;
 | |
|   padding: 8px 10px;
 | |
|   letter-spacing: 1px;
 | |
|   border-radius: 0.25rem;
 | |
|   font-family: monospace;
 | |
|   float: right;
 | |
|   white-space: nowrap;
 | |
| }
 | |
| 
 | |
| .endpoint-container .section-header table {
 | |
|   width: 100%;
 | |
| }
 | |
| 
 | |
| .endpoint-container .section-header table td:first-child {
 | |
|   padding-right: 24px;
 | |
| }
 | |
| 
 | |
| #doc-nav-mobile {
 | |
|   position: fixed;
 | |
|   top: 20px;
 | |
|   width: calc(100% - 60px);
 | |
|   z-index: 100;
 | |
| }
 | |
| 
 | |
| #doc-nav-mobile .card-body {
 | |
|   padding: 0 1.25rem 1.25rem 1.25rem;
 | |
| }
 | |
| 
 | |
| #doc-nav-mobile > div {
 | |
|   background-color: #2d3348;
 | |
|   z-index: 100;
 | |
|   border-radius: 0 0 0.5rem 0.5rem;
 | |
|   height: 55vh;
 | |
|   overflow-y: auto;
 | |
| }
 | |
| 
 | |
| #doc-nav-mobile button {
 | |
|   width: 100%;
 | |
|   background-color: #105fb0;
 | |
|   color: #fff;
 | |
|   border-color: #105fb0;
 | |
|   border-radius: 0.5rem 0.5rem 0 0;
 | |
| }
 | |
| 
 | |
| .blockchain-wrapper {
 | |
|   position: relative;
 | |
|   width: 100%;
 | |
|   overflow: auto;
 | |
|   scrollbar-width: none;
 | |
| }
 | |
| .blockchain-wrapper::-webkit-scrollbar {
 | |
|   display: none;
 | |
| }
 | |
| 
 | |
| #disclaimer {
 | |
|   background-color: #1d1f31;
 | |
|   padding: 24px;
 | |
|   margin: 24px 0;
 | |
| }
 | |
| 
 | |
| .disclaimer-warning {
 | |
|   margin-right: 50px;
 | |
| }
 | |
| 
 | |
| #disclaimer p:last-child {
 | |
|   margin-bottom: 0;
 | |
| }
 | |
| 
 | |
| @media (max-width: 992px) {
 | |
| 
 | |
|   h3 {
 | |
|     margin: 1.5rem 0 0 0;
 | |
|   }
 | |
| 
 | |
|   .hide-on-mobile {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   .disclaimer-warning {
 | |
|     display: block;
 | |
|     margin: 2px auto 16px;
 | |
|     text-align: center;
 | |
|   }
 | |
| 
 | |
|   .doc-content {
 | |
|     width: 100%;
 | |
|     float: unset;
 | |
|   }
 | |
| 
 | |
|   .endpoint-container {
 | |
|     position: relative;
 | |
|     overflow: hidden;
 | |
|     height: auto;
 | |
|     transition: 0.5s height ease;
 | |
|   }
 | |
| 
 | |
|   .endpoint-container .section-header {
 | |
|     margin: 0;
 | |
|     font-size: 18px;
 | |
|     z-index: 1;
 | |
|   }
 | |
| 
 | |
|   .endpoint-container .section-header span {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   .endpoint-container:before {
 | |
|     height: 5px;
 | |
|     margin-top: 10px;
 | |
|   }
 | |
| 
 | |
|   .endpoint-container .endpoint-content {
 | |
|     width: 100%;
 | |
|     position: absolute;
 | |
|     top: -10000px;
 | |
|     opacity: 0;
 | |
|     transition: 0.5s opacity ease;
 | |
|   }
 | |
| 
 | |
|   .doc-welcome-note {
 | |
|     font-size: 0.85rem;
 | |
|   }
 | |
| 
 | |
|   #disclaimer table {
 | |
|     display: none;
 | |
|   }
 | |
| }
 | |
| 
 | |
| @media (min-width: 992px) {
 | |
| 
 | |
|   .hide-on-desktop {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   h3 {
 | |
|     display: none;
 | |
|   }
 | |
| 
 | |
|   .doc-item-container:last-of-type .endpoint-container {
 | |
|     margin-bottom: 4rem;
 | |
|   }
 | |
| }
 |