mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			87 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| pre {
 | |
|     white-space: pre-wrap;       /* css-3 */
 | |
|     white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 | |
|     white-space: -pre-wrap;      /* Opera 4-6 */
 | |
|     white-space: -o-pre-wrap;    /* Opera 7 */
 | |
|     word-wrap: break-word;
 | |
| }
 | |
| 
 | |
| .wy-table-responsive table td, .wy-table-responsive table th {
 | |
|     white-space: normal;
 | |
| }
 | |
| .rst-content table.docutils td {
 | |
|     vertical-align: top;
 | |
| }
 | |
| 
 | |
| /* links */
 | |
| .rst-content a:not(:visited) {
 | |
|     color: #002fa7;
 | |
| }
 | |
| 
 | |
| .rst-content .highlighted {
 | |
|     background: #eac545;
 | |
| }
 | |
| 
 | |
| /* code block highlights */
 | |
| .rst-content pre {
 | |
|     background: #fafafa;
 | |
| }
 | |
| 
 | |
| .wy-side-nav-search img.logo {
 | |
|     width: 100px !important;
 | |
|     padding: 0;
 | |
| }
 | |
| 
 | |
| .wy-side-nav-search > a {
 | |
|     padding: 0;
 | |
|     margin: 0;
 | |
| }
 | |
| 
 | |
| /* project version (displayed under project logo) */
 | |
| .wy-side-nav-search .version {
 | |
|     color: #272525 !important;
 | |
| }
 | |
| 
 | |
| /* menu section headers */
 | |
| .wy-menu .caption {
 | |
|     color: #65afff !important;
 | |
| }
 | |
| 
 | |
| /* Link to Remix IDE shown next to code snippets */
 | |
| p.remix-link-container {
 | |
|     position: relative;
 | |
|     right: -100%;        /* Positioned next to the the top-right corner of the code block following it. */
 | |
| }
 | |
| 
 | |
| a.remix-link {
 | |
|     position: absolute;  /* Remove it from normal flow not to affect the original position of the snippet. */
 | |
|     top: 0.5em;
 | |
|     width: 3.236em;      /* Size of the margin (= right-side padding in .wy-nav-content in the current theme). */
 | |
| }
 | |
| 
 | |
| a.remix-link .link-icon {
 | |
|     background: url("../img/solid-share-arrow.svg") no-repeat;
 | |
|     display: block;
 | |
|     width: 1.5em;
 | |
|     height: 1.5em;
 | |
|     margin: auto;
 | |
| }
 | |
| 
 | |
| a.remix-link .link-text {
 | |
|     display: none;       /* Visible only on hover. */
 | |
|     width: 3.3em;        /* Narrow enough to get two lines of text. */
 | |
|     margin: auto;
 | |
|     text-align: center;
 | |
|     font-size: 0.8em;
 | |
|     line-height: normal;
 | |
|     color: black;
 | |
| }
 | |
| 
 | |
| a.remix-link:hover {
 | |
|     opacity: 0.5;
 | |
| }
 | |
| 
 | |
| a.remix-link:hover .link-text {
 | |
|     display: block;
 | |
| }
 |