|
| 1 | +.site-header { |
| 2 | + border-bottom: 1px solid rgba(23, 26, 31, 0.08); |
| 3 | +} |
| 4 | + |
| 5 | +.site-title { |
| 6 | + display: inline-flex; |
| 7 | + align-items: center; |
| 8 | + font-weight: 700; |
| 9 | + font-size: 1.2rem; |
| 10 | + letter-spacing: 0.01em; |
| 11 | + color: #171a1f !important; |
| 12 | +} |
| 13 | + |
| 14 | +.site-title:hover { |
| 15 | + text-decoration: none; |
| 16 | +} |
| 17 | + |
| 18 | +.aux-nav .aux-nav-list-item a[href*="github.com"] { |
| 19 | + display: inline-flex; |
| 20 | + align-items: center; |
| 21 | + gap: 0.45rem; |
| 22 | +} |
| 23 | + |
| 24 | +.aux-nav .aux-nav-list-item a[href*="github.com"]::before { |
| 25 | + content: ""; |
| 26 | + width: 0.95rem; |
| 27 | + height: 0.95rem; |
| 28 | + flex: 0 0 0.95rem; |
| 29 | + background-color: currentColor; |
| 30 | + opacity: 0.82; |
| 31 | + -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.64 7.64 0 0 1 8 4.77c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E"); |
| 32 | + mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.64 7.64 0 0 1 8 4.77c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E"); |
| 33 | + -webkit-mask-repeat: no-repeat; |
| 34 | + mask-repeat: no-repeat; |
| 35 | + -webkit-mask-position: center; |
| 36 | + mask-position: center; |
| 37 | + -webkit-mask-size: contain; |
| 38 | + mask-size: contain; |
| 39 | +} |
| 40 | + |
| 41 | +.side-bar { |
| 42 | + background: |
| 43 | + radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 24%), |
| 44 | + radial-gradient(circle at bottom right, rgba(17, 24, 39, 0.05), transparent 28%), |
| 45 | + $sidebar-color; |
| 46 | +} |
| 47 | + |
| 48 | +.main-content a { |
| 49 | + color: #41586f; |
| 50 | + text-decoration-thickness: 0.08em; |
| 51 | + text-underline-offset: 0.15em; |
| 52 | +} |
| 53 | + |
| 54 | +.main-content :not(pre) > code { |
| 55 | + border-radius: 0.35rem; |
| 56 | + padding: 0.12em 0.35em; |
| 57 | + color: #25303d; |
| 58 | + background: #eceff2; |
| 59 | + border: 1px solid rgba(37, 48, 61, 0.08); |
| 60 | +} |
| 61 | + |
| 62 | +.main-content pre.highlight, |
| 63 | +.main-content div.highlighter-rouge { |
| 64 | + overflow: hidden; |
| 65 | + border: 1px solid rgba(17, 24, 39, 0.12); |
| 66 | + border-radius: 1rem; |
| 67 | + background: #111827; |
| 68 | + box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14); |
| 69 | +} |
| 70 | + |
| 71 | +.main-content pre, |
| 72 | +.main-content pre.highlight code, |
| 73 | +.main-content div.highlighter-rouge pre, |
| 74 | +.main-content div.highlighter-rouge code, |
| 75 | +.main-content .highlight { |
| 76 | + color: #e5e7eb; |
| 77 | + background: #111827; |
| 78 | +} |
| 79 | + |
| 80 | +.main-content pre { |
| 81 | + padding: 1rem 1.15rem; |
| 82 | + line-height: 1.6; |
| 83 | +} |
| 84 | + |
| 85 | +.main-content .highlight .w { |
| 86 | + color: #e5e7eb; |
| 87 | +} |
| 88 | + |
| 89 | +.main-content .highlight .c, |
| 90 | +.main-content .highlight .cm, |
| 91 | +.main-content .highlight .c1, |
| 92 | +.main-content .highlight .cs { |
| 93 | + color: #94a3b8; |
| 94 | + font-style: italic; |
| 95 | +} |
| 96 | + |
| 97 | +.main-content .highlight .k, |
| 98 | +.main-content .highlight .kd, |
| 99 | +.main-content .highlight .kn, |
| 100 | +.main-content .highlight .kp, |
| 101 | +.main-content .highlight .kr, |
| 102 | +.main-content .highlight .kt { |
| 103 | + color: #c4b5fd; |
| 104 | +} |
| 105 | + |
| 106 | +.main-content .highlight .s, |
| 107 | +.main-content .highlight .sa, |
| 108 | +.main-content .highlight .sb, |
| 109 | +.main-content .highlight .sc, |
| 110 | +.main-content .highlight .dl, |
| 111 | +.main-content .highlight .sd, |
| 112 | +.main-content .highlight .s2 { |
| 113 | + color: #a7f3d0; |
| 114 | +} |
| 115 | + |
| 116 | +.main-content .highlight .mi, |
| 117 | +.main-content .highlight .mf, |
| 118 | +.main-content .highlight .mh, |
| 119 | +.main-content .highlight .il, |
| 120 | +.main-content .highlight .mo { |
| 121 | + color: #f9d58b; |
| 122 | +} |
| 123 | + |
| 124 | +.main-content .highlight .na, |
| 125 | +.main-content .highlight .nc, |
| 126 | +.main-content .highlight .nd, |
| 127 | +.main-content .highlight .nf, |
| 128 | +.main-content .highlight .ne, |
| 129 | +.main-content .highlight .nn, |
| 130 | +.main-content .highlight .nt { |
| 131 | + color: #93c5fd; |
| 132 | +} |
| 133 | + |
| 134 | +.main-content .highlight .o, |
| 135 | +.main-content .highlight .ow, |
| 136 | +.main-content .highlight .p { |
| 137 | + color: #cbd5e1; |
| 138 | +} |
| 139 | + |
| 140 | +.main-content blockquote { |
| 141 | + border-left: 4px solid #6b7280; |
| 142 | + background: rgba(107, 114, 128, 0.08); |
| 143 | +} |
| 144 | + |
| 145 | +.home-grid { |
| 146 | + display: grid; |
| 147 | + gap: 1rem; |
| 148 | + margin: 2rem 0; |
| 149 | +} |
| 150 | + |
| 151 | +.home-card { |
| 152 | + padding: 1.1rem 1.15rem; |
| 153 | + border: 1px solid rgba(17, 24, 39, 0.08); |
| 154 | + border-radius: 1rem; |
| 155 | + background: rgba(255, 255, 255, 0.92); |
| 156 | +} |
| 157 | + |
| 158 | +.home-card h3, |
| 159 | +.home-card h4 { |
| 160 | + margin-top: 0; |
| 161 | + margin-bottom: 0.45rem; |
| 162 | +} |
| 163 | + |
| 164 | +.home-card p:last-child { |
| 165 | + margin-bottom: 0; |
| 166 | +} |
| 167 | + |
| 168 | +.home-banner { |
| 169 | + margin: 1.5rem 0 0; |
| 170 | + border-radius: 1rem; |
| 171 | + overflow: hidden; |
| 172 | +} |
| 173 | + |
| 174 | +.home-banner img { |
| 175 | + display: block; |
| 176 | + width: 100%; |
| 177 | +} |
| 178 | + |
| 179 | +@media (min-width: 50rem) { |
| 180 | + .home-grid { |
| 181 | + grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 182 | + } |
| 183 | +} |
0 commit comments