Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | |
| 3 | @import "colors"; |
| 4 | |
| 5 | /* code data - clickable */ |
| 6 | pre.query { |
| 7 | overflow-x: hidden; |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 8 | color: $darkest-orange; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 9 | background-color: $light-orange; |
Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame^] | 10 | // text-shadow: $light-shadow; |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 11 | border: { |
| 12 | color: $dark-orange; |
| 13 | style: solid; |
| 14 | width: 3px; |
| 15 | radius: 6px; |
| 16 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 17 | white-space: normal; |
| 18 | cursor: pointer; |
| 19 | display: block; |
| 20 | font: { |
| 21 | size: 11pt; |
| 22 | weight: bold; |
| 23 | } |
| 24 | padding: 2pt; |
| 25 | margin: 0; |
| 26 | margin-bottom: 5pt; |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 27 | > code { |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 28 | white-space: pre; |
| 29 | display: block; |
| 30 | padding: 2px 5px; |
| 31 | margin: 0; |
| 32 | } |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 33 | > span { |
| 34 | padding: 2pt; |
| 35 | } |
| 36 | &.serial, &.api { |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 37 | overflow-x: auto; |
| 38 | &:not(.active) { |
| 39 | overflow-x: hidden; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 40 | code { |
| 41 | display: none; |
| 42 | } |
| 43 | } |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 44 | } |
| 45 | } |
| 46 | |
| 47 | pre.query.api { |
| 48 | background-color: $light-blue; |
| 49 | color: $darkest-blue; |
| 50 | border: { |
| 51 | color: $dark-blue; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 52 | } |
| 53 | } |