|
| 1 | +.theme-container { |
| 2 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; |
| 3 | +} |
| 4 | + |
| 5 | +pre, pre[class*="language-"] { |
| 6 | + background-color: #2d2d2d; |
| 7 | + color: white; |
| 8 | + line-height: 1.4; |
| 9 | + border-radius: 5px; |
| 10 | + padding: 1.25rem 1.575rem; |
| 11 | + white-space: pre-wrap; |
| 12 | + word-break: break-word; |
| 13 | + overflow: auto; |
| 14 | +} |
| 15 | + |
| 16 | +pre code, pre[class*="language-"] code { |
| 17 | + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; |
| 18 | + font-size: 14px; |
| 19 | + -webkit-font-smoothing: antialiased; |
| 20 | +} |
| 21 | + |
| 22 | +.highlighted-line { |
| 23 | + background-color: #14161a; |
| 24 | + display: block; |
| 25 | + margin: 1px -1.575rem; |
| 26 | + padding: 1px 1.575rem; |
| 27 | +} |
| 28 | + |
| 29 | +/* |
| 30 | + Copied from nprogress since it doens't |
| 31 | + allow programmatic configuration of color |
| 32 | +*/ |
| 33 | + |
| 34 | +/* Make clicks pass-through */ |
| 35 | +#nprogress { |
| 36 | + pointer-events: none; |
| 37 | +} |
| 38 | + |
| 39 | +#nprogress .bar { |
| 40 | + background: #41b883; |
| 41 | + |
| 42 | + position: fixed; |
| 43 | + z-index: 1031; |
| 44 | + top: 0; |
| 45 | + left: 0; |
| 46 | + |
| 47 | + width: 100%; |
| 48 | + height: 2px; |
| 49 | +} |
| 50 | + |
| 51 | +/* Fancy blur effect */ |
| 52 | +#nprogress .peg { |
| 53 | + display: block; |
| 54 | + position: absolute; |
| 55 | + right: 0px; |
| 56 | + width: 100px; |
| 57 | + height: 100%; |
| 58 | + box-shadow: 0 0 10px #41b883, 0 0 5px #41b883; |
| 59 | + opacity: 1.0; |
| 60 | + |
| 61 | + -webkit-transform: rotate(3deg) translate(0px, -4px); |
| 62 | + -ms-transform: rotate(3deg) translate(0px, -4px); |
| 63 | + transform: rotate(3deg) translate(0px, -4px); |
| 64 | +} |
| 65 | + |
| 66 | +/* Remove these to get rid of the spinner */ |
| 67 | +#nprogress .spinner { |
| 68 | + display: block; |
| 69 | + position: fixed; |
| 70 | + z-index: 1031; |
| 71 | + top: 15px; |
| 72 | + right: 15px; |
| 73 | +} |
| 74 | + |
| 75 | +#nprogress .spinner-icon { |
| 76 | + width: 18px; |
| 77 | + height: 18px; |
| 78 | + box-sizing: border-box; |
| 79 | + |
| 80 | + border: solid 2px transparent; |
| 81 | + border-top-color: #41b883; |
| 82 | + border-left-color: #41b883; |
| 83 | + border-radius: 50%; |
| 84 | + |
| 85 | + -webkit-animation: nprogress-spinner 400ms linear infinite; |
| 86 | + animation: nprogress-spinner 400ms linear infinite; |
| 87 | +} |
| 88 | + |
| 89 | +.nprogress-custom-parent { |
| 90 | + overflow: hidden; |
| 91 | + position: relative; |
| 92 | +} |
| 93 | + |
| 94 | +.nprogress-custom-parent #nprogress .spinner, |
| 95 | +.nprogress-custom-parent #nprogress .bar { |
| 96 | + position: absolute; |
| 97 | +} |
| 98 | + |
| 99 | +@-webkit-keyframes nprogress-spinner { |
| 100 | + 0% { -webkit-transform: rotate(0deg); } |
| 101 | + 100% { -webkit-transform: rotate(360deg); } |
| 102 | +} |
| 103 | +@keyframes nprogress-spinner { |
| 104 | + 0% { transform: rotate(0deg); } |
| 105 | + 100% { transform: rotate(360deg); } |
| 106 | +} |
0 commit comments