| 1 | .App-header { |
| 2 | background-color: #282c34; |
| 3 | min-height: 10vh; |
| 4 | display: flex; |
| 5 | align-items: center; |
| 6 | justify-content: center; |
| 7 | font-size: calc(10px + 2vmin); |
| 8 | color: white; |
| 9 | } |
| 10 | |
| 11 | .page { |
| 12 | display: flex; |
| 13 | height: 90vh; |
| 14 | } |
| 15 | |
| 16 | .content { |
| 17 | flex: 4; |
| 18 | background-color: #f0f0f0; |
| 19 | padding: 20px; |
| 20 | display: flex; |
| 21 | flex-direction: column; |
| 22 | text-align: left; |
| 23 | } |
| 24 | |
| 25 | .content.highlight { |
| 26 | background-color: yellow; |
| 27 | } |
| 28 | |
| 29 | .sidebar { |
| 30 | flex: 1; |
| 31 | background-color: #d0d0d0; |
| 32 | padding: 20px; |
| 33 | } |
| 34 | |
| 35 | .line-number { |
| 36 | display: inline-block; |
| 37 | width: 30px; |
| 38 | text-align: right; |
| 39 | margin-right: 10px; |
| 40 | color: #888; |
| 41 | } |
| 42 | |
| 43 | .text-symbol { |
| 44 | position: relative; |
| 45 | display: inline-block; |
| 46 | } |
| 47 | |
| 48 | .hovercard { |
| 49 | display: none; |
| 50 | position: absolute; |
| 51 | top: -40px; |
| 52 | left: 0; |
| 53 | background-color: white; |
| 54 | border: 1px solid #ccc; |
| 55 | padding: 5px; |
| 56 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); |
| 57 | z-index: 10; |
| 58 | } |
| 59 | |
| 60 | .text-symbol:hover .hovercard { |
| 61 | display: block; |
| 62 | } |