More actions
No edit summary |
Add margin to left |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
width: 100%; | width: 100%; | ||
max-width: 300px; | max-width: 300px; | ||
margin: 1em auto; | margin: 1em auto 1em 1em; | ||
background: #1e1e1e; | background: #1e1e1e; | ||
border: 1px solid #333; | border: 1px solid #333; | ||
Line 30: | Line 30: | ||
.infobox.infobox-workstation tr:first-child th { | .infobox.infobox-workstation tr:first-child th { | ||
background: linear-gradient(to bottom, #333, # | background: linear-gradient(to bottom, #333, #2a2a2a); | ||
color: #f0f0f0; | |||
font-size: 1.25em; | font-size: 1.25em; | ||
} | } |
Latest revision as of 06:08, 7 July 2025
.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;
}