89 lines
3.8 KiB
CSS
89 lines
3.8 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body { font-family: Arial, Helvetica, sans-serif; font-size: 11pt; color: #e8eaed; background: #1a1d23; min-height: 100vh; }
|
|
|
|
header {
|
|
background: #0d1117; color: #e8eaed;
|
|
padding: 14px 24px; display: flex; align-items: center; gap: 16px;
|
|
border-bottom: 1px solid #30363d; position: sticky; top: 0; z-index: 10;
|
|
}
|
|
header a { color: #58a6ff; font-size: 9.5pt; text-decoration: none; white-space: nowrap; }
|
|
header a:hover { color: #e8eaed; text-decoration: underline; }
|
|
header h1 { font-size: 12pt; font-weight: bold; line-height: 1.3; flex: 1; color: #8b949e; }
|
|
|
|
#loading { text-align: center; padding: 60px 20px; color: #8b949e; }
|
|
#loading code { background: #21262d; padding: 2px 6px; border-radius: 4px; font-size: 10pt; }
|
|
|
|
#contenido {
|
|
max-width: 780px; margin: 32px auto; padding: 0 24px 60px;
|
|
}
|
|
|
|
/* ── Headings ─────────────────────────────────── */
|
|
#contenido h1 {
|
|
font-size: 18pt; color: #58a6ff; border-bottom: 2px solid #1f6feb;
|
|
padding-bottom: 8px; margin: 32px 0 16px;
|
|
}
|
|
#contenido h2 {
|
|
font-size: 14pt; color: #79c0ff; border-bottom: 1px solid #30363d;
|
|
padding-bottom: 6px; margin: 28px 0 12px;
|
|
}
|
|
#contenido h3 {
|
|
font-size: 12pt; color: #a5d6ff; margin: 22px 0 10px;
|
|
}
|
|
#contenido h4, #contenido h5, #contenido h6 {
|
|
font-size: 11pt; color: #cdd9e5; margin: 16px 0 8px;
|
|
}
|
|
|
|
/* ── Párrafos y texto ─────────────────────────── */
|
|
#contenido p { line-height: 1.7; margin-bottom: 12px; color: #cdd9e5; }
|
|
#contenido strong { color: #e8eaed; }
|
|
#contenido em { color: #adbac7; font-style: italic; }
|
|
|
|
/* ── Listas ───────────────────────────────────── */
|
|
#contenido ul, #contenido ol {
|
|
padding-left: 24px; margin-bottom: 12px;
|
|
}
|
|
#contenido li { line-height: 1.7; color: #cdd9e5; margin-bottom: 4px; }
|
|
#contenido li::marker { color: #58a6ff; }
|
|
|
|
/* ── Código ───────────────────────────────────── */
|
|
#contenido code {
|
|
background: #21262d; color: #f0883e; padding: 1px 6px;
|
|
border-radius: 4px; font-family: 'Courier New', monospace; font-size: 9.5pt;
|
|
}
|
|
#contenido pre {
|
|
background: #161b22; border: 1px solid #30363d; border-radius: 6px;
|
|
padding: 16px 20px; overflow-x: auto; margin-bottom: 16px;
|
|
}
|
|
#contenido pre code {
|
|
background: none; color: #e8eaed; padding: 0; font-size: 9.5pt;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* ── Tablas ───────────────────────────────────── */
|
|
#contenido table {
|
|
border-collapse: collapse; width: 100%; margin-bottom: 16px; font-size: 10pt;
|
|
}
|
|
#contenido th {
|
|
background: #1f6feb; color: #fff; padding: 8px 12px; text-align: left;
|
|
border: 1px solid #30363d;
|
|
}
|
|
#contenido td {
|
|
padding: 7px 12px; border: 1px solid #30363d; color: #cdd9e5;
|
|
}
|
|
#contenido tr:nth-child(even) td { background: #161b22; }
|
|
#contenido tr:nth-child(odd) td { background: #1a1d23; }
|
|
|
|
/* ── Blockquote ───────────────────────────────── */
|
|
#contenido blockquote {
|
|
border-left: 4px solid #1f6feb; background: #161b22;
|
|
margin: 12px 0; padding: 10px 16px; border-radius: 0 6px 6px 0;
|
|
color: #8b949e; font-style: italic;
|
|
}
|
|
|
|
/* ── Hr ───────────────────────────────────────── */
|
|
#contenido hr { border: none; border-top: 1px solid #30363d; margin: 24px 0; }
|
|
|
|
/* ── Links ────────────────────────────────────── */
|
|
#contenido a { color: #58a6ff; text-decoration: none; }
|
|
#contenido a:hover { text-decoration: underline; color: #79c0ff; }
|