/* ---- modwiki.net — The Doom 3 Reference Page (restored 2006 snapshot, enhanced) ---- */

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #1a1a1a;
    background: #d7d7d7;          /* soft frame instead of stark white */
    margin: 0;
    padding: 22px 12px;
}

/* center the whole retro layout in a clean card and cap its width */
body > blockquote {
    max-width: 940px;
    margin: 0 auto !important;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 3px 16px rgba(0,0,0,.22);
    overflow-x: auto;            /* never break the page on overflow */
}

/* tame the original fixed-width (900px) retro tables */
table { max-width: 100% !important; border-collapse: separate; }
td    { word-wrap: break-word; overflow-wrap: anywhere; }
img   { max-width: 100%; height: auto; }

/* links — Doom 3 red */
a            { color: #b30000; text-decoration: none; }
a:hover,
a:focus      { color: #ff3a1a; text-decoration: underline; }

/* original typographic classes (kept, lightly refined) */
.text        { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; }
.textBig     { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 30px; letter-spacing: .5px; }
.textMenu    { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
.textCopyright { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; text-align: center; color: #555; }
.textSmall   { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; }

/* long command/cvar reference lists read comfortably */
.textSmall br { line-height: 1.9; }

/* mobile */
@media (max-width: 760px) {
    body { padding: 10px 5px; }
    body > blockquote { padding: 10px 10px; }
    .textBig { font-size: 22px; }
    table { width: 100% !important; }
}
