html {
    background: #d6d0b8;
}

body {
    margin: 0;
    color: #111;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 4px),
        #d6d0b8;
}

a {
    color: #003399;
    text-decoration: underline;
}

a:visited {
    color: #551a8b;
}

.top-strip {
    background: #050505;
    border-bottom: 3px solid #7e0000;
    color: #00ff66;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 10px;
}

.top-status {
    float: right;
    color: #f4f4f4;
}

.shell {
    width: 960px;
    max-width: calc(100% - 20px);
    margin: 10px auto 18px;
    border: 2px solid #333;
    background: #f3f0df;
    box-shadow: 4px 4px 0 #8b856b;
}

.masthead {
    padding: 18px 20px;
    border-bottom: 2px solid #333;
    background:
        linear-gradient(90deg, #00245d, #245c91 55%, #f1d078);
    color: #fff;
}

.brand {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 2px 0 #001533;
}

.brand:visited {
    color: #fff;
}

.tagline {
    margin-top: 2px;
    color: #fff3b0;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
}

.sidebar {
    width: 190px;
    padding: 10px;
    vertical-align: top;
    border-right: 2px solid #333;
    background: #d9e3ea;
}

.content {
    padding: 14px 18px 24px;
    vertical-align: top;
    background: #fffdf1;
}

.box {
    margin-bottom: 12px;
    border: 1px solid #444;
    background: #f8f8ef;
}

.box-title {
    padding: 4px 6px;
    border-bottom: 1px solid #444;
    background: #003366;
    color: #fff;
    font-weight: bold;
}

.box a,
.box span,
.box p {
    display: block;
    margin: 0;
    padding: 5px 6px;
}

.box a {
    border-bottom: 1px dotted #a7a7a7;
}

.terminal {
    background: #060606;
    color: #00ff66;
    font-family: "Courier New", Courier, monospace;
}

.terminal .box-title {
    background: #222;
    color: #00ff66;
}

.hero-panel,
.article-head {
    border: 1px solid #777;
    background: #f7f2d8;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.crumb {
    color: #5f5a46;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
}

h1 {
    margin: 4px 0 8px;
    color: #4a0000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
}

h2 {
    margin: 0 0 8px;
    color: #003366;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.lead {
    max-width: 720px;
    margin: 0;
    color: #1d1d1d;
    font-size: 15px;
}

.portal-grid {
    width: 100%;
    margin: 12px 0;
    border-top: 1px solid #888;
    border-left: 1px solid #888;
}

.portal-cell {
    width: 50%;
    padding: 12px;
    vertical-align: top;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
    background: #fdfbf0;
}

.portal-cell.accent {
    background: #e9f0f6;
}

.section-title {
    padding: 5px 8px;
    border: 1px solid #666;
    background: #d7d0a7;
}

.page-list {
    border: 1px solid #888;
    background: #fff;
}

.page-row {
    padding: 10px 12px;
    border-bottom: 1px solid #c7c7c7;
}

.page-row:last-child {
    border-bottom: 0;
}

.page-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: bold;
}

.page-row p {
    margin: 4px 0;
}

.timestamp,
.article-meta,
.muted {
    color: #666;
    font-size: 12px;
}

.wiki-body {
    max-width: 760px;
}

.wiki-body h2,
.wiki-body h3 {
    margin-top: 20px;
    border-bottom: 1px solid #aaa;
}

.wiki-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: #fff;
}

.wiki-body th,
.wiki-body td {
    padding: 6px 8px;
    border: 1px solid #888;
}

.wiki-body th {
    background: #d9e3ea;
}

.wiki-body pre,
.wiki-body code {
    font-family: "Courier New", Courier, monospace;
}

.wiki-body pre {
    overflow-x: auto;
    padding: 10px;
    border: 1px solid #444;
    background: #111;
    color: #00ff66;
}

.footer {
    padding: 7px 10px;
    border-top: 2px solid #333;
    background: #050505;
    color: #ddd;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 720px) {
    .top-status {
        display: block;
        float: none;
    }

    .shell,
    .shell tbody,
    .shell tr,
    .shell td,
    .portal-grid,
    .portal-grid tbody,
    .portal-grid tr,
    .portal-grid td {
        display: block;
        width: auto;
    }

    .sidebar {
        border-right: 0;
        border-bottom: 2px solid #333;
    }

    .brand {
        font-size: 32px;
    }

    h1 {
        font-size: 28px;
    }
}
