|
3 | 3 | </script> |
4 | 4 |
|
5 | 5 | <style global lang='scss'> |
| 6 | + *, |
| 7 | + *::before, |
| 8 | + *::after { |
| 9 | + -webkit-touch-callout: none; |
| 10 | + -webkit-user-select: none; |
| 11 | + user-select: none; |
| 12 | + padding: 0; |
| 13 | + margin: 0; |
| 14 | + box-sizing: border-box; |
| 15 | + } |
| 16 | +
|
| 17 | + html, |
6 | 18 | body { |
| 19 | + background: var(--bg, #263238); |
| 20 | + transition: all .5s; |
7 | 21 | margin: 0; |
8 | | - padding: 0; |
| 22 | + height: 100%; |
| 23 | + width: 100%; |
9 | 24 | min-width: 1024px; |
10 | 25 | min-height: 800px; |
11 | | - background: var(--bg, #263238); |
| 26 | + font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; |
| 27 | + font-size: 14px; |
| 28 | + line-height: 1.5; |
| 29 | + color: var(--fg); |
| 30 | + } |
| 31 | +
|
| 32 | + h1, h2, h3, h4, h5, h6 { |
| 33 | + margin: 0 0 0.5em 0; |
| 34 | + font-weight: 400; |
| 35 | + line-height: 1.2; |
| 36 | + } |
| 37 | +
|
| 38 | + h1 { |
| 39 | + font-size: 2em; |
| 40 | + } |
| 41 | +
|
| 42 | + a { |
| 43 | + color: var(--links); |
| 44 | + } |
| 45 | +
|
| 46 | + code { |
| 47 | + font-family: var(--font-family, menlo, inconsolata, monospace); |
| 48 | + font-size: var(--font-size, calc(1em - 2px)); |
| 49 | + } |
| 50 | +
|
| 51 | + @media (min-width: 400px) { |
| 52 | + body { |
| 53 | + font-size: 16px; |
| 54 | + } |
| 55 | + } |
| 56 | +
|
| 57 | + *::-webkit-scrollbar { |
| 58 | + width: 6px; |
| 59 | + } |
| 60 | +
|
| 61 | + /* Track */ |
| 62 | + *::-webkit-scrollbar-track { |
| 63 | + background: var(--bg); |
| 64 | + border-radius: 10px; |
| 65 | + } |
| 66 | +
|
| 67 | + /* Handle */ |
| 68 | + *::-webkit-scrollbar-thumb { |
| 69 | + background: var(--accent); |
| 70 | + border-radius: 10px; |
| 71 | + } |
| 72 | +
|
| 73 | + /* Handle on hover */ |
| 74 | + *::-webkit-scrollbar-thumb:hover { |
| 75 | + background: var(--accent); |
| 76 | + } |
| 77 | +
|
| 78 | + input { |
| 79 | + background-color: var(--contrast); |
| 80 | + color: var(--text); |
| 81 | + transition: all .5s; |
| 82 | + } |
| 83 | +
|
| 84 | + .comment { |
| 85 | + color: var(--comments); |
| 86 | + transition: color .5s; |
| 87 | + } |
| 88 | +
|
| 89 | + .keyword { |
| 90 | + color: var(--keywords); |
| 91 | + transition: color .5s; |
| 92 | + } |
| 93 | +
|
| 94 | + .function { |
| 95 | + color: var(--functions); |
| 96 | + transition: color .5s; |
| 97 | + } |
| 98 | +
|
| 99 | + .punctuation { |
| 100 | + color: var(--operators); |
| 101 | + transition: color .5s; |
| 102 | + } |
| 103 | +
|
| 104 | + .string, |
| 105 | + .attr-value { |
| 106 | + color: var(--strings); |
| 107 | + transition: color .5s; |
| 108 | + } |
| 109 | +
|
| 110 | + .parameter { |
| 111 | + color: var(--parameters); |
| 112 | + transition: color .5s; |
| 113 | + } |
| 114 | +
|
| 115 | + .number { |
| 116 | + color: var(--numbers); |
| 117 | + transition: color .5s; |
| 118 | + } |
| 119 | +
|
| 120 | + .attr-name { |
| 121 | + color: var(--attributes); |
| 122 | + transition: color .5s; |
| 123 | + } |
| 124 | +
|
| 125 | + .tag { |
| 126 | + color: var(--tags); |
| 127 | + transition: color .5s; |
| 128 | + } |
| 129 | +
|
| 130 | + #__plasmo { |
| 131 | + width: 100vw; |
| 132 | + height: 100vh; |
| 133 | + position: relative; |
| 134 | + display: flex; |
| 135 | + flex-direction: column; |
| 136 | + justify-content: flex-start; |
| 137 | + align-items: center; |
12 | 138 | } |
13 | 139 | </style> |
14 | 140 |
|
|
0 commit comments