/* CSS Reset */ *, *::before, *::after { box-sizing: border-box; } * { margin: 0; line-height: calc(1em + 0.5rem); } img, picture, video, canvas, svg { display: block; } input, button, textarea, select { font: inherit; } p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; hyphens: auto; } /* End of Reset */ body { font-family: sans-serif; line-height: 1.6; } h1, h2, h3, h4, h5, h6 { margin-bottom: 0.5em; font-weight: bold; } h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.25em; } p { margin-top: 1em; margin-bottom: 1em; &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0; } } a { color: #007bff; text-decoration: none; &[href^='http']::after { content: ''; display: inline-block; width: 11px; height: 11px; margin-left: 4px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); background-position: center; background-size: contain; } } a:hover { text-decoration: underline; } pre { width: 100%; } pre:has(code) { display: block; margin: 0 0 10px; padding: 9.5px; border: 1px solid #ccc; border-radius: 4px; background-color: whitesmoke; color: #333; font-size: 13px; line-height: 1.4286; min-width: 400px; word-break: break-all; word-wrap: break-word; code { padding: 0; border-radius: 0; background-color: transparent; color: inherit; font-size: inherit; white-space: pre-wrap; } } ul, ol { margin-top: 1em; margin-bottom: 1em; padding-left: 20px; } li { margin-bottom: 0.5em; } table { border-collapse: collapse; width: 100%; } th, td { padding: 8px; border: 1px solid #ddd; text-align: left; } th { background-color: #f0f0f0; } img { max-width: 100%; height: auto; } /* TODO */ blockquote { color: gray; font-size: 1.2rem; font-style: italic; text-align: center; }