/* basic rules for fallback */body { font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; margin: 1em; color: #000; background: #fff; } h1, h2, h3, h4, h5, h6 { font-weight: bold; margin: 1em 0 0.5em; } p, ul, ol, blockquote, pre, table { margin: 0.5em 0; } /* Lists */ ul, ol { padding-left: 2em; } li { margin: 0.25em 0; } /* Links */ a { color: blue; text-decoration: underline; } a:hover { color: darkblue; } /* Tables */ table { border-collapse: collapse; width: 100%; margin: 1em 0; } th, td { border: 1px solid #000; padding: 0.5em; text-align: left; } th { background: #eee; } /* Code blocks */ code, pre { font-family: Consolas, monospace; background: #f5f5f5; padding: 2px 4px; border-radius: 3px; } pre { overflow: auto; padding: 0.5em; } /* Blockquote */ blockquote { border-left: 4px solid #ccc; padding-left: 1em; color: #555; margin: 1em 0; } /* Forms */ input, select, textarea, button { font: inherit; padding: 0.4em; margin: 0.25em 0; border: 1px solid #999; border-radius: 3px; } button { background: #eee; cursor: pointer; } button:hover { background: #ddd; } .html-content { margin-left: 1em; } .html-content hr { border: none; height: 1px; background: linear-gradient(to right, transparent, #bbb, transparent); margin: 2em auto; width: 80%; } /* Content container */ .html-content { margin: 0 auto; padding: 0 1em; max-width: 800px; /* keeps text readable */ line-height: 1.6; } /* Headings inside content */ .html-content h1, .html-content h2, .html-content h3, .html-content h4, .html-content h5, .html-content h6 { margin-top: 1em; margin-bottom: 0.75em; line-height: 1.3; } /* Paragraphs & lists */ .html-content p, .html-content ul, .html-content ol, .html-content blockquote, .html-content pre, .html-content table { margin: 1em 0; } /* Links inside content */ .html-content a { color: blue; text-decoration: underline; } .html-content a:hover { color: darkblue; } /* Tables */ .html-content table { border-collapse: collapse; margin: 1.5em auto; max-width: 100%; width: auto; /* shrink to fit content */ min-width: 60%; /* don’t collapse too much */ } .html-content th, .html-content td { border: 1px solid #000; padding: 0.5em 0.75em; } .html-content th { background: #eee; } /* Prevent wide tables/code/images from breaking layout */ .html-content pre, .html-content table, .html-content img { max-width: 100%; overflow-x: auto; } /* Code blocks */ .html-content code, .html-content pre { font-family: Consolas, monospace; background: #f5f5f5; border-radius: 3px; } .html-content pre { padding: 0.75em; margin: 1em 0; } /* Blockquotes */ .html-content blockquote { border-left: 4px solid #ccc; padding-left: 1em; color: #555; margin: 1.5em 0; font-style: italic; } /* Forms */ .html-content input, .html-content select, .html-content textarea, .html-content button { font: inherit; padding: 0.4em; margin: 0.25em 0; border: 1px solid #999; border-radius: 3px; } .html-content button { background: #eee; cursor: pointer; } .html-content button:hover { background: #ddd; } /* HR (as defined earlier) */ .html-content hr { border: none; height: 1px; background: linear-gradient(to right, transparent, #bbb, transparent); /*margin: 2em auto;*/ width: 80%; } /* GFM CSS */ .html-content blockquote.alert { border-left: 4px solid; padding: 0.75em 1em; margin: 1.5em 0; border-radius: 4px; background: #f9f9f9; font-size: 0.95em; } .html-content blockquote.alert p:first-child { font-weight: bold; margin-top: 0; } /* Variants */ .html-content .alert-note { border-color: #0366d6; background: #f0f7ff; color: #0366d6; } .html-content .alert-tip { border-color: #28a745; background: #f0fff4; color: #28a745; } .html-content .alert-important { border-color: #6f42c1; background: #f9f5ff; color: #6f42c1; } .html-content .alert-warning { border-color: #d97706; background: #fffaf0; color: #d97706; } .html-content .alert-caution { border-color: #d73a49; background: #fff5f5; color: #d73a49; } .html-content blockquote.alert p:first-child::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: 0.5em; vertical-align: -0.125em; background-size: contain; background-repeat: no-repeat; background-position: center; } /* INFO */ .html-content .alert-note p:first-child::before { background-image: url("data:image/svg+xml;utf8,\ \ \ "); } /* TIP */ .html-content .alert-tip p:first-child::before { background-image: url("data:image/svg+xml;utf8,\ \ \ "); } /* IMPORTANT */ .html-content .alert-important p:first-child::before { background-image: url("data:image/svg+xml;utf8,\ \ \ "); } /* WARNING */ .html-content .alert-warning p:first-child::before { background-image: url("data:image/svg+xml;utf8,\ \ \ "); } /* CAUTION */ .html-content .alert-caution p:first-child::before { background-image: url("data:image/svg+xml;utf8,\ \ \ "); }