Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox station/styles.css

Template page
Revision as of 06:08, 7 July 2025 by JoshuaEpstein (talk | contribs) (Add margin to left)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
.infobox.infobox-workstation {
    width: 100%;
    max-width: 300px;
    margin: 1em auto 1em 1em;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-size: 0.95em;
    color: #ddd;
    overflow: hidden;
    line-height: 1.4;
}

.infobox.infobox-workstation th {
    background-color: #2a2a2a;
    padding: 0.6em;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #f0f0f0;
}

.infobox.infobox-workstation td {
    padding: 0.5em;
    border-top: 1px solid #444;
    vertical-align: top;
    color: #ccc;
}

.infobox.infobox-workstation tr:first-child th {
    background: linear-gradient(to bottom, #333, #2a2a2a);
    color: #f0f0f0;
    font-size: 1.25em;
}

.infobox.infobox-workstation tr:nth-child(even) td {
    background-color: #262626;
}

.infobox.infobox-workstation td[colspan="2"] {
    text-align: center;
}

.infobox.infobox-workstation img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.infobox.infobox-workstation .crafting-caption {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    color: #aaa;
    padding: 0.5em;
    text-align: center;
    background-color: #2b2b2b;
    border-top: 1px solid #444;
}