Building/styles.css: Difference between revisions
From Project Rebearth
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 123: | Line 123: | ||
.rb-infobox-building a { | .rb-infobox-building a { | ||
color: # | color: #8b4513; | ||
} | } | ||
| Line 216: | Line 216: | ||
margin: 0 0 16px 0; | margin: 0 0 16px 0; | ||
} | } | ||
} | |||
.rb-infobox-building .rb-ib-subtable th a { | |||
color: #e8daa8; | |||
} | |||
.rb-infobox-building .rb-ib-subtable th a:hover { | |||
color: #ebb933; | |||
} | } | ||
Latest revision as of 13:53, 12 February 2026
.rb-infobox-building {
float: right;
clear: right;
width: 300px;
margin: 0 0 16px 20px;
font-size: 0.9rem;
line-height: 1.5;
color: #3e2318;
}
.rb-infobox-building .rb-ib-border {
background-color: #e8daa8;
padding: 3px;
}
.rb-infobox-building .rb-ib-inner {
background-color: #faf4e0;
}
.rb-infobox-building .rb-ib-header {
background-color: #562c1b;
color: #e8daa8;
text-align: center;
padding: 10px 14px;
font-size: 1.15rem;
font-weight: 700;
letter-spacing: 0.5px;
}
.rb-infobox-building .rb-ib-image {
background-color: #562c1b;
text-align: center;
padding: 0 14px 10px;
}
.rb-infobox-building .rb-ib-image img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
.rb-infobox-building .rb-ib-biome-gallery {
background-color: #562c1b;
padding: 0 10px 10px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
}
.rb-infobox-building .rb-ib-biome-item {
text-align: center;
flex: 0 0 calc(50% - 6px);
}
.rb-infobox-building .rb-ib-biome-item img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
.rb-infobox-building .rb-ib-biome-label {
font-size: 0.72rem;
color: #c9b57a;
margin-top: 2px;
font-weight: 600;
letter-spacing: 0.3px;
}
.rb-infobox-building .rb-ib-caption {
background-color: #562c1b;
color: #c9b57a;
text-align: center;
padding: 0 14px 10px;
font-size: 0.82rem;
font-style: italic;
line-height: 1.3;
}
.rb-infobox-building .rb-ib-section {
background-color: #6e3a24;
color: #e8daa8;
padding: 5px 14px;
font-weight: 700;
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.rb-infobox-building .rb-ib-row {
display: flex;
border-bottom: 1px solid #e0d5a6;
}
.rb-infobox-building .rb-ib-row:last-child {
border-bottom: none;
}
.rb-infobox-building .rb-ib-label {
flex: 0 0 100px;
padding: 6px 10px;
font-weight: 700;
color: #562c1b;
background-color: #f0e6c2;
}
.rb-infobox-building .rb-ib-data {
flex: 1;
padding: 6px 10px;
color: #3e2318;
}
.rb-infobox-building .rb-ib-fullrow {
padding: 6px 10px;
border-bottom: 1px solid #e0d5a6;
}
.rb-infobox-building .rb-ib-fullrow:last-child {
border-bottom: none;
}
.rb-infobox-building a {
color: #8b4513;
}
.rb-infobox-building a:hover {
color: #ebb933;
}
.rb-infobox-building .rb-ib-subtable {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
margin: 4px 0;
}
.rb-infobox-building .rb-ib-subtable th {
background-color: #6e3a24;
color: #e8daa8;
padding: 3px 6px;
font-weight: 600;
font-size: 0.78rem;
text-align: center;
}
.rb-infobox-building .rb-ib-subtable td {
padding: 3px 6px;
text-align: center;
border-bottom: 1px solid #e0d5a6;
}
.rb-infobox-building .rb-ib-subtable tr:nth-child(even) td {
background-color: #f5edce;
}
.rb-infobox-building .rb-ib-subtable tr:last-child td {
border-bottom: none;
}
.rb-infobox-building .rb-ib-upgrade {
text-align: center;
padding: 6px 10px;
font-size: 0.88rem;
color: #562c1b;
border-bottom: 1px solid #e0d5a6;
}
.rb-infobox-building .rb-ib-upgrade-arrow {
color: #ebb933;
font-weight: 700;
margin: 0 4px;
}
.rb-infobox-building .rb-ib-footer {
background-color: #562c1b;
color: #c9b57a;
text-align: center;
padding: 5px 14px;
font-size: 0.78rem;
}
.rb-infobox-building .rb-ib-footer a {
color: #e8daa8;
}
.rb-infobox-building .rb-ib-footer a:hover {
color: #ebb933;
}
.rb-infobox-building .rb-ib-pop-positive {
color: #4a7c3f;
font-weight: 700;
}
.rb-infobox-building .rb-ib-pop-negative {
color: #943a2e;
font-weight: 700;
}
.rb-infobox-building .rb-ib-badge {
display: inline-block;
background-color: #562c1b;
color: #e8daa8;
padding: 1px 8px;
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.3px;
}
@media (max-width: 600px) {
.rb-infobox-building {
float: none;
width: 100%;
margin: 0 0 16px 0;
}
}
.rb-infobox-building .rb-ib-subtable th a {
color: #e8daa8;
}
.rb-infobox-building .rb-ib-subtable th a:hover {
color: #ebb933;
}