main.css (3649B)
1 html { 2 scroll-behavior: smooth; 3 font-family: var(--font-text); 4 letter-spacing: 0.025rem; 5 line-height: 1.6; 6 text-rendering: optimizeLegibility; 7 font-size: 16px; 8 } 9 10 body { 11 max-width: 600px; 12 margin: 0 auto; 13 } 14 15 [hidden] { 16 display: none; 17 } 18 19 pre { 20 overflow: auto; 21 padding: 0.5rem; 22 } 23 24 hr { 25 border: 0; 26 height: 0; 27 border-top-width: 1px; 28 border-top-style: solid; 29 } 30 hr.list__subtitle { 31 margin-bottom: 2rem; 32 } 33 34 code { 35 padding: 0.1rem; 36 font-family: var(--font-mono); 37 font-size: 0.9rem; 38 } 39 code.language-bash::before { 40 content: "$ "; 41 } 42 43 h1, h2, h3, h4, h5 { 44 font-family: var(--font-text); 45 line-height: 1.3; 46 position: relative; 47 } 48 h1 a, h2 a, h3 a, h4 a, h5 a { 49 font-family: var(--font-mono); 50 } 51 input { 52 font-family: var(--font-text); 53 font-size: .9rem; 54 } 55 56 h1:not(.header__title) { 57 font-size: 2.2rem; 58 } 59 60 a { 61 text-decoration: none; 62 } 63 a:hover:not(.wm-avatar):not(.no-hover):not(.no-outline):not(.footnote-ref), 64 a#active:not(.no-outline):not(.footnote-ref) { 65 outline-style: solid; 66 outline-width: 0.2rem; 67 } 68 a.button { 69 display: inline-block; 70 padding: 0.3rem 0.7rem; 71 } 72 a#active { 73 cursor: default; 74 } 75 blockquote { 76 margin: inherit auto; 77 margin-left: 0; 78 padding: 0 1em; 79 border-left-style: solid; 80 border-left-width: 2px; 81 } 82 blockquote p { 83 font-size: 0.9rem; 84 } 85 86 time { 87 font-family: var(--font-mono); 88 } 89 time[title] { 90 cursor: help; 91 } 92 93 .view-full-size { 94 position: relative; 95 } 96 .view-full-size svg { 97 position: absolute; 98 width: .9em; 99 height: .9em; 100 } 101 102 .listing__bottom { 103 margin-top: 3rem; 104 } 105 .listing__post { 106 width: 100%; 107 display: inline-block; 108 padding: 0.3rem 0; 109 } 110 .listing__post__title { 111 margin: 0.01rem; 112 } 113 .listing__post__description { 114 margin: 0; 115 margin-top: 0.8em; 116 } 117 118 .main__more { 119 padding: 1em 0 0; 120 margin-bottom: 0; 121 margin-right: 0.3em; 122 text-align: right; 123 } 124 125 .single__micro { 126 margin-top: 4rem; 127 } 128 129 .summary { 130 margin: 1.5em 0; 131 } 132 .summary p { 133 margin: 0em 0 0.4em; 134 } 135 .summary__title { 136 margin-bottom: 0; 137 } 138 139 .pagination { 140 padding: 1em 0; 141 display: flex; 142 } 143 .pagination__left { 144 text-align: left; 145 margin-left: 0.3rem; 146 } 147 .pagination__center { 148 flex: 1; 149 text-align: center; 150 } 151 .pagination__right { 152 text-align: right; 153 margin-right: 0.3rem; 154 } 155 156 .tagitem { 157 font-family: var(--font-mono); 158 margin: 0 0.4rem; 159 } 160 161 .footnotes hr { 162 margin-top: 3rem; 163 margin-bottom: 0.2rem; 164 } 165 .footnotes__text { 166 margin: 0; 167 } 168 169 .footnote-ref::before { 170 content: '['; 171 } 172 .footnote-ref::after { 173 content: ']'; 174 } 175 176 .bottom-hcard-container { 177 margin: 4rem 0 1rem; 178 } 179 .hcard-top { 180 margin: 0 0 0.8rem; 181 font-size: 0.9rem; 182 } 183 .hcard-tags { 184 margin: 0.8rem 0 0.7rem; 185 } 186 .hcard-bottom { 187 margin: 0; 188 font-size: 0.9rem; 189 } 190 191 .wm-form { 192 margin: 1rem 0 2rem; 193 } 194 .wm-form form { 195 display: flex; 196 flex-direction: row; 197 } 198 .wm-form__textfield { 199 padding: .5rem; 200 flex: 1; 201 } 202 .wm-form__button { 203 cursor: pointer; 204 display: inline-block; 205 padding: .5rem .7rem; 206 border-style: solid; 207 border-width: 1px; 208 margin-left: .5rem; 209 } 210 211 .wm-hr { 212 margin-bottom: 0.2rem; 213 } 214 .wm-div { 215 margin-bottom: 3rem; 216 } 217 218 .wm-title { 219 margin: 0 0 0.7rem; 220 } 221 .wm-subtitle { 222 margin: 0.7rem 0 0.3rem; 223 font-size: 0.8rem; 224 } 225 226 a.wm-avatar { 227 width: 2rem; 228 height: 2rem; 229 font-size: 0.6rem; 230 margin-right: 0.4rem; 231 } 232 img.wm-avatar, div.wm-avatar { 233 width: 2rem; 234 height: 2rem; 235 border-radius: 1rem; 236 } 237 div.wm-avatar { 238 font-size: 1rem; 239 display: flex; 240 justify-content: center; 241 align-items: center; 242 border: solid 1px; 243 } 244 245 .wm-reply { 246 margin-bottom: 1rem; 247 padding-left: 1rem; 248 } 249 .wm-reply-head { 250 display: flex; 251 align-items: center; 252 } 253 .wm-reply-content { 254 margin-top: 0.4rem; 255 font-size: 0.9rem; 256 }