feat: Doing more polishing (M8b)
This commit is contained in:
@@ -124,3 +124,26 @@
|
||||
to { opacity: 1; transform: translateY(0) rotate(-0.4deg); }
|
||||
}
|
||||
.menu__stamp { max-width: none; white-space: nowrap; }
|
||||
|
||||
/* ---- The rules, rendered from Markdown ---- */
|
||||
.rules {
|
||||
max-height: 56vh;
|
||||
padding: 2px 10px 6px 2px;
|
||||
overflow-y: auto;
|
||||
font-family: var(--font-head);
|
||||
font-size: 15px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.rules:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
||||
.rules h1 { margin: 0 0 8px; font-size: 25px; }
|
||||
.rules h2 { margin: 18px 0 6px; padding-bottom: 2px; border-bottom: 2px solid var(--ink); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
|
||||
.rules h3 { margin: 12px 0 4px; font-size: 16px; font-style: italic; }
|
||||
.rules p { margin: 0 0 8px; }
|
||||
.rules ul, .rules ol { margin: 0 0 8px; padding-left: 20px; }
|
||||
.rules li { margin-bottom: 2px; }
|
||||
.rules code { font-family: var(--font-num); font-size: 0.9em; background: rgba(28, 42, 68, 0.1); padding: 0 3px; }
|
||||
.rules table { width: 100%; margin: 6px 0 12px; border-collapse: collapse; font-size: 13px; }
|
||||
.rules th, .rules td { padding: 3px 6px; border: 1px solid rgba(43, 36, 24, 0.35); text-align: left; vertical-align: top; }
|
||||
.rules th { background: rgba(28, 42, 68, 0.1); font-weight: 700; }
|
||||
.rules blockquote { margin: 8px 0; padding: 4px 10px; border-left: 4px solid var(--ink-red); background: rgba(255, 255, 255, 0.3); font-style: italic; }
|
||||
.rules hr { border: 0; border-top: 1px dashed rgba(43, 36, 24, 0.5); margin: 14px 0; }
|
||||
|
||||
Reference in New Issue
Block a user